[SeaBIOS] (no subject)
congedete at voila.fr
congedete at voila.fr
Mon Feb 8 11:41:59 CET 2010
Hello,
I'm trying to read the timer in Seabios to test elapsed time between functions.
Here is my code:
static void readtimer(void)
{
// Read timer
struct bregs br;
memset(&br, 0, sizeof(br));
br.flags = F_IF;
br.ah = 0x00;
call16_int(0x1a, &br);
dprintf(1, "timer:%d %d %d\n",br.cx,br.dx,br.al);
}
But gcc tells:
undefined reference to `irq_trampoline_0x1a' (or 26 dec)
What is going wrong with my function ?
Thanks in advance for your help.
____________________________________________________
Faites le plein d’amour, de cadeaux coquins et de poèmes romantiques avec Voila sur http://evenementiel.voila.fr/SaintValentin2010/
More information about the SeaBIOS
mailing list