diff --git a/limine.bin b/limine.bin index 52db9c0f..e21149f6 100644 Binary files a/limine.bin and b/limine.bin differ diff --git a/src/lib/builtins.asm b/src/lib/builtins.asm index 3f10e503..924cbe16 100644 --- a/src/lib/builtins.asm +++ b/src/lib/builtins.asm @@ -1,50 +1,5 @@ section .text -global __ashldi3 -__ashldi3: - push ebx - mov eax, dword [esp+8] - mov edx, dword [esp+12] - mov ecx, dword [esp+16] - - test ecx, ecx - jz .done - .next: - shl edx, 1 - shl eax, 1 - setc bl - or dl, bl - loop .next - - .done: - pop ebx - ret - -global __udivdi3 -__udivdi3: - mov eax, dword [esp+4] - mov edx, dword [esp+8] - div dword [esp+12] - xor edx, edx - ret - -global __divdi3 -__divdi3: - mov eax, dword [esp+4] - mov edx, dword [esp+8] - idiv dword [esp+12] - xor edx, edx - ret - -global __umoddi3 -__umoddi3: - mov eax, dword [esp+4] - mov edx, dword [esp+8] - div dword [esp+12] - mov eax, edx - xor edx, edx - ret - global memcpy memcpy: push esi