
C의 매크로를 통해 많은 걸 엮어서 사용할 수 있다.
하나의 매크로함수에 여러 동작 엮기
# define CRITICAL_IO_IN()\
critical_sction_in();\
ret = io_read();\
crtical_section_out();
만약에 중괄호를 넣어야하는 경우 (if, switch 같은) 꼭 {} 중괄호를 넣어야한다.
DMA: Direct Memory Access
Cache: SW에서 자주 접근하는 주소를 모아놓는 공간
Cache = Cache Controller + Cache Memory
Memory Manage Unit
< 용어 정리 >
page: Virtual 주소
TLB(Translation Look Aside Buffer): Page 반환값 버퍼
entry: phys ~ virtual 반환 관련 Data Info
TTB(Translation Table Base Addr): Page Tables 시작 값
page table: entry table
frame: phys 주소

(TODO: 다시 PC로 그리기)