diff options
| author | Michael Brown | 2012-05-04 18:53:23 +0200 |
|---|---|---|
| committer | Michael Brown | 2012-05-04 18:54:31 +0200 |
| commit | 6ed905aba298136dee5911a33e9692c7bf23335b (patch) | |
| tree | 24bd13abb68a25388ae15d051afca5e63c9117cf /src/include/ipxe/linux | |
| parent | [malloc] Allow Valgrind to be used when all assertions are enabled (diff) | |
| download | ipxe-6ed905aba298136dee5911a33e9692c7bf23335b.tar.gz ipxe-6ed905aba298136dee5911a33e9692c7bf23335b.tar.xz ipxe-6ed905aba298136dee5911a33e9692c7bf23335b.zip | |
[time] Add Linux time source using gettimeofday()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/linux')
| -rw-r--r-- | src/include/ipxe/linux/linux_time.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/ipxe/linux/linux_time.h b/src/include/ipxe/linux/linux_time.h new file mode 100644 index 000000000..93a257730 --- /dev/null +++ b/src/include/ipxe/linux/linux_time.h @@ -0,0 +1,18 @@ +#ifndef _IPXE_LINUX_TIME_H +#define _IPXE_LINUX_TIME_H + +/** @file + * + * Linux time source + * + */ + +FILE_LICENCE ( GPL2_OR_LATER ); + +#ifdef TIME_LINUX +#define TIME_PREFIX_linux +#else +#define TIME_PREFIX_linux __linux_ +#endif + +#endif /* _IPXE_LINUX_TIME_H */ |
