mirror of
https://github.com/drasko/codezero.git
synced 2026-02-20 13:53:14 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user