Lines Matching +full:0 +full:xa0000
100 } while (0)
106 if (acpi_resume_beep != 0)
115 int vector = (sc->acpi_wakephys >> 12) & 0xff;
127 for (ms = 0; ms < 5000; ms++) {
132 return (0); /* return FAILURE */
135 #define WARMBOOT_TARGET 0
136 #define WARMBOOT_OFF (PMAP_MAP_LOW + 0x0467)
137 #define WARMBOOT_SEG (PMAP_MAP_LOW + 0x0469)
139 #define CMOS_REG (0x70)
140 #define CMOS_DATA (0x71)
141 #define BIOS_RESET (0x0f)
142 #define BIOS_WARM (0x0a)
166 if (acpi_wakeup_ap(sc, cpu) == 0) {
196 if (sc->acpi_wakeaddr == 0ul)
204 if (acpi_resume_beep != 0)
207 AcpiSetFirmwareWakingVector(sc->acpi_wakephys, 0);
211 pcb = &susppcbs[0]->sp_pcb;
213 npxsuspend(susppcbs[0]->sp_fpususpend);
215 if (!CPU_EMPTY(&suspcpus) && suspend_cpus(suspcpus) == 0) {
217 return (0); /* couldn't sleep */
221 WAKECODE_FIXUP(resume_beep, uint8_t, (acpi_resume_beep != 0));
222 WAKECODE_FIXUP(reset_video, uint8_t, (acpi_reset_video != 0));
224 if ((amd_feature & AMDID_NX) != 0)
237 * be careful to use the kernel map (PTD[0] is for curthread
251 return (0); /* couldn't sleep */
266 npxresume(susppcbs[0]->sp_fpususpend);
286 PCPU_SET(switchtime, 0);
304 AcpiSetFirmwareWakingVector(0, 0);
320 memset(wakepages, 0, ACPI_WAKEPAGES * sizeof(*wakepages));
324 * region, excluding real mode IVT (0-0x3ff), BDA (0x400-0x4ff), EBDA
325 * (less than 128KB, below 0xa0000, must be excluded by SMAP and DSDT),
326 * and ROM area (0xa0000 and above). The temporary page tables must be
329 for (i = 0; i < ACPI_WAKEPAGES; i++) {
331 M_NOWAIT | M_EXEC, 0x500, 0xa0000, PAGE_SIZE, 0ul);
343 for (i = 0; i < mp_ncpus; i++) {
351 for (i = 0; i < ACPI_WAKEPAGES; i++)
368 wakeaddr = wakepages[0];