projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[CMAKE]
[reactos.git]
/
drivers
/
usb
/
usbehci
/
physmem.h
1
#pragma once
2
3
#include
"hardware.h"
4
5
typedef
struct
_MEM_ENTRY
6
{
7
UCHAR InUse
:
1
;
8
UCHAR Blocks
:
7
;
9
}
MEM_ENTRY
, *
PMEM_ENTRY
;
10
11
typedef
struct
_MEM_HEADER
12
{
13
UCHAR IsFull
;
14
MEM_ENTRY Entry
[
124
];
15
UCHAR Reserved
[
3
];
16
}
MEM_HEADER
, *
PMEM_HEADER
;
17
18
VOID
19
DumpPages
();
20
21
ULONG
22
AllocateMemory
(
PEHCI_HOST_CONTROLLER hcd
,
ULONG Size
,
ULONG
*
PhysicalAddress
);
23
24
VOID
25
ReleaseMemory
(
ULONG Address
);
26