diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2014-12-01 04:33:01 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2014-12-01 04:33:01 +0000 |
commit | 0ef94e6e3f97eca0d5d8834bea5c2e0448af5bc2 (patch) | |
tree | 6aaf796358f2b8eebcf28b72f214043907352efd /sys | |
parent | 311c4bc6d36dccc373f12987915499df1b7f5fe2 (diff) |
Remove an unused gdt structure definition.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/amd64/amd64/acpi_wakecode.S | 52 |
1 files changed, 1 insertions, 51 deletions
diff --git a/sys/arch/amd64/amd64/acpi_wakecode.S b/sys/arch/amd64/amd64/acpi_wakecode.S index 4a8b1dcbd3f..377365e7549 100644 --- a/sys/arch/amd64/amd64/acpi_wakecode.S +++ b/sys/arch/amd64/amd64/acpi_wakecode.S @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi_wakecode.S,v 1.33 2014/11/30 20:48:51 mlarkin Exp $ */ +/* $OpenBSD: acpi_wakecode.S,v 1.34 2014/12/01 04:33:00 mlarkin Exp $ */ /* * Copyright (c) 2001 Takanori Watanabe <takawata@jp.freebsd.org> * Copyright (c) 2001 Mitsuru IWASAKI <iwasaki@jp.freebsd.org> @@ -510,56 +510,6 @@ _ACPI_TRMP_OFFSET(clean_idt) .long 0 .word 0 - /* - * gdt_16 is the gdt used when returning to real mode for bios - * reads/writes (sets up a 16 bit segment) - */ - .align 8 -_ACPI_TRMP_LABEL(gdt_16) - .word gdt_16_end - gdt_16_table - .long gdt_16_table - - .align 8 -_ACPI_TRMP_LABEL(gdt_16_table) - /* - * null - */ - .word 0, 0 - .byte 0, 0, 0, 0 - /* - * Code - * Limit: 0xffffffff - * Base: 0x00000000 - * Descriptor Type: Code - * Segment Type: CRA - * Present: True - * Priv: 0 - * AVL: False - * 64-bit: False - * 32-bit: False - * - */ - .word 0xffff, 0 - .byte 0, 0x9f, 0x8f, 0 - - /* - * Data - * Limit: 0xffffffff - * Base: 0x00000000 - * Descriptor Type: - * Segment Type: W - * Present: True - * Priv: 0 - * AVL: False - * 64-bit: False - * 32-bit: False - * - */ - .word 0xffff, 0 - .byte 0, 0x93, 0x8f, 0 - -_ACPI_TRMP_LABEL(gdt_16_end) - .align 8 _ACPI_TRMP_LABEL(tmp_gdt64) .word tmp_gdt64_end - tmp_gdtable64 |