Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 - don't use ENTRY() macro for data.
details: https://anonhg.NetBSD.org/src/rev/99f424f1e093
branches: trunk
changeset: 526941:99f424f1e093
user: yamt <yamt%NetBSD.org@localhost>
date: Tue May 14 14:22:33 2002 +0000
description:
- don't use ENTRY() macro for data.
- fix calculation of bit offset of DR7.
diffstat:
sys/arch/i386/i386/db_dbgreg.s | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 3022399f1479 -r 99f424f1e093 sys/arch/i386/i386/db_dbgreg.s
--- a/sys/arch/i386/i386/db_dbgreg.s Tue May 14 13:50:21 2002 +0000
+++ b/sys/arch/i386/i386/db_dbgreg.s Tue May 14 14:22:33 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_dbgreg.s,v 1.3 2001/09/24 01:09:33 sommerfeld Exp $ */
+/* $NetBSD: db_dbgreg.s,v 1.4 2002/05/14 14:22:33 yamt Exp $ */
/*
* Mach Operating System
@@ -159,6 +159,8 @@
shll %cl, %eax
orl %eax, %edx
+ shll $1, %ecx
+
movzbl B_ARG1, %eax
andb $3, %al
addb $0x10, %cl
@@ -183,7 +185,7 @@
.long ~0x00f0000c
.long ~0x0f000030
.long ~0xf00000c0
-ENTRY(dr_addr)
+_C_LABEL(dr_addr):
.long 0,0,0,0
.long 0,0,0,0
.text
Home |
Main Index |
Thread Index |
Old Index