aboutsummaryrefslogtreecommitdiffstats
path: root/com32/sysdump
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2019-02-04 12:16:57 -0800
committerH. Peter Anvin <hpa@zytor.com>2019-02-04 12:16:57 -0800
commit35badfce1f4855a32d089e1a9d8c098e3ef343c7 (patch)
treeb114358b6bac8eb97d7b3bf395e7eaeb7a1de1e5 /com32/sysdump
parent621770d33e6da95556ccfc4f08fd16edb8300c63 (diff)
downloadsyslinux-35badfce1f4855a32d089e1a9d8c098e3ef343c7.tar.gz
syslinux-35badfce1f4855a32d089e1a9d8c098e3ef343c7.tar.xz
syslinux-35badfce1f4855a32d089e1a9d8c098e3ef343c7.zip
Reorganize and clean up a bunch of the x86 code
We were doing a bunch of i386-specific things even on x86-64. Fix this, and merge x86 definitions where possible. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/sysdump')
-rw-r--r--com32/sysdump/cpuid.c2
-rw-r--r--com32/sysdump/main.c2
-rw-r--r--com32/sysdump/memory.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/com32/sysdump/cpuid.c b/com32/sysdump/cpuid.c
index 846b5408..924ea22b 100644
--- a/com32/sysdump/cpuid.c
+++ b/com32/sysdump/cpuid.c
@@ -6,7 +6,7 @@
#include <string.h>
#include <stdlib.h>
#include <com32.h>
-#include <sys/cpu.h>
+#include <x86/cpu.h>
#include "sysdump.h"
struct cpuid_data {
diff --git a/com32/sysdump/main.c b/com32/sysdump/main.c
index eac931e5..373ce6f1 100644
--- a/com32/sysdump/main.c
+++ b/com32/sysdump/main.c
@@ -18,7 +18,7 @@
#include <inttypes.h>
#include <dprintf.h>
#include <console.h>
-#include <sys/cpu.h>
+#include <x86/cpu.h>
#include <version.h>
#include "sysdump.h"
diff --git a/com32/sysdump/memory.c b/com32/sysdump/memory.c
index 377f9a99..5efd9ee7 100644
--- a/com32/sysdump/memory.c
+++ b/com32/sysdump/memory.c
@@ -5,7 +5,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#include <sys/cpu.h>
+#include <x86/cpu.h>
#include "sysdump.h"
static char *lowmem;