summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-10-24 00:47:07 +0000
committerStefan Reinauer <stepan@openbios.org>2009-10-24 00:47:07 +0000
commit42dc721cdf45fee9940514aa35e8e821ece25019 (patch)
tree09deaff2cf8082eb235c4ddd9ba600f7ecc309be /src/mainboard
parentc1e7efa98d4dbdb8e7f397c68cd27d26cb0f78de (diff)
move all register fram definitions to arch/register.h
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4832 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/amd/serengeti_cheetah/apc_auto.c10
-rw-r--r--src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c2
-rw-r--r--src/mainboard/amd/serengeti_cheetah_fam10/apc_auto.c10
-rw-r--r--src/mainboard/gigabyte/ga_2761gxdk/apc_auto.c10
-rw-r--r--src/mainboard/gigabyte/m57sli/apc_auto.c10
-rw-r--r--src/mainboard/msi/ms7260/apc_auto.c9
-rw-r--r--src/mainboard/nvidia/l1_2pvv/apc_auto.c10
-rw-r--r--src/mainboard/supermicro/h8dme/apc_auto.c10
-rw-r--r--src/mainboard/supermicro/h8dmr/apc_auto.c10
-rw-r--r--src/mainboard/tyan/s2912/apc_auto.c10
-rw-r--r--src/mainboard/tyan/s2912_fam10/apc_auto.c10
11 files changed, 20 insertions, 81 deletions
diff --git a/src/mainboard/amd/serengeti_cheetah/apc_auto.c b/src/mainboard/amd/serengeti_cheetah/apc_auto.c
index c8723e6fbf..a855c2fd39 100644
--- a/src/mainboard/amd/serengeti_cheetah/apc_auto.c
+++ b/src/mainboard/amd/serengeti_cheetah/apc_auto.c
@@ -102,14 +102,8 @@ void hardwaremain(int ret_addr)
}
-struct eregs {
- uint32_t eax, ecx, edx, ebx, esp, ebp, esi, edi;
- uint32_t vector;
- uint32_t error_code;
- uint32_t eip;
- uint32_t cs;
- uint32_t eflags;
-};
+
+#include <arch/registers.h>
void x86_exception(struct eregs *info)
{
diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c b/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c
index 184735b104..f6741b9ec9 100644
--- a/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c
+++ b/src/mainboard/amd/serengeti_cheetah_fam10/acpi_tables.c
@@ -43,7 +43,7 @@ static void dump_mem(u32 start, u32 end)
printk_debug(" %02x", (unsigned char)*((unsigned char *)i));
}
print_debug("\n");
- }
+}
#endif
extern u8 AmlCode[];
diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/apc_auto.c b/src/mainboard/amd/serengeti_cheetah_fam10/apc_auto.c
index 69e3ffbb9d..ea7e2a6b29 100644
--- a/src/mainboard/amd/serengeti_cheetah_fam10/apc_auto.c
+++ b/src/mainboard/amd/serengeti_cheetah_fam10/apc_auto.c
@@ -96,14 +96,8 @@ void hardwaremain(int ret_addr)
}
-struct eregs {
- u32 eax, ecx, edx, ebx, esp, ebp, esi, edi;
- u32 vector;
- u32 error_code;
- u32 eip;
- u32 cs;
- u32 eflags;
-};
+
+#include <arch/registers.h>
void x86_exception(struct eregs *info)
{
diff --git a/src/mainboard/gigabyte/ga_2761gxdk/apc_auto.c b/src/mainboard/gigabyte/ga_2761gxdk/apc_auto.c
index 90546b45a2..5a94cf740f 100644
--- a/src/mainboard/gigabyte/ga_2761gxdk/apc_auto.c
+++ b/src/mainboard/gigabyte/ga_2761gxdk/apc_auto.c
@@ -113,14 +113,8 @@ void hardwaremain(int ret_addr)
}
-struct eregs {
- uint32_t eax, ecx, edx, ebx, esp, ebp, esi, edi;
- uint32_t vector;
- uint32_t error_code;
- uint32_t eip;
- uint32_t cs;
- uint32_t eflags;
-};
+
+#include <arch/registers.h>
void x86_exception(struct eregs *info)
{
diff --git a/src/mainboard/gigabyte/m57sli/apc_auto.c b/src/mainboard/gigabyte/m57sli/apc_auto.c
index 176e6b41ad..50ad68eed3 100644
--- a/src/mainboard/gigabyte/m57sli/apc_auto.c
+++ b/src/mainboard/gigabyte/m57sli/apc_auto.c
@@ -111,14 +111,8 @@ void hardwaremain(int ret_addr)
}
-struct eregs {
- uint32_t eax, ecx, edx, ebx, esp, ebp, esi, edi;
- uint32_t vector;
- uint32_t error_code;
- uint32_t eip;
- uint32_t cs;
- uint32_t eflags;
-};
+
+#include <arch/registers.h>
void x86_exception(struct eregs *info)
{
diff --git a/src/mainboard/msi/ms7260/apc_auto.c b/src/mainboard/msi/ms7260/apc_auto.c
index 6f01fad1f8..317f9d26d3 100644
--- a/src/mainboard/msi/ms7260/apc_auto.c
+++ b/src/mainboard/msi/ms7260/apc_auto.c
@@ -88,14 +88,7 @@ void hardwaremain(int ret_addr)
);
}
-struct eregs {
- uint32_t eax, ecx, edx, ebx, esp, ebp, esi, edi;
- uint32_t vector;
- uint32_t error_code;
- uint32_t eip;
- uint32_t cs;
- uint32_t eflags;
-};
+#include <arch/registers.h>
void x86_exception(struct eregs *info)
{
diff --git a/src/mainboard/nvidia/l1_2pvv/apc_auto.c b/src/mainboard/nvidia/l1_2pvv/apc_auto.c
index 7528b84ed4..d7c4e2831a 100644
--- a/src/mainboard/nvidia/l1_2pvv/apc_auto.c
+++ b/src/mainboard/nvidia/l1_2pvv/apc_auto.c
@@ -111,14 +111,8 @@ void hardwaremain(int ret_addr)
}
-struct eregs {
- uint32_t eax, ecx, edx, ebx, esp, ebp, esi, edi;
- uint32_t vector;
- uint32_t error_code;
- uint32_t eip;
- uint32_t cs;
- uint32_t eflags;
-};
+
+#include <arch/registers.h>
void x86_exception(struct eregs *info)
{
diff --git a/src/mainboard/supermicro/h8dme/apc_auto.c b/src/mainboard/supermicro/h8dme/apc_auto.c
index f4bedfe0f0..b501cfc76e 100644
--- a/src/mainboard/supermicro/h8dme/apc_auto.c
+++ b/src/mainboard/supermicro/h8dme/apc_auto.c
@@ -118,14 +118,8 @@ void hardwaremain(int ret_addr)
}
-struct eregs {
- uint32_t eax, ecx, edx, ebx, esp, ebp, esi, edi;
- uint32_t vector;
- uint32_t error_code;
- uint32_t eip;
- uint32_t cs;
- uint32_t eflags;
-};
+
+#include <arch/registers.h>
void x86_exception(struct eregs *info)
{
diff --git a/src/mainboard/supermicro/h8dmr/apc_auto.c b/src/mainboard/supermicro/h8dmr/apc_auto.c
index f4bedfe0f0..b501cfc76e 100644
--- a/src/mainboard/supermicro/h8dmr/apc_auto.c
+++ b/src/mainboard/supermicro/h8dmr/apc_auto.c
@@ -118,14 +118,8 @@ void hardwaremain(int ret_addr)
}
-struct eregs {
- uint32_t eax, ecx, edx, ebx, esp, ebp, esi, edi;
- uint32_t vector;
- uint32_t error_code;
- uint32_t eip;
- uint32_t cs;
- uint32_t eflags;
-};
+
+#include <arch/registers.h>
void x86_exception(struct eregs *info)
{
diff --git a/src/mainboard/tyan/s2912/apc_auto.c b/src/mainboard/tyan/s2912/apc_auto.c
index 2600dd3b6b..880d06a1cf 100644
--- a/src/mainboard/tyan/s2912/apc_auto.c
+++ b/src/mainboard/tyan/s2912/apc_auto.c
@@ -100,14 +100,8 @@ void hardwaremain(int ret_addr)
}
-struct eregs {
- uint32_t eax, ecx, edx, ebx, esp, ebp, esi, edi;
- uint32_t vector;
- uint32_t error_code;
- uint32_t eip;
- uint32_t cs;
- uint32_t eflags;
-};
+
+#include <arch/registers.h>
void x86_exception(struct eregs *info)
{
diff --git a/src/mainboard/tyan/s2912_fam10/apc_auto.c b/src/mainboard/tyan/s2912_fam10/apc_auto.c
index 2600dd3b6b..880d06a1cf 100644
--- a/src/mainboard/tyan/s2912_fam10/apc_auto.c
+++ b/src/mainboard/tyan/s2912_fam10/apc_auto.c
@@ -100,14 +100,8 @@ void hardwaremain(int ret_addr)
}
-struct eregs {
- uint32_t eax, ecx, edx, ebx, esp, ebp, esi, edi;
- uint32_t vector;
- uint32_t error_code;
- uint32_t eip;
- uint32_t cs;
- uint32_t eflags;
-};
+
+#include <arch/registers.h>
void x86_exception(struct eregs *info)
{