Kernel - Reworked x86 physical memory allocation
authorJohn Hodge <[email protected]>
Mon, 18 Jul 2011 04:15:31 +0000 (12:15 +0800)
committerJohn Hodge <[email protected]>
Mon, 18 Jul 2011 04:15:31 +0000 (12:15 +0800)
commit930fe819133ddb444bc6c22df09baf788183f6ad
treed7b989ce8ad8e946e7c6c823bdfae31919cfe8bf
parent386adcea9ab9e3b30a83c57ea6cfffe011536891
Kernel - Reworked x86 physical memory allocation

- Turned reference count array into a page info array
- Allocated when needed as opposed to at boot
- TODO: Split it up into two arrays instead, to save space
 > Could also have a MM_AllocPhys variant that picks pages from allocated
   info blocks instead of just the first avaliable
Kernel/Makefile
Kernel/arch/x86/include/mm_virt.h
Kernel/arch/x86/mm_phys.c
Kernel/include/acess.h

UCC git Repository :: git.ucc.asn.au