Moved B_KERNEL_{READ|WRITE_AREA} from vm_types.h to KernelExport.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10425 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -126,6 +126,10 @@ extern long get_memory_map(const void *buffer, ulong size,
|
|||||||
/* address specifications for mapping physical memory */
|
/* address specifications for mapping physical memory */
|
||||||
#define B_ANY_KERNEL_BLOCK_ADDRESS (B_ANY_KERNEL_ADDRESS + 1)
|
#define B_ANY_KERNEL_BLOCK_ADDRESS (B_ANY_KERNEL_ADDRESS + 1)
|
||||||
|
|
||||||
|
/* area protection flags for the kernel */
|
||||||
|
#define B_KERNEL_READ_AREA 16
|
||||||
|
#define B_KERNEL_WRITE_AREA 32
|
||||||
|
|
||||||
/* call to map physical memory - typically used for memory-mapped i/o */
|
/* call to map physical memory - typically used for memory-mapped i/o */
|
||||||
|
|
||||||
extern area_id map_physical_memory(const char *areaName, void *physicalAddress,
|
extern area_id map_physical_memory(const char *areaName, void *physicalAddress,
|
||||||
|
|||||||
Reference in New Issue
Block a user