mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
16e0cca7e1
[NDK]: Document latest RTL_BSD_DATA as of RS3 based on ext.dll WinDBG extension "!blackboxbsd" which outputs the entire structure field by field :). [NDK]: Update RTL_BSD_ITEM_TYPE thanks to ole32 symbols [RTL]: Move system volume APIs to sysvol.c [RTL]: Fill out BsdItemTable based on actual field offsets/sizes and not hardcoded magic numbers which we won't ask where they came from. [RTL]: Make RtlCreateBootStatusDataFile use an appropriate structure for initializing the buffer instead of "UCHAR Buffer[12] = {0xC,0,0,0, 1,0,0,0, 1, 0x1e, 1, 0};" which appears like magic knowledge. [RTL]: Rename "WriteMode" to "Read" in RtlGetSetBootStatusData since it's much less confusing. [RTL]: Some formatting fixes, SAL updates. |
||
---|---|---|
.. | ||
amd64 | ||
arm | ||
i386 | ||
powerpc | ||
access.c | ||
acl.c | ||
actctx.c | ||
appverifier.c | ||
assert.c | ||
atom.c | ||
avlsupp.c | ||
avltable.c | ||
bitmap.c | ||
bitmap64.c | ||
bootdata.c | ||
byteswap.c | ||
CMakeLists.txt | ||
compress.c | ||
crc32.c | ||
critical.c | ||
dbgbuffer.c | ||
debug.c | ||
dos8dot3.c | ||
encode.c | ||
env.c | ||
error.c | ||
exception.c | ||
generictable.c | ||
handle.c | ||
heap.c | ||
heap.h | ||
heapdbg.c | ||
heappage.c | ||
heapuser.c | ||
image.c | ||
interlck.c | ||
largeint.c | ||
luid.c | ||
mem.c | ||
memstream.c | ||
message.c | ||
network.c | ||
nls.c | ||
path.c | ||
ppb.c | ||
prefix.c | ||
priv.c | ||
process.c | ||
propvar.c | ||
random.c | ||
rangelist.c | ||
readme.txt | ||
registry.c | ||
res.c | ||
resource.c | ||
rtl.h | ||
rtlavl.h | ||
rtlp.h | ||
rxact.c | ||
sd.c | ||
security.c | ||
sid.c | ||
slist.c | ||
splaytree.c | ||
sysvol.c | ||
thread.c | ||
time.c | ||
timerqueue.c | ||
timezone.c | ||
trace.c | ||
unicode.c | ||
unicodeprefix.c | ||
vectoreh.c | ||
version.c | ||
wait.c | ||
workitem.c |
RTL restrictions: ExAllocatePool (and friends) must be used exclusively. RtlAllocateHeap (and friends) must NOT be used! ExAllocatePool (and friends) translate to RtlAllocateHeap (and friends) in ntdll\rtl\libsupp.c. RtlEnterCriticalSection (and friends) must be used exclusively. ExAcquireFastMutex (and friends) must NOT be used! RtlEnterCriticalSection (and friends) translate to ExAcquireFastMutex (and friends) in ntoskrnl\rtl\libsupp.c. This means that RtlEnterCriticalSection (and friends) can NOT be used recursively in RTL. The reason for choosing RtlEnterCriticalSection (and friends) over ExAcquireFastMutex (and friends) is that the FAST_MUTEX struct is smaller than the RTL_CRITICAL_SECTION struct.