mmu.s
来自「S3C2410 下只有串口的ads工程!可以以最小工程学习 S3C2410!」· S 代码 · 共 30 行
S
30 行
; These functions are needed in the simple boot program.
; They came from the .axf file which samsung gives.
; Code adjusted by : yangchu
; 2004.9.17
AREA mmu, CODE, READONLY
; void MMU_EnableICache(void)
;
; This function enables instruction cache in ARM920T.
EXPORT MMU_EnableICache
MMU_EnableICache
mrc p15,0x0,r0,c1,c0,0
orr r0,r0,#0x1000
mcr p15,0x0,r0,c1,c0,0
mov pc,r14
; void MMU_SetAsyncBusMode(void)
;
; This function sets the AMBA bus to be asyc. mode.
EXPORT MMU_SetAsyncBusMode
MMU_SetAsyncBusMode
mrc p15,0x0,r0,c1,c0,0
orr r0,r0,#0xc0000000
mcr p15,0x0,r0,c1,c0,0
mov pc,r14
END
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?