aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include/sys
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-03-14 22:07:09 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-03-14 22:07:09 -0700
commit64d7ea7b604c2ca9ab8f7236374b3a1c05005e55 (patch)
treeaefb113b164ae28daefaf0405ca5e96fb421781f /com32/include/sys
parenta80b07e7fb8feec668a435101659e3ed94015a23 (diff)
downloadsyslinux-64d7ea7b604c2ca9ab8f7236374b3a1c05005e55.tar.gz
syslinux-64d7ea7b604c2ca9ab8f7236374b3a1c05005e55.tar.xz
syslinux-64d7ea7b604c2ca9ab8f7236374b3a1c05005e55.zip
Stealth whitespace cleanup (automated)
Diffstat (limited to 'com32/include/sys')
-rw-r--r--com32/include/sys/elfcommon.h70
-rw-r--r--com32/include/sys/pci.h2
-rw-r--r--com32/include/sys/times.h2
3 files changed, 37 insertions, 37 deletions
diff --git a/com32/include/sys/elfcommon.h b/com32/include/sys/elfcommon.h
index 0d81db56..cc8f9235 100644
--- a/com32/include/sys/elfcommon.h
+++ b/com32/include/sys/elfcommon.h
@@ -8,45 +8,45 @@
#include <stdint.h>
/* Segment types */
-#define PT_NULL 0
-#define PT_LOAD 1
-#define PT_DYNAMIC 2
-#define PT_INTERP 3
-#define PT_NOTE 4
-#define PT_SHLIB 5
-#define PT_PHDR 6
-#define PT_LOOS 0x60000000
-#define PT_HIOS 0x6fffffff
-#define PT_LOPROC 0x70000000
-#define PT_HIPROC 0x7fffffff
+#define PT_NULL 0
+#define PT_LOAD 1
+#define PT_DYNAMIC 2
+#define PT_INTERP 3
+#define PT_NOTE 4
+#define PT_SHLIB 5
+#define PT_PHDR 6
+#define PT_LOOS 0x60000000
+#define PT_HIOS 0x6fffffff
+#define PT_LOPROC 0x70000000
+#define PT_HIPROC 0x7fffffff
#define PT_GNU_EH_FRAME 0x6474e550 /* Extension, eh? */
/* ELF file types */
-#define ET_NONE 0
-#define ET_REL 1
-#define ET_EXEC 2
-#define ET_DYN 3
-#define ET_CORE 4
-#define ET_LOPROC 0xff00
-#define ET_HIPROC 0xffff
+#define ET_NONE 0
+#define ET_REL 1
+#define ET_EXEC 2
+#define ET_DYN 3
+#define ET_CORE 4
+#define ET_LOPROC 0xff00
+#define ET_HIPROC 0xffff
/* ELF machine types */
-#define EM_NONE 0
-#define EM_M32 1
-#define EM_SPARC 2
-#define EM_386 3
-#define EM_68K 4
-#define EM_88K 5
-#define EM_486 6 /* Not used in Linux at least */
-#define EM_860 7
+#define EM_NONE 0
+#define EM_M32 1
+#define EM_SPARC 2
+#define EM_386 3
+#define EM_68K 4
+#define EM_88K 5
+#define EM_486 6 /* Not used in Linux at least */
+#define EM_860 7
#define EM_MIPS 8 /* R3k, bigendian(?) */
-#define EM_MIPS_RS4_BE 10 /* R4k BE */
-#define EM_PARISC 15
-#define EM_SPARC32PLUS 18
-#define EM_PPC 20
-#define EM_PPC64 21
+#define EM_MIPS_RS4_BE 10 /* R4k BE */
+#define EM_PARISC 15
+#define EM_SPARC32PLUS 18
+#define EM_PPC 20
+#define EM_PPC64 21
#define EM_S390 22
-#define EM_SH 42
+#define EM_SH 42
#define EM_SPARCV9 43 /* v9 = SPARC64 */
#define EM_H8_300H 47
#define EM_H8S 48
@@ -103,10 +103,10 @@
#define AT_GID 13 /* real gid */
#define AT_EGID 14 /* effective gid */
#define AT_PLATFORM 15 /* string identifying CPU for optimizations */
-#define AT_HWCAP 16 /* arch dependent hints at CPU capabilities */
-#define AT_CLKTCK 17 /* frequency at which times() increments */
+#define AT_HWCAP 16 /* arch dependent hints at CPU capabilities */
+#define AT_CLKTCK 17 /* frequency at which times() increments */
/* 18..22 = ? */
-#define AT_SECURE 23 /* secure mode boolean */
+#define AT_SECURE 23 /* secure mode boolean */
/* Program header permission flags */
#define PF_X 0x1
diff --git a/com32/include/sys/pci.h b/com32/include/sys/pci.h
index 4862cda9..e471faa6 100644
--- a/com32/include/sys/pci.h
+++ b/com32/include/sys/pci.h
@@ -6,7 +6,7 @@
#define MAX_VENDOR_NAME_SIZE 255
#define MAX_PRODUCT_NAME_SIZE 255
-#define MAX_PCI_DEVICES 32
+#define MAX_PCI_DEVICES 32
#define MAX_PCI_BUSES 255
typedef uint32_t pciaddr_t;
diff --git a/com32/include/sys/times.h b/com32/include/sys/times.h
index 8d03af0a..dd60a3c5 100644
--- a/com32/include/sys/times.h
+++ b/com32/include/sys/times.h
@@ -11,7 +11,7 @@ struct tms {
/* Empty */
};
-#define HZ 18 /* Piddly resolution... */
+#define HZ 18 /* Piddly resolution... */
#define CLK_TCK HZ
typedef uint16_t clock_t;