📄 readinfo.s
字号:
;
; The content of this file or document is CONFIDENTIAL and PROPRIETARY
; to Jade Technologies Co., Ltd. It is subjected to the terms of a
; License Agreement between Licensee and Jade Technologies Co., Ltd.
; restricting among other things, the use, reproduction, distribution
; and transfer. Each of the embodiments, including this information
; and any derivative work shall retain this copyright notice.
;
; Copyright (c) 2004 - 2005 Jade Technologies Co., Ltd.
; All rights reserved.
; ----------------------------------------------------------------
; File: readinfo.s,v
; Revision: 1.0
; ----------------------------------------------------------------
; $
OPT 2 ; disable listing
INCLUDE kxarm.h
OPT 1 ; reenable listing
OPT 128 ; disable listing of macro expansions
INCLUDE armmacros.inc
TEXTAREA
LEAF_ENTRY ARMReadCacheInfo
;++
; Routine Description:
; Return the cache info word (CP15 register 0, code 1)
;
; Syntax:
; DWORD ARMReadCacheInfo(void);
;
; Arguments:
; -- none --
;
; Return Value:
; cache info word - see the ARM ARM for more details
;--
mrc p15, 0, r0, c0, c0, 1 ; read the cache info register
RETURN
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -