summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/luna88k/luna88k/locore.S58
-rw-r--r--sys/arch/mvme88k/mvme88k/locore.S58
2 files changed, 48 insertions, 68 deletions
diff --git a/sys/arch/luna88k/luna88k/locore.S b/sys/arch/luna88k/luna88k/locore.S
index 9f8c7013a26..084e2a0d8bd 100644
--- a/sys/arch/luna88k/luna88k/locore.S
+++ b/sys/arch/luna88k/luna88k/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.3 2004/05/10 10:30:24 aoyama Exp $ */
+/* $OpenBSD: locore.S,v 1.4 2004/07/02 14:40:20 miod Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -419,30 +419,16 @@ GLOBAL(delay)
/*****************************************************************************/
data
- .align 4096 /* SDT (segment descriptor table */
-GLOBAL(kernel_sdt)
- space (0x2000) /* 8K - 4K phys, 4K virt*/
-GLOBAL(ret_addr)
- word 0
-ASLOCAL(initialized_cpu_lock)
- /* XMEM spin lock -- to count CPUs */
- word 0
-ASLOCAL(initialized_cpus)
- /* CPU counter to initialize */
- word 0
-ASLOCAL(master_processor_chosen)
- /* The first processor that XMEMs this becomes the master */
- word 0
-ASLOCAL(inter_processor_lock)
- /* XMEM spin lock -- controls access to master_processor_chosen */
- word 0
+ .align NBPG
+GLOBAL(kernel_sdt) /* SDT (segment descriptor table */
+ space 0x2000 /* 8K - 4K phys, 4K virt*/
- .align 4096
+ .align NBPG
GLOBAL(intstack)
- space (INTSTACK_SIZE) /* 16K, just to be safe */
+ space INTSTACK_SIZE /* 16K, just to be safe */
ASGLOBAL(intstack_end)
ASGLOBAL(slavestack)
- space (NBPG) /* 4K, small, interim stack */
+ space NBPG /* 4K, small, interim stack */
ASGLOBAL(slavestack_end)
/*
@@ -454,7 +440,7 @@ ASGLOBAL(slavestack_end)
* we feel like doing that).
* Should be page aligned.
*/
- .align 4096
+ .align NBPG
GLOBAL(idle_u)
space UPAGES * NBPG
@@ -463,27 +449,31 @@ GLOBAL(idle_u)
*
* This must be page aligned
*/
- .align 4096
+ .align NBPG
ASLOCAL(u0)
space UPAGES * NBPG
-/*
- * UPAGES get mapped to kstack
- */
-
+/* UPAGES get mapped to kstack */
ASGLOBAL(kstack)
word UADDR
-
+GLOBAL(ret_addr)
+ word 0
+/* XMEM spin lock -- to count CPUs */
+ASLOCAL(initialized_cpu_lock)
+ word 0
+/* CPU counter to initialize */
+ASLOCAL(initialized_cpus)
+ word 0
+/* The first processor that XMEMs this becomes the master */
+ASLOCAL(master_processor_chosen)
+ word 0
+/* XMEM spin lock -- controls access to master_processor_chosen */
+ASLOCAL(inter_processor_lock)
+ word 0
#if defined(DDB) || NKSYMS > 0
GLOBAL(esym)
word 0
#endif /* DDB || NKSYMS > 0 */
-
-GLOBAL(intiobase)
- word 0 | KVA of base of internal IO space
-GLOBAL(intiolimit)
- word 0 | KVA of end of internal IO space
-
GLOBAL(proc0paddr)
word _ASM_LABEL(u0) /* KVA of proc0 uarea */
diff --git a/sys/arch/mvme88k/mvme88k/locore.S b/sys/arch/mvme88k/mvme88k/locore.S
index d549210ac90..0a5ee7d9bb7 100644
--- a/sys/arch/mvme88k/mvme88k/locore.S
+++ b/sys/arch/mvme88k/mvme88k/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.35 2004/01/01 01:11:10 miod Exp $ */
+/* $OpenBSD: locore.S,v 1.36 2004/07/02 14:40:22 miod Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -415,30 +415,16 @@ GLOBAL(spin_cpu)
/*****************************************************************************/
data
- .align 4096 /* SDT (segment descriptor table */
-GLOBAL(kernel_sdt)
- space (0x2000) /* 8K - 4K phys, 4K virt*/
-GLOBAL(ret_addr)
- word 0
-ASLOCAL(initialized_cpu_lock)
- /* XMEM spin lock -- to count CPUs */
- word 0
-ASLOCAL(initialized_cpus)
- /* CPU counter to initialize */
- word 0
-ASLOCAL(master_processor_chosen)
- /* The first processor that XMEMs this becomes the master */
- word 0
-ASLOCAL(inter_processor_lock)
- /* XMEM spin lock -- controls access to master_processor_chosen */
- word 0
+ .align NBPG
+GLOBAL(kernel_sdt) /* SDT (segment descriptor table */
+ space 0x2000 /* 8K - 4K phys, 4K virt*/
- .align 4096
+ .align NBPG
GLOBAL(intstack)
- space (INTSTACK_SIZE) /* 16K, just to be safe */
+ space INTSTACK_SIZE /* 16K, just to be safe */
ASGLOBAL(intstack_end)
ASGLOBAL(slavestack)
- space (NBPG) /* 4K, small, interim stack */
+ space NBPG /* 4K, small, interim stack */
ASGLOBAL(slavestack_end)
/*
@@ -450,7 +436,7 @@ ASGLOBAL(slavestack_end)
* we feel like doing that).
* Should be page aligned.
*/
- .align 4096
+ .align NBPG
GLOBAL(idle_u)
space UPAGES * NBPG
@@ -459,27 +445,31 @@ GLOBAL(idle_u)
*
* This must be page aligned
*/
- .align 4096
+ .align NBPG
ASLOCAL(u0)
space UPAGES * NBPG
-/*
- * UPAGES get mapped to kstack
- */
-
+/* UPAGES get mapped to kstack */
ASGLOBAL(kstack)
word UADDR
-
+GLOBAL(ret_addr)
+ word 0
+/* XMEM spin lock -- to count CPUs */
+ASLOCAL(initialized_cpu_lock)
+ word 0
+/* CPU counter to initialize */
+ASLOCAL(initialized_cpus)
+ word 0
+/* The first processor that XMEMs this becomes the master */
+ASLOCAL(master_processor_chosen)
+ word 0
+/* XMEM spin lock -- controls access to master_processor_chosen */
+ASLOCAL(inter_processor_lock)
+ word 0
#if defined(DDB) || NKSYMS > 0
GLOBAL(esym)
word 0
#endif /* DDB || NKSYMS > 0 */
-
-GLOBAL(intiobase)
- word 0 | KVA of base of internal IO space
-GLOBAL(intiolimit)
- word 0 | KVA of end of internal IO space
-
GLOBAL(proc0paddr)
word _ASM_LABEL(u0) /* KVA of proc0 uarea */