readinfo.s

来自「此压缩包为杰得开发得z228的BSP的源代码,可以实现很多功能,尤其是视频解码有」· S 代码 · 共 45 行

S
45
字号
;
;   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 + =
减小字号Ctrl + -
显示快捷键?