X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..b0d623f7f2ae71ed96e60569f61f9a9a27016e80:/osfmk/i386/acpi.h diff --git a/osfmk/i386/acpi.h b/osfmk/i386/acpi.h index ec5ce3ea4..a64e8127c 100644 --- a/osfmk/i386/acpi.h +++ b/osfmk/i386/acpi.h @@ -34,15 +34,19 @@ */ /* - * Wake up code linear address - * FIXME: borrowed unused memory reserved by MP_BOOT + * Wake up code linear address. Wake and MP startup copy + * code to this physical address and then jump to the + * address started at PROT_MODE_START. Some small amount + * below PROT_MODE_START is used as scratch space */ -#define ACPI_WAKE_ADDR 0x2000 +#define PROT_MODE_START 0x800 +#define REAL_MODE_BOOTSTRAP_OFFSET 0x2000 #ifndef ASSEMBLER typedef void (*acpi_sleep_callback)(void * refcon); extern vm_offset_t acpi_install_wake_handler(void); extern void acpi_sleep_kernel(acpi_sleep_callback func, void * refcon); +void install_real_mode_bootstrap(void *prot_entry); #endif /* ASSEMBLER */ #endif /* !_I386_ACPI_H_ */