mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 23:17:44 +00:00
Switch over to building everything with i686-elf-g++.
This commit is contained in:
parent
afa6f88039
commit
75b100673f
17 changed files with 58 additions and 75 deletions
|
@ -102,7 +102,7 @@ int memcmp(const void* v1, const void* v2, size_t n)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void* memcpy(void* dest_ptr, const void* src_ptr, dword n)
|
||||
void* memcpy(void* dest_ptr, const void* src_ptr, size_t n)
|
||||
{
|
||||
if (n >= 1024)
|
||||
return mmx_memcpy(dest_ptr, src_ptr, n);
|
||||
|
@ -130,7 +130,7 @@ void* memcpy(void* dest_ptr, const void* src_ptr, dword n)
|
|||
return dest_ptr;
|
||||
}
|
||||
|
||||
void* memset(void* dest_ptr, int c, dword n)
|
||||
void* memset(void* dest_ptr, int c, size_t n)
|
||||
{
|
||||
dword dest = (dword)dest_ptr;
|
||||
// FIXME: Support starting at an unaligned address.
|
||||
|
@ -293,7 +293,5 @@ char* strpbrk(const char* s, const char* accept)
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue