Clean up to kernel code, Added `used' field to capabilities

With the addition of used field, capability structure can be
used for resource accounting over the capability.
This commit is contained in:
Bahadir Balban
2009-08-21 12:10:34 +03:00
parent d14f91c668
commit de087eb1f8
6 changed files with 35 additions and 19 deletions

View File

@@ -44,16 +44,6 @@ void task_init_registers(struct ktcb *task, unsigned long pc)
task->context.spsr = ARM_MODE_USR;
}
#if 0
/* Sets up struct page array and the physical memory descriptor. */
void paging_init(void)
{
read_bootdesc();
physmem_init();
memory_init();
copy_bootdesc();
}
#endif
/*
* Copies global kernel entries into another pgd. Even for sub-pmd ranges