Various small consistency fixes (trivial):
- Use _FOO_H include guard format everywhere. - Add missing speaker.c prototypes to libpayload.h. - Consistently use short form u8/u16/u32 instead of uint8_t et. al. - kcofig: Use 'depends on' instead of 'depends', which seems deprecated. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3234 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@ -27,8 +27,8 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _X86_ARCH_IO_H_
|
||||
#define _X86_ARCH_IO_H_
|
||||
#ifndef _ARCH_IO_H
|
||||
#define _ARCH_IO_H
|
||||
|
||||
#define readb(_a) (*(volatile unsigned char *) (_a))
|
||||
#define readw(_a) (*(volatile unsigned short *) (_a))
|
||||
|
@ -27,8 +27,8 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _ARCH_MSR_H_
|
||||
#define _ARCH_MSR_H_
|
||||
#ifndef _ARCH_MSR_H
|
||||
#define _ARCH_MSR_H
|
||||
|
||||
static inline unsigned long long _rdmsr(unsigned int msr)
|
||||
{
|
||||
|
@ -27,8 +27,8 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _RDTSC_H_
|
||||
#define _RDTSC_H_
|
||||
#ifndef _ARCH_RDTSC_H
|
||||
#define _ARCH_RDTSC_H
|
||||
|
||||
static inline unsigned long long rdtsc(void)
|
||||
{
|
||||
|
@ -27,8 +27,8 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _ARCH_X86_TYPES_H
|
||||
#define _ARCH_X86_TYPES_H
|
||||
#ifndef _ARCH_TYPES_H
|
||||
#define _ARCH_TYPES_H
|
||||
|
||||
typedef unsigned char uint8_t;
|
||||
typedef unsigned char u8;
|
||||
|
Reference in New Issue
Block a user