mirror of
https://github.com/drasko/codezero.git
synced 2026-01-23 16:23:16 +01:00
Removed bits from kernel where pager utcb is set.
Pagers now set their own utcb explicitly via exchange_registers. exregs accepts calls from active pagers for this purpose only.
This commit is contained in:
@@ -188,9 +188,6 @@ void kip_init()
|
||||
/* KIP + 0xFF0 is pointer to UTCB segment start address */
|
||||
utcb_ref = (struct utcb **)((unsigned long)&kip + UTCB_KIP_OFFSET);
|
||||
|
||||
/* All thread utcbs are allocated starting from UTCB_AREA_START */
|
||||
*utcb_ref = (struct utcb *)UTCB_AREA_START;
|
||||
|
||||
add_boot_mapping(virt_to_phys(&kip), USER_KIP_PAGE, PAGE_SIZE,
|
||||
MAP_USR_RO_FLAGS);
|
||||
printk("%s: Kernel built on %s, %s\n", __KERNELNAME__,
|
||||
|
||||
Reference in New Issue
Block a user