1 |
/* |
/* |
2 |
* PUPA -- Preliminary Universal Programming Architecture for GRUB |
* PUPA -- Preliminary Universal Programming Architecture for GRUB |
3 |
* Copyright (C) 2002,2003 Yoshinori K. Okuji <okuji@enbug.org> |
* Copyright (C) 2002,2003 Yoshinori K. Okuji <okuji@enbug.org> |
4 |
|
* Copyright (C) 2003 Marco Gerards <metgerards@student.han.nl> |
5 |
* |
* |
6 |
* PUPA is free software; you can redistribute it and/or modify |
* PUPA is free software; you can redistribute it and/or modify |
7 |
* 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 |
24 |
#include <string.h> |
#include <string.h> |
25 |
#include <sys/types.h> |
#include <sys/types.h> |
26 |
#include <sys/stat.h> |
#include <sys/stat.h> |
27 |
|
#include <sys/times.h> |
28 |
|
|
29 |
#include <pupa/util/misc.h> |
#include <pupa/util/misc.h> |
30 |
#include <pupa/mm.h> |
#include <pupa/mm.h> |
200 |
{ |
{ |
201 |
putchar (c); |
putchar (c); |
202 |
} |
} |
203 |
|
|
204 |
|
pupa_uint32_t |
205 |
|
pupa_get_rtc (void) |
206 |
|
{ |
207 |
|
struct tms currtime; |
208 |
|
|
209 |
|
return times (&currtime); |
210 |
|
} |