Fix a couple of problems with FreeLDR portability.
[reactos.git] / reactos / boot / freeldr / freeldr / arch / i386 / i386rtl.c
index 281ffa3..ff3ac98 100644 (file)
  */
 
 #include <freeldr.h>
-#include <arch.h>
-#include <rtl.h>
-#include <portio.h>
 
-void beep(void)
+void PcBeep(void)
 {
        sound(700);
        delay(200);
@@ -50,12 +47,12 @@ void delay(unsigned msec)
        // interrupt from the AT real-time clock chip which is available on INT 70;
        // because newer BIOSes may have much more precise timers available, it is
        // not possible to use this function accurately for very short delays unless
-       // the precise behavior of the BIOS is known (or found through testing) 
+       // the precise behavior of the BIOS is known (or found through testing)
 
        while (msec)
        {
                msec_this = msec;
-               
+
                if (msec_this > 4000)
                {
                        msec_this = 4000;