We lost a few things, but this is still worth it. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2287 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
23 lines
459 B
C
23 lines
459 B
C
/* ***************************************************************************/
|
|
/* **/
|
|
/* * StartTimer1*/
|
|
/* **/
|
|
/* * Entry: none*/
|
|
/* * Exit: Starts Timer 1 for port 61 use*/
|
|
/* * Destroys: Al,*/
|
|
/* **/
|
|
/* ***************************************************************************/
|
|
void
|
|
StartTimer1(void){
|
|
outb(0x56, 0x43);
|
|
outb(0x12, 0x41);
|
|
}
|
|
|
|
void
|
|
SystemPreInit(void){
|
|
|
|
/* they want a jump ... */
|
|
__asm__("jmp .+2\ninvd\njmp.+2\n");
|
|
StartTimer1();
|
|
}
|