Sfoglia il codice sorgente

Move stack out to separate object, so that having a stack doesn't drag in

setup.S.
tags/v0.9.3
Michael Brown 18 anni fa
parent
commit
8f62b39c03
2 ha cambiato i file con 13 aggiunte e 9 eliminazioni
  1. 0
    9
      src/arch/i386/core/setup.S
  2. 13
    0
      src/arch/i386/core/stack.S

+ 0
- 9
src/arch/i386/core/setup.S Vedi File

@@ -158,12 +158,3 @@ setup:
158 158
 	popfl
159 159
 	lret
160 160
 
161
-/****************************************************************************
162
- * Internal stack
163
- ****************************************************************************
164
- */
165
-	.section ".stack"
166
-	.align 8
167
-_stack:
168
-	.space 4096
169
-_estack:

+ 13
- 0
src/arch/i386/core/stack.S Vedi File

@@ -0,0 +1,13 @@
1
+	.arch i386
2
+
3
+/****************************************************************************
4
+ * Internal stack
5
+ ****************************************************************************
6
+ */
7
+	.section ".stack"
8
+	.align 8
9
+	.globl _stack
10
+_stack:
11
+	.space 4096
12
+	.globl _estack
13
+_estack:

Loading…
Annulla
Salva