22ee755a55
machdep.acpi_beep_on_reset.
84 lines
3.4 KiB
C
84 lines
3.4 KiB
C
/* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. */
|
|
/* from: NetBSD: acpi_wakecode.S,v 1.8 2006/06/20 22:36:58 jmcneill Exp */
|
|
/* $NetBSD: acpi_wakecode.h,v 1.8 2007/04/28 14:03:00 joerg Exp $ */
|
|
|
|
#define wakeup_16 0x00000000
|
|
#define nobeepon 0x0000001b
|
|
#define novbiosreset 0x0000002d
|
|
#define nobeepoff 0x00000037
|
|
#define wakeup_sw32 0x0000006d
|
|
#define wakeup_32 0x00000080
|
|
#define beepon 0x00000117
|
|
#define beepoff 0x00000126
|
|
#define tmp_gdt 0x00000130
|
|
#define tmp_gdtable 0x00000138
|
|
#define physical_gdt 0x00000150
|
|
#define previous_cr2 0x00000156
|
|
#define previous_cr3 0x0000015a
|
|
#define previous_cr4 0x0000015e
|
|
#define previous_cr0 0x00000162
|
|
#define previous_tr 0x00000166
|
|
#define previous_gdt 0x00000168
|
|
#define previous_ldt 0x0000016e
|
|
#define previous_idt 0x00000170
|
|
#define previous_ds 0x00000176
|
|
#define previous_es 0x00000178
|
|
#define previous_fs 0x0000017a
|
|
#define previous_gs 0x0000017c
|
|
#define previous_ss 0x0000017e
|
|
#define where_to_recover 0x00000180
|
|
#define vbios_reset 0x00000184
|
|
#define beep_on_reset 0x00000185
|
|
|
|
static const unsigned char wakecode[] = {
|
|
0x90, 0xfa, 0xfc, 0x8c, 0xc8, 0x8e, 0xd8, 0x8e,
|
|
0xd0, 0xbc, 0x00, 0x10, 0x66, 0x6a, 0x00, 0x66,
|
|
0x9d, 0x80, 0x3e, 0x85, 0x01, 0x01, 0x75, 0x03,
|
|
0xe8, 0xfc, 0x00, 0x80, 0x3e, 0x84, 0x01, 0x01,
|
|
0x75, 0x0b, 0x9a, 0x03, 0x00, 0x00, 0xc0, 0x8c,
|
|
0xc8, 0x8e, 0xd8, 0x8e, 0xd0, 0x80, 0x3e, 0x85,
|
|
0x01, 0x01, 0x75, 0x03, 0xe8, 0xef, 0x00, 0x66,
|
|
0x31, 0xf6, 0x8c, 0xce, 0x66, 0xc1, 0xe6, 0x04,
|
|
0x66, 0x89, 0xf0, 0x66, 0x05, 0x80, 0x00, 0x00,
|
|
0x00, 0x66, 0xa3, 0x6f, 0x00, 0xeb, 0x00, 0xeb,
|
|
0x00, 0x66, 0x89, 0xf0, 0x66, 0x05, 0x38, 0x01,
|
|
0x00, 0x00, 0x66, 0xa3, 0x32, 0x01, 0x0f, 0x01,
|
|
0x16, 0x30, 0x01, 0x0f, 0x20, 0xc0, 0x66, 0x83,
|
|
0xc8, 0x01, 0x0f, 0x22, 0xc0, 0x66, 0xea, 0x78,
|
|
0x56, 0x34, 0x12, 0x08, 0x00, 0x8d, 0x74, 0x26,
|
|
0x00, 0x8d, 0xbc, 0x27, 0x00, 0x00, 0x00, 0x00,
|
|
0x90, 0x66, 0xb8, 0x10, 0x00, 0x8e, 0xd8, 0x8e,
|
|
0xc0, 0x8e, 0xe8, 0x8e, 0xd0, 0x8e, 0xe0, 0x8b,
|
|
0x9e, 0x52, 0x01, 0x00, 0x00, 0x66, 0x0f, 0xb7,
|
|
0x8e, 0x66, 0x01, 0x00, 0x00, 0x8d, 0x04, 0x0b,
|
|
0x80, 0x60, 0x05, 0xf9, 0x8b, 0x86, 0x5a, 0x01,
|
|
0x00, 0x00, 0x0f, 0x22, 0xd8, 0x8b, 0x86, 0x62,
|
|
0x01, 0x00, 0x00, 0x0f, 0x22, 0xc0, 0xeb, 0x00,
|
|
0xeb, 0x00, 0x90, 0x0f, 0x01, 0x96, 0x68, 0x01,
|
|
0x00, 0x00, 0x0f, 0x01, 0x9e, 0x70, 0x01, 0x00,
|
|
0x00, 0x0f, 0x00, 0x96, 0x6e, 0x01, 0x00, 0x00,
|
|
0x8b, 0x86, 0x56, 0x01, 0x00, 0x00, 0x0f, 0x22,
|
|
0xd0, 0x8b, 0x86, 0x5e, 0x01, 0x00, 0x00, 0x0f,
|
|
0x22, 0xe0, 0x66, 0x8b, 0x86, 0x78, 0x01, 0x00,
|
|
0x00, 0x8e, 0xc0, 0x66, 0x8b, 0x86, 0x7a, 0x01,
|
|
0x00, 0x00, 0x8e, 0xe0, 0x66, 0x8b, 0x86, 0x7c,
|
|
0x01, 0x00, 0x00, 0x8e, 0xe8, 0x66, 0x8b, 0x86,
|
|
0x7e, 0x01, 0x00, 0x00, 0x8e, 0xd0, 0x8b, 0x9e,
|
|
0x80, 0x01, 0x00, 0x00, 0x66, 0x8b, 0x86, 0x76,
|
|
0x01, 0x00, 0x00, 0x8e, 0xd8, 0xff, 0xe3, 0xb0,
|
|
0xc0, 0xe6, 0x42, 0xb0, 0x04, 0xe6, 0x42, 0xe4,
|
|
0x61, 0x0c, 0x03, 0xe6, 0x61, 0xc3, 0xe4, 0x61,
|
|
0x24, 0xfc, 0xe6, 0x61, 0xc3, 0x8d, 0x76, 0x00,
|
|
0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0xff, 0xff, 0x00, 0x00, 0x00, 0x9f, 0xcf, 0x00,
|
|
0xff, 0xff, 0x00, 0x00, 0x00, 0x93, 0xcf, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
};
|