Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 Update register name at fault. Pointed...
details: https://anonhg.NetBSD.org/src/rev/896fe6de2292
branches: trunk
changeset: 369998:896fe6de2292
user: knakahara <knakahara%NetBSD.org@localhost>
date: Mon Sep 12 02:21:11 2022 +0000
description:
Update register name at fault. Pointed out by hgutch@n.o, thanks.
In vetor.S:r1.78
====================
IDTVEC(handle_hypervisor_callback)
movl CPUVAR(ILEVEL),%edi
pushq %rdi /* for Xdoreti */
====================
So, use %edi as before.
diffstat:
sys/arch/amd64/amd64/vector.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ccf7a804c252 -r 896fe6de2292 sys/arch/amd64/amd64/vector.S
--- a/sys/arch/amd64/amd64/vector.S Sun Sep 11 23:52:20 2022 +0000
+++ b/sys/arch/amd64/amd64/vector.S Mon Sep 12 02:21:11 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vector.S,v 1.79 2022/09/07 00:40:18 knakahara Exp $ */
+/* $NetBSD: vector.S,v 1.80 2022/09/12 02:21:11 knakahara Exp $ */
/*
* Copyright (c) 1998, 2007, 2008 The NetBSD Foundation, Inc.
@@ -728,7 +728,7 @@
pushq $T_ASTFLT
INTRENTRY
IDTVEC(handle_hypervisor_callback)
- movzbl CPUVAR(ILEVEL),%rdi
+ movzbl CPUVAR(ILEVEL),%edi
pushq %rdi /* for Xdoreti */
incl CPUVAR(IDEPTH)
movq %rsp,%rdi
Home |
Main Index |
Thread Index |
Old Index