瀏覽代碼

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

setup.S.
tags/v0.9.3
Michael Brown 18 年之前
父節點
當前提交
8f62b39c03
共有 2 個檔案被更改,包括 13 行新增9 行删除
  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 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存