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 As Andrew Doran points out, _ALIGN_TEXT...



details:   https://anonhg.NetBSD.org/src/rev/8f5fef6d2481
branches:  trunk
changeset: 754599:8f5fef6d2481
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Wed May 05 16:53:57 2010 +0000

description:
As Andrew Doran points out, _ALIGN_TEXT is unused, and to test that
X86_BUS_SPACE_IO equals 0 is no longer necessary.  Get rid of the
_ALIGN_TEXT definition, and do not "assert" that X86_BUS_SPACE_IO == 0.

diffstat:

 sys/arch/amd64/amd64/busfunc.S |  10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diffs (24 lines):

diff -r c7a342478f2c -r 8f5fef6d2481 sys/arch/amd64/amd64/busfunc.S
--- a/sys/arch/amd64/amd64/busfunc.S    Wed May 05 14:10:39 2010 +0000
+++ b/sys/arch/amd64/amd64/busfunc.S    Wed May 05 16:53:57 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: busfunc.S,v 1.8 2010/04/28 19:17:03 dyoung Exp $       */
+/*     $NetBSD: busfunc.S,v 1.9 2010/05/05 16:53:57 dyoung Exp $       */
 
 /*-
  * Copyright (c) 2007, 2008 The NetBSD Foundation, Inc.
@@ -33,14 +33,6 @@
 
 #include "assym.h"
 
-/* XXX */
-#undef _ALIGN_TEXT
-#define        _ALIGN_TEXT     .align 16
-
-#if X86_BUS_SPACE_IO != 0
-#error depends on X86_BUS_SPACE_IO == 0
-#endif
-
 .Ldopanic:
        movq    $.Lpstr, %rdi
        call    _C_LABEL(panic)



Home | Main Index | Thread Index | Old Index