[커널 17차 A조] 11주차

2020.11.09 21:37

주영 조회 수:198

2020년 11월 7일

 

linux version : mainline 5.9

 

head.S

 

SYM_CODE_START(primary_entry) 진행중

SYM_FUNC_START_LOCAL(__create_page_tables)

 

.macro compute_indices

http://www.iamroot.org/xe/index.php?mid=Programming&document_srl=207287

http://jake.dothome.co.kr/head-64/ (compute_indices count 가 count -1로 고려하는 이유)

 

.macro map_memory

.macro populate_entries

 

#define SWAPPER_MM_MMUFLAGS (PMD_ATTRINDX(MT_NORMAL) | SWAPPER_PMD_FLAGS)

 - lower attributes 분석

 

SYM_FUNC_END(__create_page_tables)

 

SYM_FUNC_START(__cpu_setup)

.macro  reset_pmuserenr_el0

.macro  reset_amuserenr_el0

 

tcr_clear_errata_bits 생략. 발생한 오류를 수정한 것으로 보임

 

MAIR_EL1_SET: 0x00_00_bb_ff_44_0c_04_00 구조 확인

 

.macro  tcr_compute_pa_size 진행중

 

 

자료

https://docs.google.com/presentation/d/1mg9ZJGTZOdFBgcrqNyp_-M_dReu5wP59esIury_U57Y/edit?usp=sharing

XE Login