Changes for the ELF loader in the boot loader.

Removed the arch_mmu_alloc() function, added (empty) arch_mmu_free() function.
Added platform prototypes for allocating and freeing a region.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5044 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2003-10-16 17:55:21 +00:00
parent e44d4929ce
commit b73b3e5a2d
4 changed files with 31 additions and 2 deletions
+4
View File
@@ -24,6 +24,10 @@ extern void dprintf(const char *format, ...);
extern void platform_release_heap(struct stage2_args *args, void *base);
extern status_t platform_init_heap(struct stage2_args *args, void **_base, void **_top);
/* MMU/memory functions */
extern status_t platform_allocate_region(void **_virtualAddress, size_t size, uint8 protection);
extern status_t platform_free_region(void *address, size_t size);
/* misc functions */
extern bool platform_user_menu_requested(void);