diff options
author | Michael Brown | 2006-05-02 16:57:48 +0200 |
---|---|---|
committer | Michael Brown | 2006-05-02 16:57:48 +0200 |
commit | 8f62b39c03ab680e72ef991ebbe07bb7c0d57f82 (patch) | |
tree | d6acf0b466d1c324dcee8e31e98672f4a16292ad /src | |
parent | Verified as working (diff) | |
download | ipxe-8f62b39c03ab680e72ef991ebbe07bb7c0d57f82.tar.gz ipxe-8f62b39c03ab680e72ef991ebbe07bb7c0d57f82.tar.xz ipxe-8f62b39c03ab680e72ef991ebbe07bb7c0d57f82.zip |
Move stack out to separate object, so that having a stack doesn't drag in
setup.S.
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/i386/core/setup.S | 9 | ||||
-rw-r--r-- | src/arch/i386/core/stack.S | 13 |
2 files changed, 13 insertions, 9 deletions
diff --git a/src/arch/i386/core/setup.S b/src/arch/i386/core/setup.S index 11b28880..e1c5a859 100644 --- a/src/arch/i386/core/setup.S +++ b/src/arch/i386/core/setup.S @@ -158,12 +158,3 @@ setup: popfl lret -/**************************************************************************** - * Internal stack - **************************************************************************** - */ - .section ".stack" - .align 8 -_stack: - .space 4096 -_estack: diff --git a/src/arch/i386/core/stack.S b/src/arch/i386/core/stack.S new file mode 100644 index 00000000..c2d138aa --- /dev/null +++ b/src/arch/i386/core/stack.S @@ -0,0 +1,13 @@ + .arch i386 + +/**************************************************************************** + * Internal stack + **************************************************************************** + */ + .section ".stack" + .align 8 + .globl _stack +_stack: + .space 4096 + .globl _estack +_estack: |