repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Expand PMF_FN_* macros.
[netbsd-mini2440.git]
/
sys
/
arch
/
mips
/
rmi
/
rmixl_subr.S
blob
c3955aca4b118078f9977642245e8ad0ad2b00b0
1
/* $NetBSD$ */
2
3
#include "opt_cputype.h"
4
5
#include <sys/cdefs.h>
6
7
#include <mips/asm.h>
8
#include <mips/cpuregs.h>
9
10
.set push
11
.set noreorder
12
.set mips64
13
.text
14
15
/*
16
* read XLS Processor Control register
17
*
18
* uint64_t rmixl_mfcr(u_int cr);
19
*/
20
LEAF(rmixl_mfcr)
21
j ra
22
mfcr v0, a0
23
END(rmixl_mfcr)
24
25
/*
26
* write XLS Processor Control register
27
*
28
* void rmixl_mtcr(u_int cr, uint64_t val);
29
*/
30
LEAF(rmixl_mtcr)
31
j ra
32
mtcr a1, a0
33
END(rmixl_mtcr)
34
35
.set pop