mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-26 15:26:43 +00:00
ZealBooter: memmove() -> memcpy()
This commit is contained in:
parent
375a487087
commit
e067776510
1 changed files with 2 additions and 2 deletions
|
@ -265,8 +265,8 @@ void _start(void) {
|
|||
|
||||
uintptr_t boot_stack = ALIGN_UP(final_address + kernel->size + trampoline_size, 16) + boot_stack_size;
|
||||
|
||||
memmove(trampoline_phys, trampoline, trampoline_size);
|
||||
memmove((void *)final_address, CKernel, kernel->size);
|
||||
memcpy(trampoline_phys, trampoline, trampoline_size);
|
||||
memcpy((void *)final_address, CKernel, kernel->size);
|
||||
|
||||
asm volatile (
|
||||
"mov %5, %%rsp;"
|
||||
|
|
Loading…
Reference in a new issue