projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "This patch adds the BIOS support for SMP, ACPI, PCI, SMM, SMBIOS."
[seabios.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index ab530741ea0de1b215ae953b95f16e6b2ba49c89..2b35721dc8435fcc0e4ebbd3afa300f725c3028d 100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-52,15
+52,6
@@
memset(void *s, int c, size_t n)
((char *)s)[--n] = c;
}
((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()
{
static inline void
eoi_master_pic()
{
@@
-147,10
+138,4
@@
handle_ret(struct bregs *regs, u8 code)
set_cf(regs, code);
}
set_cf(regs, code);
}
-unsigned long
-align(unsigned long addr, unsigned long v)
-{
- return (addr + v - 1) & ~(v - 1);
-}
-
#endif // util.h
#endif // util.h