Displaying 3 results from an estimated 3 matches for "pm_active".
2007 Apr 18
2
[PATCH 4/21] i386 Broken bios common
...u8 apm_bios_call_simple(u32 func,
cpu = get_cpu();
gdt = get_cpu_gdt_table(cpu);
save_desc_40 = gdt[0x40 / 8];
- gdt[0x40 / 8] = bad_bios_desc;
+ gdt[0x40 / 8] = gdt[GDT_ENTRY_BAD_BIOS_CACHE];
local_save_flags(flags);
APM_DO_CLI;
@@ -2275,15 +2274,6 @@ static int __init apm_init(void)
pm_active = 1;
/*
- * Set up a segment that references the real mode segment 0x40
- * that extends up to the end of page zero (that we have reserved).
- * This is for buggy BIOS's that refer to (real mode) segment 0x40
- * even though they are called in protected mode.
- */
- set_base(bad_bios_d...
2007 Apr 18
2
[PATCH 4/21] i386 Broken bios common
...u8 apm_bios_call_simple(u32 func,
cpu = get_cpu();
gdt = get_cpu_gdt_table(cpu);
save_desc_40 = gdt[0x40 / 8];
- gdt[0x40 / 8] = bad_bios_desc;
+ gdt[0x40 / 8] = gdt[GDT_ENTRY_BAD_BIOS_CACHE];
local_save_flags(flags);
APM_DO_CLI;
@@ -2275,15 +2274,6 @@ static int __init apm_init(void)
pm_active = 1;
/*
- * Set up a segment that references the real mode segment 0x40
- * that extends up to the end of page zero (that we have reserved).
- * This is for buggy BIOS's that refer to (real mode) segment 0x40
- * even though they are called in protected mode.
- */
- set_base(bad_bios_d...
2003 Aug 22
3
PAE removal patch for testing
...tart of unused physical memory). The kernel
@@ -333,11 +316,9 @@
*/
kernel_pmap = &kernel_pmap_store;
- kernel_pmap->pm_pdir = (pd_entry_t *) (KERNBASE + IdlePTD);
+ kernel_pmap->pm_pdir = (pd_entry_t *) (KERNBASE + (u_int)IdlePTD);
+ kernel_pmap->pm_count = 1;
kernel_pmap->pm_active = -1; /* don't allow deactivation */
-#ifdef PAE
- kernel_pmap->pm_pdpt = IdlePDPT;
-#endif
TAILQ_INIT(&kernel_pmap->pm_pvlist);
nkpt = NKPT;
@@ -349,22 +330,13 @@
v = (c)va; va += ((n)*PAGE_SIZE); p = pte; pte += (n);
va = virtual_avail;
- pte = vtopte(va);
+ pte = (pt_en...