Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178179995
D10058.1796208766.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
842 B
Referenced Files
None
Subscribers
None
D10058.1796208766.diff
View Options
Index: sys/boot/i386/libi386/pxe.c
===================================================================
--- sys/boot/i386/libi386/pxe.c
+++ sys/boot/i386/libi386/pxe.c
@@ -621,13 +621,6 @@
v86.ctl = V86_FLAGS;
}
-time_t
-getsecs(void)
-{
- time_t n = 0;
- time(&n);
- return n;
-}
static int
pxe_netif_match(struct netif *nif, void *machdep_hint)
Index: sys/boot/i386/libi386/time.c
===================================================================
--- sys/boot/i386/libi386/time.c
+++ sys/boot/i386/libi386/time.c
@@ -32,6 +32,7 @@
#include "bootstrap.h"
#include "libi386.h"
+time_t getsecs(void);
static int bios_seconds(void);
/*
@@ -91,6 +92,14 @@
return(now);
}
+time_t
+getsecs(void)
+{
+ time_t n = 0;
+ time(&n);
+ return n;
+}
+
/*
* Use the BIOS Wait function to pause for (period) microseconds.
*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 2, 10:52 AM (9 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42141146
Default Alt Text
D10058.1796208766.diff (842 B)
Attached To
Mode
D10058: loader: move bios getsecs into time.c
Attached
Detach File
Event Timeline