Merge pull request #13 from liuyd-dev/patch-1

am,platform,nemu: fix typo in preprocessor directive
This commit is contained in:
Zihao Yu 2024-03-29 09:02:01 +08:00 committed by GitHub
commit e76ca7406a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@
# define nemu_trap(code) asm volatile("mv a0, %0; ebreak" : :"r"(code))
#elif defined(__ISA_LOONGARCH32R__)
# define nemu_trap(code) asm volatile("move $a0, %0; break 0" : :"r"(code))
#elif
#else
# error unsupported ISA __ISA__
#endif