mirror of
https://github.com/reactos/reactos.git
synced 2024-09-22 10:37:10 +00:00
e2b7eacdd5
Sync trunk up to r50477. svn path=/branches/cmake-bringup/; revision=50504
27 lines
397 B
C
27 lines
397 B
C
#pragma once
|
|
|
|
#include "hardware.h"
|
|
|
|
typedef struct _MEM_ENTRY
|
|
{
|
|
UCHAR InUse:1;
|
|
UCHAR Blocks:7;
|
|
} MEM_ENTRY, *PMEM_ENTRY;
|
|
|
|
typedef struct _MEM_HEADER
|
|
{
|
|
UCHAR IsFull;
|
|
MEM_ENTRY Entry[124];
|
|
UCHAR Reserved[3];
|
|
} MEM_HEADER, *PMEM_HEADER;
|
|
|
|
VOID
|
|
DumpPages();
|
|
|
|
ULONG
|
|
AllocateMemory(PEHCI_HOST_CONTROLLER hcd, ULONG Size, ULONG *PhysicalAddress);
|
|
|
|
VOID
|
|
ReleaseMemory(ULONG Address);
|
|
|