Displaying 1 result from an estimated 1 matches for "sel_kpl".
Did you mean:
sel_col
2003 Aug 22
3
PAE removal patch for testing
...= tmp;
+ *(int *)ptr = tmp;
/*
* Adjust array of valid/good pages.
@@ -1995,11 +2001,7 @@
dblfault_tss.tss_esp2 = (int) &dblfault_stack[sizeof(dblfault_stack)];
dblfault_tss.tss_ss = dblfault_tss.tss_ss0 = dblfault_tss.tss_ss1 =
dblfault_tss.tss_ss2 = GSEL(GDATA_SEL, SEL_KPL);
-#ifdef PAE
- dblfault_tss.tss_cr3 = (int)IdlePDPT - KERNBASE;
-#else
dblfault_tss.tss_cr3 = (int)IdlePTD;
-#endif
dblfault_tss.tss_eip = (int) dblfault_handler;
dblfault_tss.tss_eflags = PSL_KERNEL;
dblfault_tss.tss_ds = dblfault_tss.tss_es =
@@ -2010,7 +2012,6 @@
vm86_initialize();...