mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[MIPS] Add accessors for random register.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
96173a6c4e
commit
272bace7f3
1 changed files with 3 additions and 0 deletions
|
@ -765,6 +765,9 @@ do { \
|
|||
#define read_c0_index() __read_32bit_c0_register($0, 0)
|
||||
#define write_c0_index(val) __write_32bit_c0_register($0, 0, val)
|
||||
|
||||
#define read_c0_random() __read_32bit_c0_register($1, 0)
|
||||
#define write_c0_random(val) __write_32bit_c0_register($1, 0, val)
|
||||
|
||||
#define read_c0_entrylo0() __read_ulong_c0_register($2, 0)
|
||||
#define write_c0_entrylo0(val) __write_ulong_c0_register($2, 0, val)
|
||||
|
||||
|
|
Loading…
Reference in a new issue