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
@@ -1,5 +1,6 @@
|
||||
// Trap-frame tracking. This file owns current-thread trap snapshots and validation for user diagnostics.
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
#include <kernel/ke_trap.h>
|
||||
@@ -45,8 +46,8 @@ STATIC_ASSERT_OFFSET(KTRAP_FRAME, PreviousFrame, 224);
|
||||
_Static_assert(sizeof(KTRAP_FRAME) == 240, "KTRAP_FRAME size must match ke_syscall.asm");
|
||||
|
||||
// Implements the trap Frame From User operation.
|
||||
int KeTrapFrameFromUser(const KTRAP_FRAME* frame) {
|
||||
if (!frame || frame->Magic != KTRAP_FRAME_MAGIC) return 0;
|
||||
bool KeTrapFrameFromUser(const KTRAP_FRAME* frame) {
|
||||
if (!frame || frame->Magic != KTRAP_FRAME_MAGIC) return false;
|
||||
return (frame->Cs & 3u) == 3u;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user