From 5f5436f935412a339e127e0863d39df8a2308830 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sun, 25 Apr 2010 20:42:02 +0000 Subject: 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 Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5498 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/cpu/x86/post_code.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/include/cpu/x86/post_code.h (limited to 'src/include/cpu/x86/post_code.h') diff --git a/src/include/cpu/x86/post_code.h b/src/include/cpu/x86/post_code.h new file mode 100644 index 0000000000..0fed2aa058 --- /dev/null +++ b/src/include/cpu/x86/post_code.h @@ -0,0 +1,6 @@ + + +#define post_code(value) \ + movb $value, %al; \ + outb %al, $0x80 + -- cgit v1.2.3