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
@@ -2,6 +2,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <ntlite/status.h>
|
||||
#include <ntlite/syscall.h>
|
||||
@@ -155,13 +156,20 @@ typedef struct NTL_POSIX_SHARED_OPEN_DESCRIPTION {
|
||||
uint32_t Type;
|
||||
uint32_t Reserved;
|
||||
uint64_t DescriptionId;
|
||||
volatile long StatusFlags;
|
||||
volatile uint32_t StatusFlags;
|
||||
uint32_t Reserved2;
|
||||
// Optional server-owned userspace data-plane pointer. Pipe endpoint
|
||||
// descriptions use this for SYS_PIPE_SHARED_STATE; other types leave it zero.
|
||||
uint64_t SharedObjectData;
|
||||
} NTL_POSIX_SHARED_OPEN_DESCRIPTION;
|
||||
|
||||
_Static_assert(offsetof(NTL_POSIX_SHARED_OPEN_DESCRIPTION, StatusFlags) == 24u,
|
||||
"NTL_POSIX_SHARED_OPEN_DESCRIPTION status layout changed");
|
||||
_Static_assert(offsetof(NTL_POSIX_SHARED_OPEN_DESCRIPTION, SharedObjectData) == 32u,
|
||||
"NTL_POSIX_SHARED_OPEN_DESCRIPTION data layout changed");
|
||||
_Static_assert(sizeof(NTL_POSIX_SHARED_OPEN_DESCRIPTION) == 40u,
|
||||
"NTL_POSIX_SHARED_OPEN_DESCRIPTION ABI size changed");
|
||||
|
||||
// Server-owned spawn/exec builders place this opaque personality payload
|
||||
// in the generic userspace process-loader startup data. Zero token/PID/generation
|
||||
// means an ordinary process is self-registering for the first time.
|
||||
|
||||
Reference in new issue
Block a user