diff options
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/amd/model_gx2/syspreinit.c | 9 | ||||
-rw-r--r-- | src/cpu/amd/model_lx/syspreinit.c | 2 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/cpu/amd/model_gx2/syspreinit.c b/src/cpu/amd/model_gx2/syspreinit.c index e3ad95235d..c6b2ea527c 100644 --- a/src/cpu/amd/model_gx2/syspreinit.c +++ b/src/cpu/amd/model_gx2/syspreinit.c @@ -7,15 +7,16 @@ /* * Destroys: Al,*/ /* **/ /* ***************************************************************************/ -void -StartTimer1(void){ +static void +StartTimer1(void) +{ outb(0x56, 0x43); outb(0x12, 0x41); } void -SystemPreInit(void){ - +SystemPreInit(void) +{ /* they want a jump ... */ __asm__("jmp .+2\ninvd\njmp.+2\n"); StartTimer1(); diff --git a/src/cpu/amd/model_lx/syspreinit.c b/src/cpu/amd/model_lx/syspreinit.c index 53cd4aa9c9..33c6ece942 100644 --- a/src/cpu/amd/model_lx/syspreinit.c +++ b/src/cpu/amd/model_lx/syspreinit.c @@ -29,7 +29,7 @@ /* * Destroys: Al,*/ /* **/ /* ***************************************************************************/ -void StartTimer1(void) +static void StartTimer1(void) { outb(0x56, 0x43); outb(0x12, 0x41); |