📄 enable.s
字号:
/* * .seg "data" * .asciz "@(#)enable.s 1.1 92/07/30" * Copyright (c) 1990 by Sun Microsystems, Inc. * * system enable/disable register control */ .seg "text" .align 4#include <machine/asm_linkage.h>#include <machine/mmu.h>#include <machine/enable.h>ENTRY(sys_enable) set ENABLEREG, %o2 lduba [%o2]ASI_CTL, %o1 or %o1, %o0, %o0 retl stba %o0, [%o2]ASI_CTLENTRY(sys_disable) set ENABLEREG, %o2 lduba [%o2]ASI_CTL, %o1 andn %o1, %o0, %o0 retl stba %o0, [%o2]ASI_CTL
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -