summaryrefslogtreecommitdiffstats
path: root/src/include/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cpu')
-rw-r--r--src/include/cpu/amd/amdk8_sysconf.h2
-rw-r--r--src/include/cpu/amd/gx2def.h12
-rw-r--r--src/include/cpu/amd/lxdef.h8
-rw-r--r--src/include/cpu/amd/sc520.h16
-rw-r--r--src/include/cpu/amd/vr.h22
-rw-r--r--src/include/cpu/x86/cache.h2
-rw-r--r--src/include/cpu/x86/msr.h2
-rw-r--r--src/include/cpu/x86/pae.h2
-rw-r--r--src/include/cpu/x86/smm.h6
-rw-r--r--src/include/cpu/x86/stack.h2
10 files changed, 37 insertions, 37 deletions
diff --git a/src/include/cpu/amd/amdk8_sysconf.h b/src/include/cpu/amd/amdk8_sysconf.h
index 28158a6c3809..3ae35fd17d02 100644
--- a/src/include/cpu/amd/amdk8_sysconf.h
+++ b/src/include/cpu/amd/amdk8_sysconf.h
@@ -20,7 +20,7 @@ struct amdk8_sysconf_t {
int apicid_offset;
void *mb; // pointer for mb releated struct
-
+
};
extern struct amdk8_sysconf_t sysconf;
diff --git a/src/include/cpu/amd/gx2def.h b/src/include/cpu/amd/gx2def.h
index ec99b953956b..681b90cca010 100644
--- a/src/include/cpu/amd/gx2def.h
+++ b/src/include/cpu/amd/gx2def.h
@@ -284,20 +284,20 @@
#define SMM_INST_EN_SET (1<<3)
#define INTL_SMI_EN_SET (1<<4)
#define EXTL_SMI_EN_SET (1<<5)
-
+
#define CPU_FPU_MSR_MODE 0x1A00
#define FPU_IE_SET (1<<0)
-
+
#define CPU_FP_UROM_BIST 0x1A03
-
+
#define CPU_BC_CONF_0 0x1900
#define TSC_SUSP_SET (1<<5)
#define SUSP_EN_SET (1<<12)
-
+
/**/
/* VG GLIU0 port4*/
/**/
-
+
#define VG_GLD_MSR_CAP (MSR_VG + 0x2000)
#define VG_GLD_MSR_CONFIG (MSR_VG + 0x2001)
#define VG_GLD_MSR_PM (MSR_VG + 0x2004)
@@ -332,7 +332,7 @@
#define RSTPLL_UPPER_MDIV_SHIFT 9
#define RSTPLL_UPPER_VDIV_SHIFT 6
#define RSTPLL_UPPER_FBDIV_SHIFT 0
-
+
#define RSTPLL_LOWER_SWFLAGS_SHIFT 26
#define RSTPLL_LOWER_SWFLAGS_MASK (0x3F<<RSTPLL_LOWER_SWFLAGS_SHIFT)
diff --git a/src/include/cpu/amd/lxdef.h b/src/include/cpu/amd/lxdef.h
index 161092248cd0..d312c0e6da46 100644
--- a/src/include/cpu/amd/lxdef.h
+++ b/src/include/cpu/amd/lxdef.h
@@ -285,11 +285,11 @@
#define CPU_L2TB_ENTRY 0x189E
#define CPU_L2TB_ENTRY_I 0x189F
#define CPU_DM_BIST 0x18C0
-
+
#define CPU_BC_CONF_0 0x1900
#define TSC_SUSP_SET (1<<5)
#define SUSP_EN_SET (1<<12)
-
+
#define CPU_BC_CONF_1 0x1901
#define CPU_BC_MSR_LOCK 0x1908
#define CPU_BC_L2_CONF 0x1920
@@ -342,11 +342,11 @@
#define CPU_CPUID12 0x3012
#define CPU_CPUID13 0x3013
-
+
/* VG GLIU0 port4*/
-
+
#define VG_GLD_MSR_CAP (MSR_VG + 0x2000)
#define VG_GLD_MSR_CONFIG (MSR_VG + 0x2001)
diff --git a/src/include/cpu/amd/sc520.h b/src/include/cpu/amd/sc520.h
index b0fa5680b740..c79e99efac27 100644
--- a/src/include/cpu/amd/sc520.h
+++ b/src/include/cpu/amd/sc520.h
@@ -2,8 +2,8 @@
/* default location of the MMCR */
#define MMCR 0xfffef000
-/* the PAR register struct definition, the location in memory,
- * and a handy pointer for you to use
+/* the PAR register struct definition, the location in memory,
+ * and a handy pointer for you to use
*/
struct parreg {
@@ -25,7 +25,7 @@ struct parreg {
/* here is the real mmcr struct */
struct memregs {
- /* make these shorts, we are lsb and the hardware seems to like it
+ /* make these shorts, we are lsb and the hardware seems to like it
* better
*/
unsigned short drcctl;
@@ -46,7 +46,7 @@ struct dbctl {
unsigned char dbctl;
unsigned char pad4[15];
};
-
+
struct romregs {
unsigned char bootcs;
unsigned char pad5[3];
@@ -55,7 +55,7 @@ struct romregs {
unsigned char romcs2;
unsigned char pad7[6];
};
-
+
struct hostbridge {
unsigned short ctl;
@@ -169,7 +169,7 @@ struct ssi {
unsigned char pad[0x2b];
};
-
+
/* interrupt control registers */
/* defined this way for portability. Shame we can't just use plan 9 c. */
struct pic {
@@ -225,7 +225,7 @@ struct pic {
unsigned char gp9imap;
unsigned char gp10imap;
unsigned char padend[0x14];
-};
+};
struct reset {
unsigned char sysinfo;
@@ -282,7 +282,7 @@ struct dmacontrol {
};
-
+
struct mmcr {
unsigned short revid;
diff --git a/src/include/cpu/amd/vr.h b/src/include/cpu/amd/vr.h
index e98ac86409ad..805b977cd780 100644
--- a/src/include/cpu/amd/vr.h
+++ b/src/include/cpu/amd/vr.h
@@ -7,7 +7,7 @@
#ifndef CPU_AMD_VR_H
#define CPU_AMD_VR_H
-#define VRC_INDEX 0xAC1C // Index register
+#define VRC_INDEX 0xAC1C // Index register
#define VRC_DATA 0xAC1E // Data register
#define VR_UNLOCK 0xFC53 // Virtual register unlock code
#define NO_VR -1 // No virtual registers
@@ -24,7 +24,7 @@
#define GET_ERROR 0x05
#define SET_VSM_TYPE 0x06
#define SIGNATURE 0x03
- #define VSA2_SIGNATURE 0x56534132 // 'VSA2' returned in EAX
+ #define VSA2_SIGNATURE 0x56534132 // 'VSA2' returned in EAX
#define GET_HW_INFO 0x04
#define VSM_VERSION 0x05
@@ -32,7 +32,7 @@
#define MSR_ACCESS 0x07
#define GET_DESCR_INFO 0x08
#define PCI_INT_AB 0x09 // GPIO pins for INTA# and INTB#
- #define PCI_INT_CD 0x0A // GPIO pins for INTC# and INTD#
+ #define PCI_INT_CD 0x0A // GPIO pins for INTC# and INTD#
#define WATCHDOG 0x0B // Watchdog timer
#define MAX_MISC WATCHDOG
@@ -48,7 +48,7 @@
#define CODEC_TYPE 0x05
#define STATE_INDEX 0x06
#define STATE_DATA 0x07
- #define AUDIO_IRQ 0x08 // For use by native audio drivers
+ #define AUDIO_IRQ 0x08 // For use by native audio drivers
#define STATUS_PTR 0x09 // For use by native audio drivers
#define MAX_AUDIO STATUS_PTR
@@ -86,7 +86,7 @@
#define VG_CFG_DPMS_V 0x0080 // VSYNC mask bit
#define VG_VESA_SV_RST 0x0020 // VESA Save/Restore state flag
#define VG_VESA_RST 0x0000 // VESA Restore state
- #define VG_VESA_SV 0x0020 // VESA Save state
+ #define VG_VESA_SV 0x0020 // VESA Save state
#define VG_FRSH_MODE 0x0002 // Mode refresh flag
#define VG_FRSH_TIMINGS 0x0001 // Timings only refresh flag
@@ -183,7 +183,7 @@
#define VG_TV_PAL 0x0010 // PAL output format
#define VG_TV_HDTV 0x0020 // HDTV output format
- // The meaning of the VG_TV_RES field is dependent on the selected
+ // The meaning of the VG_TV_RES field is dependent on the selected
// encoder and output format. The translations are:
// ADV7171 - Not Used
// SAA7127 - Not Used
@@ -191,7 +191,7 @@
// LO -> 720x480p
// MED -> 1280x720p
// HI -> 1920x1080i
- // FS454 - Both SD and HD resolutions
+ // FS454 - Both SD and HD resolutions
// SD Resolutions - NTSC and PAL
// LO -> 640x480
// MED -> 800x600
@@ -331,8 +331,8 @@
#define RW_PIRQ 0x06 // read/write PCI IRQ router regs in SB Func0 cfg space
#define SLPB_CLEAR 0x07 // clear sleep button GPIO status's
#define PIRQ_ROUTING 0x08 // read the PCI IRQ routing based on BIOS setup
- #define ACPI_UNUSED2 0x09
- #define ACPI_UNUSED3 0x0A
+ #define ACPI_UNUSED2 0x09
+ #define ACPI_UNUSED3 0x0A
#define PIC_INTERRUPT 0x0B
#define ACPI_PRESENT 0x0C
#define ACPI_GEN_COMMAND 0x0D
@@ -380,7 +380,7 @@
#define VRC_DEBUGGER 0x0E
#define MAX_DEBUGGER NO_VR
-
+
#define VRC_STR 0x0F // Virtual Register class
#define RESTORE_ADDR 0x00 // Physical address of MSR restore table
@@ -404,7 +404,7 @@
#define VRC_SYSINFO 0x12 // Virtual Register class
#define VRC_SI_VERSION 0x00 // Sysinfo VSM version
- #define VRC_SI_CPU_MHZ 0x01 // CPU speed in MHZ
+ #define VRC_SI_CPU_MHZ 0x01 // CPU speed in MHZ
#define VRC_SI_CHIPSET_BASE_LOW 0x02
#define VRC_SI_CHIPSET_BASE_HI 0x03
#define VRC_SI_CHIPSET_ID 0x04
diff --git a/src/include/cpu/x86/cache.h b/src/include/cpu/x86/cache.h
index be27f1d9eac6..f3ac2ed11f5d 100644
--- a/src/include/cpu/x86/cache.h
+++ b/src/include/cpu/x86/cache.h
@@ -1,6 +1,6 @@
/*
* This file is part of the coreboot project.
- *
+ *
* Copyright (C) 2004 Eric W. Biederman
*
* This program is free software; you can redistribute it and/or modify
diff --git a/src/include/cpu/x86/msr.h b/src/include/cpu/x86/msr.h
index cbbd5cfd855a..daa7e184224f 100644
--- a/src/include/cpu/x86/msr.h
+++ b/src/include/cpu/x86/msr.h
@@ -17,7 +17,7 @@ static void wrmsr(unsigned long index, msr_t msr)
#else
-typedef struct msr_struct
+typedef struct msr_struct
{
unsigned lo;
unsigned hi;
diff --git a/src/include/cpu/x86/pae.h b/src/include/cpu/x86/pae.h
index c1eb022886ab..eb8fa5a91cb8 100644
--- a/src/include/cpu/x86/pae.h
+++ b/src/include/cpu/x86/pae.h
@@ -1,5 +1,5 @@
#ifndef CPU_X86_PAE_H
-#define CPU_X86_PAE_H
+#define CPU_X86_PAE_H
#define MAPPING_ERROR ((void *)0xffffffffUL)
void *map_2M_page(unsigned long page);
diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h
index 2954ecd1f724..155f666b3c8e 100644
--- a/src/include/cpu/x86/smm.h
+++ b/src/include/cpu/x86/smm.h
@@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-/* AMD64 SMM State-Save Area
+/* AMD64 SMM State-Save Area
* starts @ 0x7e00
*/
typedef struct {
@@ -115,7 +115,7 @@ typedef struct {
} __attribute__((packed)) amd64_smm_state_save_area_t;
-/* Intel Core 2 (EM64T) SMM State-Save Area
+/* Intel Core 2 (EM64T) SMM State-Save Area
* starts @ 0x7d00
*/
typedef struct {
@@ -193,7 +193,7 @@ typedef struct {
} __attribute__((packed)) em64t_smm_state_save_area_t;
-/* Legacy x86 SMM State-Save Area
+/* Legacy x86 SMM State-Save Area
* starts @ 0x7e00
*/
diff --git a/src/include/cpu/x86/stack.h b/src/include/cpu/x86/stack.h
index d39764a7d686..158b670251b5 100644
--- a/src/include/cpu/x86/stack.h
+++ b/src/include/cpu/x86/stack.h
@@ -1,6 +1,6 @@
/*
* This file is part of the coreboot project.
- *
+ *
* Copyright (C) 2010 coresystems GmbH
*
* This program is free software; you can redistribute it and/or modify