2 |
* PUPA -- Preliminary Universal Programming Architecture for GRUB |
* PUPA -- Preliminary Universal Programming Architecture for GRUB |
3 |
* Copyright (C) 1999,2000,2001,2002 Free Software Foundation, Inc. |
* Copyright (C) 1999,2000,2001,2002 Free Software Foundation, Inc. |
4 |
* Copyright (C) 2002,2003 Yoshinori K. Okuji <okuji@enbug.org> |
* Copyright (C) 2002,2003 Yoshinori K. Okuji <okuji@enbug.org> |
5 |
|
* Copyright (C) 2003 Marco Gerards <metgerards@student.han.nl> |
6 |
* |
* |
7 |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
8 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
1493 |
|
|
1494 |
|
|
1495 |
/* |
/* |
1496 |
* pupa_currticks() |
* pupa_get_rtc() |
1497 |
* return the real time in ticks, of which there are about |
* return the real time in ticks, of which there are about |
1498 |
* 18-20 per second |
* 18-20 per second |
1499 |
*/ |
*/ |
1500 |
FUNCTION(pupa_currticks) |
FUNCTION(pupa_get_rtc) |
1501 |
pushl %ebp |
pushl %ebp |
1502 |
|
|
1503 |
call prot_to_real /* enter real mode */ |
call prot_to_real /* enter real mode */ |