diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2013-01-17 00:54:49 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2013-01-17 00:54:49 +0000 |
commit | faf55aaa9bd0c608d18e9a3472c415ce0aecaa00 (patch) | |
tree | ef835c7e93fdf7122280f2f3ab523ffa3e52ea06 | |
parent | 5d884c83a510f9ee3d2f7f5d0c9c9ac88175ed1d (diff) |
use .quad for gdt load when returning from long mode. Fixes a reboot
problem after unpack
-rw-r--r-- | sys/arch/amd64/amd64/acpi_wakecode.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/acpi_wakecode.S b/sys/arch/amd64/amd64/acpi_wakecode.S index 3c1fe70a58b..466535dd8f8 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.15 2013/01/17 00:11:24 mlarkin Exp $ */ +/* $OpenBSD: acpi_wakecode.S,v 1.16 2013/01/17 00:54:48 mlarkin Exp $ */ /* * Copyright (c) 2001 Takanori Watanabe <takawata@jp.freebsd.org> * Copyright (c) 2001 Mitsuru IWASAKI <iwasaki@jp.freebsd.org> @@ -571,7 +571,7 @@ _ACPI_TRMP_LABEL(tmp_gdt64_end) .align 8 _ACPI_TRMP_LABEL(tmp_gdt6416) .word tmp_gdt6416_end - tmp_gdtable6416 - .long tmp_gdtable6416 + .quad tmp_gdtable6416 .align 8 _ACPI_TRMP_LABEL(tmp_gdtable6416) |