clean up and standardize types across the codebase, unify atomic operations, improve UTF-8 handling throughout the system, remove obsolete input and named queue interfaces, redesign process preparation and creation, tighten IPC and service boundaries, improve error handling and reliability, minor documentation cleanup, fix doom surfaces, fix panic in ini parsing.
This commit is contained in:
1 parent
899225f551
commit
c0ad63c27f
226 files changed
+6562
-4147
No files matched your search
@@ -86,7 +86,7 @@ static void fail(const char* msg) {
|
||||
}
|
||||
|
||||
// Fails the test with one status value.
|
||||
static void fail_status(const char* what, uint32_t status) {
|
||||
static void fail_status(const char* what, KSTATUS status) {
|
||||
print("would_block_smoke: ");
|
||||
print(what);
|
||||
print(" status=");
|
||||
@@ -144,7 +144,7 @@ static void fill_until_would_block(uint32_t queue) {
|
||||
// Verifies queue try and finite-timeout status distinctions.
|
||||
static void test_queue_empty_and_full(void) {
|
||||
uint32_t queue = 0;
|
||||
uint32_t s = SysCreateQueue(&queue);
|
||||
KSTATUS s = SysCreateQueue(&queue);
|
||||
if (s != NTLSTATUS_SUCCESS) fail_status("create empty queue", s);
|
||||
|
||||
TEST_QUEUE_MESSAGE msg = {0};
|
||||
@@ -165,7 +165,7 @@ static void test_queue_empty_and_full(void) {
|
||||
// Verifies that an infinite receive composes with a sender wakeup.
|
||||
static void test_queue_infinite_receive_wakeup(void) {
|
||||
uint32_t queue = 0;
|
||||
uint32_t s = SysCreateQueue(&queue);
|
||||
KSTATUS s = SysCreateQueue(&queue);
|
||||
if (s != NTLSTATUS_SUCCESS) fail_status("create wake queue", s);
|
||||
|
||||
TEST_SENDER_CONTEXT ctx = { queue, NTLSTATUS_PENDING };
|
||||
@@ -199,7 +199,7 @@ static void test_queue_infinite_receive_wakeup(void) {
|
||||
// Verifies that request metadata is part of the queue ABI contract.
|
||||
static void test_queue_request_validation(void) {
|
||||
uint32_t queue = 0;
|
||||
uint32_t s = SysCreateQueue(&queue);
|
||||
KSTATUS s = SysCreateQueue(&queue);
|
||||
if (s != NTLSTATUS_SUCCESS) fail_status("create validation queue", s);
|
||||
|
||||
TEST_QUEUE_MESSAGE msg = {0};
|
||||
|
||||
Reference in new issue
Block a user