Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150993992
D10058.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
872 B
Referenced Files
None
Subscribers
None
D10058.diff
View Options
Index: head/sys/boot/i386/libi386/pxe.c
===================================================================
--- head/sys/boot/i386/libi386/pxe.c
+++ head/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: head/sys/boot/i386/libi386/time.c
===================================================================
--- head/sys/boot/i386/libi386/time.c
+++ head/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
Mon, Apr 6, 8:51 AM (25 m, 26 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30952949
Default Alt Text
D10058.diff (872 B)
Attached To
Mode
D10058: loader: move bios getsecs into time.c
Attached
Detach File
Event Timeline
Log In to Comment