enable.s
来自「操作系统SunOS 4.1.3版本的源码」· S 代码 · 共 28 行
S
28 行
/* * .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 + =
减小字号Ctrl + -
显示快捷键?