70 lines
2.9 KiB
C
70 lines
2.9 KiB
C
/* THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. */
|
|
/* from: NetBSD: acpi_wakecode.S,v 1.1 2002/06/18 07:25:13 tshiozak Exp */
|
|
/* $NetBSD: acpi_wakecode.h,v 1.2 2002/06/18 17:22:10 christos Exp $ */
|
|
|
|
#define wakeup_16 0x00000000
|
|
#define wakeup_sw32 0x0000003e
|
|
#define wakeup_32 0x00000050
|
|
#define tmp_gdt 0x000000f0
|
|
#define tmp_gdtable 0x000000f8
|
|
#define physical_gdt 0x00000110
|
|
#define previous_cr2 0x00000116
|
|
#define previous_cr3 0x0000011a
|
|
#define previous_cr4 0x0000011e
|
|
#define previous_cr0 0x00000122
|
|
#define previous_tr 0x00000126
|
|
#define previous_gdt 0x00000128
|
|
#define previous_ldt 0x0000012e
|
|
#define previous_idt 0x00000130
|
|
#define previous_ds 0x00000136
|
|
#define previous_es 0x00000138
|
|
#define previous_fs 0x0000013a
|
|
#define previous_gs 0x0000013c
|
|
#define previous_ss 0x0000013e
|
|
#define where_to_recover 0x00000140
|
|
|
|
static const unsigned char wakecode[] = {
|
|
0x90, 0xfa, 0x8c, 0xc8, 0x8e, 0xd8, 0x8e, 0xd0,
|
|
0x66, 0x31, 0xf6, 0x8c, 0xce, 0x66, 0xc1, 0xe6,
|
|
0x04, 0x66, 0x89, 0xf0, 0x66, 0x05, 0x50, 0x00,
|
|
0x00, 0x00, 0x66, 0xa3, 0x40, 0x00, 0xeb, 0x00,
|
|
0xeb, 0x00, 0x66, 0x89, 0xf0, 0x66, 0x05, 0xf8,
|
|
0x00, 0x00, 0x00, 0x66, 0xa3, 0xf2, 0x00, 0x0f,
|
|
0x01, 0x16, 0xf0, 0x00, 0x0f, 0x20, 0xc0, 0x66,
|
|
0x83, 0xc8, 0x01, 0x0f, 0x22, 0xc0, 0x66, 0xea,
|
|
0x78, 0x56, 0x34, 0x12, 0x08, 0x00, 0x8d, 0x76,
|
|
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, 0x12, 0x01, 0x00, 0x00, 0x0f, 0xb7, 0x8e,
|
|
0x26, 0x01, 0x00, 0x00, 0x8d, 0x04, 0x0b, 0x80,
|
|
0x60, 0x05, 0xf9, 0x8b, 0x86, 0x1a, 0x01, 0x00,
|
|
0x00, 0x0f, 0x22, 0xd8, 0x8b, 0x86, 0x22, 0x01,
|
|
0x00, 0x00, 0x0f, 0x22, 0xc0, 0xeb, 0x00, 0xeb,
|
|
0x00, 0x0f, 0x01, 0x96, 0x28, 0x01, 0x00, 0x00,
|
|
0x0f, 0x01, 0x9e, 0x30, 0x01, 0x00, 0x00, 0x0f,
|
|
0x00, 0x96, 0x2e, 0x01, 0x00, 0x00, 0x0f, 0x00,
|
|
0x9e, 0x26, 0x01, 0x00, 0x00, 0x8b, 0x86, 0x16,
|
|
0x01, 0x00, 0x00, 0x0f, 0x22, 0xd0, 0x8b, 0x86,
|
|
0x1e, 0x01, 0x00, 0x00, 0x0f, 0x22, 0xe0, 0x66,
|
|
0x8b, 0x86, 0x38, 0x01, 0x00, 0x00, 0x8e, 0xc0,
|
|
0x66, 0x8b, 0x86, 0x3a, 0x01, 0x00, 0x00, 0x8e,
|
|
0xe0, 0x66, 0x8b, 0x86, 0x3c, 0x01, 0x00, 0x00,
|
|
0x8e, 0xe8, 0x66, 0x8b, 0x86, 0x3e, 0x01, 0x00,
|
|
0x00, 0x8e, 0xd0, 0x8b, 0x9e, 0x40, 0x01, 0x00,
|
|
0x00, 0x66, 0x8b, 0x86, 0x36, 0x01, 0x00, 0x00,
|
|
0x8e, 0xd8, 0xff, 0xe3, 0x8d, 0x74, 0x26, 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, 0x8d, 0xb6, 0x00, 0x00,
|
|
0x00, 0x00, 0x8d, 0xbf, 0x00, 0x00, 0x00, 0x00,
|
|
};
|