Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/sommerfeld_i386mp_1]: src/sys/arch/i386/i386 Explicitly make local_apic ...



details:   https://anonhg.NetBSD.org/src/rev/286b4d9cf6a3
branches:  sommerfeld_i386mp_1
changeset: 482201:286b4d9cf6a3
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Wed Feb 23 06:12:04 2000 +0000

description:
Explicitly make local_apic area page-aligned; merely being the first
bit of .data doesn't cut it with the ELF toolchain.

diffstat:

 sys/arch/i386/i386/locore.s |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r facad9781ee0 -r 286b4d9cf6a3 sys/arch/i386/i386/locore.s
--- a/sys/arch/i386/i386/locore.s       Wed Feb 23 06:10:50 2000 +0000
+++ b/sys/arch/i386/i386/locore.s       Wed Feb 23 06:12:04 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.215.2.3 2000/02/21 21:11:47 sommerfeld Exp $      */
+/*     $NetBSD: locore.s,v 1.215.2.4 2000/02/23 06:12:04 sommerfeld Exp $      */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -303,6 +303,11 @@
        .globl  _C_LABEL(lapic_tpr)     
        
 #if NLAPIC > 0
+#ifdef __ELF__
+       .align  NBPG
+#else
+       .align  12
+#endif
        .globl _C_LABEL(local_apic)
 _C_LABEL(local_apic):
        .space  LAPIC_ID



Home | Main Index | Thread Index | Old Index