]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Couple missed files from previous commits.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 8 Oct 2013 17:17:46 +0000 (19:17 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 8 Oct 2013 17:17:46 +0000 (19:17 +0200)
grub-core/Makefile.core.def
grub-core/kern/emu/main.c

index 483d8a89e8969297e4232edc5b876cb22f2f5a6f..218d2e48e7fb969c38df70a687a986c8013c806c 100644 (file)
@@ -241,9 +241,9 @@ kernel = {
   emu = kern/emu/error.c;
   emu = kern/emu/cache_s.S;
   emu = kern/emu/hostdisk.c;
-  emu = kern/emu/hostdisk_unix.c;
-  emu = kern/emu/hostdisk_devmapper.c;
-  emu = kern/emu/hostdisk_os.c;
+  emu = osdep/unix/hostdisk.c;
+  emu = osdep/devmapper/hostdisk.c;
+  emu = osdep/hostdisk.c;
   emu = kern/emu/hostfs.c;
   emu = kern/emu/main.c;
   emu = kern/emu/argp_common.c;
@@ -252,6 +252,7 @@ kernel = {
   emu = kern/emu/time.c;
   emu = kern/emu/cache.c;
   emu = term/emu/console.c;
+  emu = osdep/sleep.c;
 
   videoinkernel = term/gfxterm.c;
   videoinkernel = font/font.c;
index eea57f9ef1fc7201184d91413c1b316d8d2b8a16..b8857fd6b0e02563fee3d6509d7e5be8a5e05acd 100644 (file)
@@ -233,25 +233,3 @@ main (int argc, char *argv[])
 
   return 0;
 }
-
-#if defined (__MINGW32__) || defined (__CYGWIN__)
-
-void
-grub_millisleep (grub_uint32_t ms)
-{
-  Sleep (ms);
-}
-
-#else
-
-void
-grub_millisleep (grub_uint32_t ms)
-{
-  struct timespec ts;
-
-  ts.tv_sec = ms / 1000;
-  ts.tv_nsec = (ms % 1000) * 1000000;
-  nanosleep (&ts, NULL);
-}
-
-#endif