We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b2d491 commit f8648a6Copy full SHA for f8648a6
so3/avz/include/avz/domain.h
@@ -34,16 +34,16 @@
34
35
#ifdef __ASSEMBLY__
36
37
-.macro curdom rd,
38
- tmp
+.macro curdom rd, tmp
39
40
- // Compute the address of the stack bottom where cpu_info is located.
41
- ldr \rd,
42
- = (~(DOMAIN_STACK_SIZE - 1)) mov \tmp, sp and \rd, \tmp, \rd
+ // Compute the address of the stack bottom where cpu_info is located.
+ ldr \rd, = (~(DOMAIN_STACK_SIZE - 1))
+ mov \tmp, sp
+ and \rd, \tmp, \rd
43
44
- // Get the address of the domain descriptor
45
46
- [\rd].endm
+ // Get the address of the domain descriptor
+ ldr \rd, [\rd]
+.endm
47
48
#else /* __ASSEMBLY__ */
49
0 commit comments