Revert "This patch adds the BIOS support for SMP, ACPI, PCI, SMM, SMBIOS."
[seabios.git] / src / util.h
index ab530741ea0de1b215ae953b95f16e6b2ba49c89..2b35721dc8435fcc0e4ebbd3afa300f725c3028d 100644 (file)
@@ -52,15 +52,6 @@ memset(void *s, int c, size_t n)
         ((char *)s)[--n] = c;
 }
 
-static inline void
-memcpy(void *d, void *s, size_t n)
-{
-    while (n) {
-        ((char *)d)[n-1] = ((char *)s)[n-1];
-               n--;
-       }
-}
-
 static inline void
 eoi_master_pic()
 {
@@ -147,10 +138,4 @@ handle_ret(struct bregs *regs, u8 code)
     set_cf(regs, code);
 }
 
-unsigned long
-align(unsigned long addr, unsigned long v)
-{
-    return (addr + v - 1) & ~(v - 1);
-}
-
 #endif // util.h