summaryrefslogtreecommitdiff
path: root/com32/include
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2009-04-20 15:56:30 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2009-04-20 15:56:30 -0700
commit31937531087fb47aa4a3a218e8114b32176f8683 (patch)
tree45717a07f96c3053df052e084c06db151f1def84 /com32/include
parentf0e7d4b1ffdd5f636632ac4dd88671410f6dd575 (diff)
downloadsyslinux-31937531087fb47aa4a3a218e8114b32176f8683.tar.gz
Global whitespace cleanup.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/include')
-rw-r--r--com32/include/com32.h6
-rw-r--r--com32/include/sys/cpu.h4
-rw-r--r--com32/include/sys/pci.h12
-rw-r--r--com32/include/syslinux/keyboard.h1
4 files changed, 11 insertions, 12 deletions
diff --git a/com32/include/com32.h b/com32/include/com32.h
index 44cd5732..da2edfb1 100644
--- a/com32/include/com32.h
+++ b/com32/include/com32.h
@@ -1,5 +1,5 @@
/* ----------------------------------------------------------------------- *
- *
+ *
* Copyright 2002-2009 H. Peter Anvin - All Rights Reserved
* Copyright 2009 Intel Corporation; author: H. Peter Anvin
*
@@ -11,10 +11,10 @@
* sell copies of the Software, and to permit persons to whom
* the Software is furnished to do so, subject to the following
* conditions:
- *
+ *
* The above copyright notice and this permission notice shall
* be included in all copies or substantial portions of the Software.
- *
+ *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
diff --git a/com32/include/sys/cpu.h b/com32/include/sys/cpu.h
index dcc4abfa..fcae2da1 100644
--- a/com32/include/sys/cpu.h
+++ b/com32/include/sys/cpu.h
@@ -65,7 +65,7 @@ static inline __constfunc uint32_t cpuid_edx(uint32_t level)
static inline __constfunc bool cpu_has_eflag(uint32_t flag)
{
uint32_t f1, f2;
-
+
asm("pushfl\n\t"
"pushfl\n\t"
"popl %0\n\t"
@@ -78,7 +78,7 @@ static inline __constfunc bool cpu_has_eflag(uint32_t flag)
"popfl\n\t"
: "=&r" (f1), "=&r" (f2)
: "ir" (flag));
-
+
return ((f1^f2) & flag) != 0;
}
diff --git a/com32/include/sys/pci.h b/com32/include/sys/pci.h
index b44db62f..b6556ff0 100644
--- a/com32/include/sys/pci.h
+++ b/com32/include/sys/pci.h
@@ -4,13 +4,13 @@
#include <inttypes.h>
#include <sys/io.h>
-#define MAX_PCI_FUNC 8
-#define MAX_PCI_DEVICES 32
-#define MAX_PCI_BUSES 256
+#define MAX_PCI_FUNC 8
+#define MAX_PCI_DEVICES 32
+#define MAX_PCI_BUSES 256
#define LINUX_KERNEL_MODULE_SIZE 64
-#define PCI_VENDOR_NAME_SIZE 256
-#define PCI_PRODUCT_NAME_SIZE 256
-#define PCI_CLASS_NAME_SIZE 256
+#define PCI_VENDOR_NAME_SIZE 256
+#define PCI_PRODUCT_NAME_SIZE 256
+#define PCI_CLASS_NAME_SIZE 256
#define MAX_KERNEL_MODULES_PER_PCI_DEVICE 10
#define MAX_PCI_CLASSES 256
diff --git a/com32/include/syslinux/keyboard.h b/com32/include/syslinux/keyboard.h
index 8f21ad07..290cff32 100644
--- a/com32/include/syslinux/keyboard.h
+++ b/com32/include/syslinux/keyboard.h
@@ -50,4 +50,3 @@ syslinux_keyboard_map(void)
}
#endif /* _SYSLINUX_KEYBOARD_H */
-