mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 02:43:15 +01:00
cinfo array is now freed along with other init memory. bootmem allocator memory is reduced to be completely used up. free boot memory now prints the used free memory as well.
15 lines
269 B
C
15 lines
269 B
C
/*
|
|
* Copyright (C) 2009 Bahadir Balban
|
|
*/
|
|
|
|
#ifndef __BOOTMEM_H__
|
|
#define __BOOTMEM_H__
|
|
|
|
unsigned long bootmem_free_pages(void);
|
|
void *alloc_bootmem(int size, int alignment);
|
|
pmd_table_t *alloc_boot_pmd(void);
|
|
|
|
extern pgd_table_t init_pgd;
|
|
|
|
#endif /* __BOOTMEM_H__ */
|