diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-25 20:42:02 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-25 20:42:02 +0000 |
commit | 5f5436f935412a339e127e0863d39df8a2308830 (patch) | |
tree | 3bab0cd44e2277265adf5c9df62647583eadc36f /src/arch/i386/llshell | |
parent | 53b0b50dc838f98a2f3745861414d8b54474f3ba (diff) | |
download | coreboot-5f5436f935412a339e127e0863d39df8a2308830.tar.xz |
drop "arch/asm.h" and "arch/intel.h" and create "cpu/x86/post_code.h"
(which could at some time hold global post code definitions, too)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5498 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch/i386/llshell')
-rw-r--r-- | src/arch/i386/llshell/console.inc | 1 | ||||
-rw-r--r-- | src/arch/i386/llshell/llshell.inc | 17 |
2 files changed, 17 insertions, 1 deletions
diff --git a/src/arch/i386/llshell/console.inc b/src/arch/i386/llshell/console.inc index 774c9cb158..394d5c4f68 100644 --- a/src/arch/i386/llshell/console.inc +++ b/src/arch/i386/llshell/console.inc @@ -1,4 +1,3 @@ -// #include <loglevel.h> jmp console0 diff --git a/src/arch/i386/llshell/llshell.inc b/src/arch/i386/llshell/llshell.inc index 6c91661f83..6f8996717a 100644 --- a/src/arch/i386/llshell/llshell.inc +++ b/src/arch/i386/llshell/llshell.inc @@ -1,3 +1,20 @@ + +#define RET_LABEL(label) \ + jmp label##_done + +#define CALL_LABEL(label) \ + jmp label ;\ +label##_done: + +#define CALLSP(func) \ + lea 0f, %esp ; \ + jmp func ; \ +0: + +#define RETSP \ + jmp *%esp + + #include "console.inc" #include "pci.inc" #include "ramtest.inc" |