📄 mmutable.s
字号:
;****************************************************************************
;* Copyright Faraday Technology Corp 2002-2003. All rights reserved. *
;*--------------------------------------------------------------------------*
;* Name:mmutable.s *
;* Description: MMU related define *
;* Author: Fred Chien *
;****************************************************************************
;INCLUDE cpe.s
INCLUDE mmu_h.s
GET retmacro.s ; Thumb/ARM interworking
EXPORT Level1tab
EXPORT Level2tab_ROM
EXPORT MPUMaptab
KEEP
; AREA MMU_TTentries, DATA, READONLY,ALIGN=14
AREA MMU_TTentries, DATA, READONLY
;------------------------------------------------------------------
; MMU/MPU lookup tables. Because the SETUPMMU macro is shared with
; semihosted, it uses simple names, these are aliased to uHAL
; standard for internal use.
;
; NOTE: These areas are declared even for processors without MMUs
; 4-byte entries,1MB sections
fLib_Level1tab
;Level1tab % (L1_TABLE_ENTRIES * 4)
Level1tab % 4
; 4-byte entries, 64kB pages; x16 alias
fLib_Level2tab_ROM
Level2tab_ROM % 4
;Level2tab_ROM % (L2_TABLE_ENTRIES * L2_ENTRY_SIZE * 4)
; 4-byte entries, 8 regions + 3 flags
fLib_MPUMaptab
MPUMaptab % 4
;MPUMaptab % (MPU_TABLE_ENTRIES * 4)
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -