Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6537 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
21 lines
323 B
C
21 lines
323 B
C
/* StartTimer1
|
|
*
|
|
* Entry: none
|
|
* Exit: Starts Timer 1 for port 61 use
|
|
* Destroys: Al,
|
|
*/
|
|
static void StartTimer1(void)
|
|
{
|
|
outb(0x56, 0x43);
|
|
outb(0x12, 0x41);
|
|
}
|
|
|
|
void SystemPreInit(void)
|
|
{
|
|
/* they want a jump ... */
|
|
#if !CONFIG_CACHE_AS_RAM
|
|
__asm__ __volatile__("jmp .+2\ninvd\njmp .+2\n");
|
|
#endif
|
|
StartTimer1();
|
|
}
|