Last change
on this file since d03776e was
d03776e,
checked in by Alex White <alex.white@…>, on 10/01/21 at 04:57:01
|
microblaze: Rework for RTEMS 6
This reworks the existing MicroBlaze? architecture port and BSP to
achieve basic functionality using the latest RTEMS APIs.
|
-
Property mode set to
100644
|
File size:
404 bytes
|
Line | |
---|
1 | #ifdef HAVE_CONFIG_H |
---|
2 | #include "config.h" |
---|
3 | #endif |
---|
4 | |
---|
5 | #include <rtems/asm.h> |
---|
6 | |
---|
7 | .text |
---|
8 | .align 4 |
---|
9 | |
---|
10 | PUBLIC(_CPU_Context_volatile_clobber) |
---|
11 | |
---|
12 | SYM(_CPU_Context_volatile_clobber): |
---|
13 | |
---|
14 | .macro clobber_register reg |
---|
15 | addi r5, r5, -1 |
---|
16 | add \reg, r0, r5 |
---|
17 | .endm |
---|
18 | |
---|
19 | clobber_register r3 |
---|
20 | clobber_register r4 |
---|
21 | clobber_register r6 |
---|
22 | clobber_register r7 |
---|
23 | clobber_register r8 |
---|
24 | clobber_register r9 |
---|
25 | clobber_register r10 |
---|
26 | |
---|
27 | rtsd r15, 8 |
---|
28 | nop |
---|
Note: See
TracBrowser
for help on using the repository browser.