Differences From
Artifact [4315e80d93]:
12 12
13 13 #ifdef KFenv_posix
14 14 # include <posix.h>
15 15 #else
16 16 Knoimpl(k_platform_syscall)
17 17 #endif
18 18
19 -extern void k_platform_syscall_raw (
20 - k_platform_syscall_return* return_slot,
21 - k_platform_syscall_error* error_no_slot,
22 - enum k_platform_syscall syscall_no,
23 - u8 valency,
24 - s64* args);
19 +volatile extern void k_platform_syscall_raw (
20 + volatile k_platform_syscall_return* return_slot,
21 + volatile k_platform_syscall_error* error_no_slot,
22 + volatile enum k_platform_syscall syscall_no,
23 + volatile u8 valency,
24 + volatile s64* args);
25 25
26 -struct k_platform_syscall_answer
27 -k_platform_syscall(enum k_platform_syscall call, u8 valency, s64 args[]) {
26 +volatile struct k_platform_syscall_answer
27 +k_platform_syscall(volatile enum k_platform_syscall call, volatile u8 valency, volatile s64 args[]) {
28 28 struct k_platform_syscall_answer answer;
29 29
30 30 k_platform_syscall_raw
31 31 (&answer.ret,
32 32 &answer.error,
33 33 call, valency, args);
34 34
35 35 return answer;
36 36 }