diff options
author | Richard Braun <rbraun@sceen.net> | 2012-10-10 21:18:28 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2012-10-10 21:18:28 +0200 |
commit | d754647055848c8d575e96d09cdba9e16b8f27ba (patch) | |
tree | dc5094de4fc94df137cda5d745fedbd15319e51d /vm/vm_phys.h | |
parent | 8eadbf1e9f3530fa7b0f93caf572d96a50891445 (diff) |
Rename vm_phys_t to phys_addr_t
Diffstat (limited to 'vm/vm_phys.h')
-rw-r--r-- | vm/vm_phys.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vm/vm_phys.h b/vm/vm_phys.h index a5a7d32f..aff124a0 100644 --- a/vm/vm_phys.h +++ b/vm/vm_phys.h @@ -36,8 +36,8 @@ extern int vm_phys_ready; * The avail_start and avail_end parameters are used to maintain a simple * heap for bootstrap allocations. */ -void vm_phys_load(const char *name, vm_phys_t start, vm_phys_t end, - vm_phys_t avail_start, vm_phys_t avail_end, +void vm_phys_load(const char *name, phys_addr_t start, phys_addr_t end, + phys_addr_t avail_start, phys_addr_t avail_end, unsigned int seglist_prio); /* @@ -46,7 +46,7 @@ void vm_phys_load(const char *name, vm_phys_t start, vm_phys_t end, * This function is used to allocate physical memory at boot time, before the * vm_phys module is ready, but after the physical memory has been loaded. */ -vm_phys_t vm_phys_bootalloc(void); +phys_addr_t vm_phys_bootalloc(void); /* * Set up the vm_phys module. @@ -67,7 +67,7 @@ void vm_phys_manage(struct vm_page *page); /* * Return the page descriptor for the given physical address. */ -struct vm_page * vm_phys_lookup_page(vm_phys_t pa); +struct vm_page * vm_phys_lookup_page(phys_addr_t pa); /* * Allocate a block of 2^order physical pages. |