diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-10-16 03:35:20 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2000-10-16 03:35:20 +0000 |
commit | 1575ec698fbce11feee8820741fbe89d4c0034e6 (patch) | |
tree | e15bc2e7396f277eb079b468798a677c5af1c8af /sys | |
parent | a6cc64aa186e55eb9202907ea7f6928767796b23 (diff) |
protect %edx when calling bios
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/pci/pcibios.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pcibios.c b/sys/arch/i386/pci/pcibios.c index 6076854a811..9de1dde250c 100644 --- a/sys/arch/i386/pci/pcibios.c +++ b/sys/arch/i386/pci/pcibios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pcibios.c,v 1.15 2000/10/16 03:22:06 mickey Exp $ */ +/* $OpenBSD: pcibios.c,v 1.16 2000/10/16 03:35:19 mickey Exp $ */ /* $NetBSD: pcibios.c,v 1.5 2000/08/01 05:23:59 uch Exp $ */ /* @@ -451,7 +451,7 @@ pcibios_get_intr_routing(sc, table, nentries, exclirq) "1:\n" : "=a" (ax), "=b" (bx) : "0" (0xb10e), "1" (0), "D" (&args), "S" (&pcibios_entry) - : "%ecx", "cc", "memory"); + : "%ecx", "%edx", "cc", "memory"); rv = pcibios_return_code(sc, ax, "pcibios_get_intr_routing"); if (rv != PCIBIOS_SUCCESS) |