forked from PAWPAW-Mirror/lib_xua
Potential build issue due to duplicate labels in inline asm in set_interrupt_handler macro
This commit is contained in:
@@ -5,6 +5,8 @@ HEAD
|
|||||||
----
|
----
|
||||||
- RESOLVED: Enumeration issue when MAX_MIX_COUNT > 0. Introduced in mixer optimisations
|
- RESOLVED: Enumeration issue when MAX_MIX_COUNT > 0. Introduced in mixer optimisations
|
||||||
in 6.11.0
|
in 6.11.0
|
||||||
|
- RESOLVED: Potential build issue due to duplicate labels in inline asm in
|
||||||
|
set_interrupt_handler macro
|
||||||
- CHANGE: HID report descriptor defines added to shared user_hid.h
|
- CHANGE: HID report descriptor defines added to shared user_hid.h
|
||||||
|
|
||||||
6.11.1
|
6.11.1
|
||||||
|
|||||||
@@ -160,10 +160,10 @@
|
|||||||
#define set_interrupt_handler(f, nstackwords, args, c, ...) \
|
#define set_interrupt_handler(f, nstackwords, args, c, ...) \
|
||||||
asm (" .section .dp.data, \"adw\", @progbits\n" \
|
asm (" .section .dp.data, \"adw\", @progbits\n" \
|
||||||
" .align 4\n" \
|
" .align 4\n" \
|
||||||
"__" #f "_kernel_stack:\n" \
|
"__" #f "_kernel_stack%=:\n" \
|
||||||
" .space " #nstackwords ", 0\n" \
|
" .space " #nstackwords ", 0\n" \
|
||||||
" .text\n"); \
|
" .text\n" \
|
||||||
asm("mov r10, %0; ldaw r11, dp[__" #f "_kernel_stack];add r11, r11, r10;ldaw r10, sp[0]; "\
|
"mov r10, %0; ldaw r11, dp[__" #f "_kernel_stack%=];add r11, r11, r10;ldaw r10, sp[0]; "\
|
||||||
"set sp,r11;stw r10, sp[0]; krestsp 0"::"r"(nstackwords-8):"r10","r11"); \
|
"set sp,r11;stw r10, sp[0]; krestsp 0"::"r"(nstackwords-8):"r10","r11"); \
|
||||||
store_args ## args(c, __VA_ARGS__) \
|
store_args ## args(c, __VA_ARGS__) \
|
||||||
do_interrupt_handler(f, args) \
|
do_interrupt_handler(f, args) \
|
||||||
|
|||||||
Reference in New Issue
Block a user