mirror of
https://github.com/memtest86plus/memtest86plus
synced 2025-03-12 08:53:02 +03:00
app/main: Adjust the inline ASM to i386 only
Make the inline ASM code in function run_at() x86 arch only. Singed-off-by: Chao Li <lichao@loongson.cn>
This commit is contained in:
parent
28689102a4
commit
fa583c906b
@ -166,7 +166,7 @@ static void run_at(uintptr_t addr, int my_cpu)
|
||||
}
|
||||
LONG_BARRIER;
|
||||
|
||||
#ifndef __x86_64__
|
||||
#ifdef __i386__
|
||||
// The 32-bit startup code needs to know where it is located.
|
||||
__asm__ __volatile__("movl %0, %%edi" : : "r" (new_start_addr));
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user