reactos/drivers/usb/usbehci/physmem.h
Amine Khaldi b5250fa114 [CMAKE]
* Sync with trunk r51339.
* Move the static lib creation command from the toolchain file to gcc.cmake

svn path=/branches/cmake-bringup/; revision=51340
2011-04-14 12:50:32 +00:00

25 lines
427 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(VOID);
ULONG
AllocateMemory(PEHCI_HOST_CONTROLLER hcd, ULONG Size, ULONG *PhysicalAddress);
VOID
ReleaseMemory(PEHCI_HOST_CONTROLLER hcd, ULONG Address);