Skip to content

Commit b01fc3d

Browse files
author
Sir Richard
committed
[NTOS]: Move all the Nt*Section API interfaces into ARM3 and rewrite most of the code to perform the same parameter validation and input checks as Windows does. Support all protection masks. Use correct section object access mask. Use appropriate SEH where needed. Pass 0-initialized local instead of NULL when needed. Don't assume certain parameters are OPTIONAL when they are not. Don't return SEH failures at the end of the system call, the kernel usually returns the result of the system call proper. Call DbgkMapViewOfSection in scenarios where it would not have gotten called before. Protect against certain kinds of kernel-mode access from user-mode.
[NTOS]: Move unimplemented Mm*Section APIs into ARM3 as well. svn path=/trunk/; revision=48959
1 parent 706c5f3 commit b01fc3d

File tree

4 files changed

+681
-534
lines changed

4 files changed

+681
-534
lines changed

reactos/ntoskrnl/mm/ARM3/miarm.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ C_ASSERT(SYSTEM_PD_SIZE == PAGE_SIZE);
110110
#define MM_NOCACHE 8
111111
#define MM_DECOMMIT 0x10
112112
#define MM_NOACCESS (MM_DECOMMIT | MM_NOCACHE)
113+
#define MM_INVALID_PROTECTION 0xFFFFFFFF
113114

114115
//
115116
// Specific PTE Definitions that map to the Memory Manager's Protection Mask Bits

0 commit comments

Comments
 (0)