repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
revert between 56095 -> 55830 in arch
[AROS.git]
/
arch
/
all-pc
/
kernel
/
issuper.s
blob
e94f409043d089df44174bf4d3ab7681941cf095
1
.text
2
.align 16
3
.globl Kernel_13_KrnIsSuper
4
.type Kernel_13_KrnIsSuper, @function
5
6
Kernel_13_KrnIsSuper
:
7
mov
%
cs
, %
ax
8
and
$
0x03
, %
eax
//
Lower two bits are CPL
9
xor
$
0x03
, %
eax
//
0x03
will give zero
,
0x00
will give nonzero
10
ret
11
12
.size Kernel_13_KrnIsSuper, .-Kernel_13_KrnIsSuper