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
@@ -3,6 +3,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <ntlite/status.h>
|
||||
#include <ntlite/ddk/list.h>
|
||||
#include <ntlite/ddk/object.h>
|
||||
@@ -17,13 +18,13 @@ typedef struct EVENT {
|
||||
OBJECT Header;
|
||||
SPINLOCK Lock;
|
||||
EVENT_TYPE Type;
|
||||
uint32_t Signaled;
|
||||
bool Signaled;
|
||||
LIST_ENTRY WaitList;
|
||||
LIST_ENTRY MultiWaitList;
|
||||
} EVENT;
|
||||
|
||||
// Creates an event object.
|
||||
__declspec(dllexport) KSTATUS KeEventCreate(EVENT_TYPE type, uint32_t initialState, EVENT** out);
|
||||
__declspec(dllexport) KSTATUS KeEventCreate(EVENT_TYPE type, bool initialState, EVENT** out);
|
||||
|
||||
// Signals an event.
|
||||
__declspec(dllexport) void KeSignalEvent(EVENT* event);
|
||||
@@ -32,7 +33,7 @@ __declspec(dllexport) void KeSignalEvent(EVENT* event);
|
||||
__declspec(dllexport) void KeClearEvent(EVENT* event);
|
||||
|
||||
// Waits for an event.
|
||||
__declspec(dllexport) KSTATUS KeWaitForEvent(EVENT* event, uint8_t alertable);
|
||||
__declspec(dllexport) KSTATUS KeWaitForEvent(EVENT* event, bool alertable);
|
||||
|
||||
// Attempts to wait for an event without blocking.
|
||||
__declspec(dllexport) KSTATUS KeTryWaitEvent(EVENT* event);
|
||||
@@ -40,6 +41,6 @@ __declspec(dllexport) KSTATUS KeTryWaitEvent(EVENT* event);
|
||||
// Waits for one of several events.
|
||||
__declspec(dllexport) KSTATUS KeWaitForMultipleEvents(EVENT** events,
|
||||
uint32_t count,
|
||||
uint8_t alertable,
|
||||
bool alertable,
|
||||
uint64_t timeoutMs,
|
||||
uint32_t* signaledIndexOut);
|
||||
Reference in new issue
Block a user