Documentation available on:http://www.superh-tkernel.org

1. Introduction

2. Memory Management

2.1. Logical Address space and Physical Address space

– Virtual memory space – Dynamically generated OS resources and stacks
– Physical memory space – T-Kernel body, initial management data, interrupt handlers, etc.


2.2. Paging

 
2.2.1. Logical Address Space Management of the Task-Specific Space


2.2.2. Logical Address Space Management of the System-Common Space


2.3. Data Structure

The address management facility in the T-Kernel/SE is realized using the following three structures:
• PTH (Page Table Handle)
• PDE (Page Directory Handle)
• PTE (Page Table Entry)

3. Construction of Memory Management Related Files in the T-Kernel/SE Source Tree
3.1. “$BD/tkse/include” Directory

tkse/include/sys/sysdepend/<TARGET>/memdef_depend.h: PAGESIZE, NUM_PDIR_ENTRIES, LOCALSPACE_TOP, LOCALSPACE_END, SYSSPACE_TOP, SYSSPACE_END, SYSPRGSPACE_TOP, SYSPRGSPACE_END, IOSPACE_TOP, IOSPACE_END.     
3.2. “$BD/tkse/extension/memory” Directory

Why does there exist such situiation that it is necessary to define a function for the page fault that occurs before the T-Kernel starts (function names including tmp) and a function for the page fault that occurs after the T-Kernel has started, respectively?
4. Reference Literatures and URLs

(1) T-Kernel Standard Handbook, Revised New Version (published by Personal Media) ()
(2) T-Kernel Embedding Guidelines Ver. 1.00 (YRP Ubiquitous Networking Laboratory, TRON Association)
(3) T-Engine Forum (http://www.t-engine.org/))
(4) TRON Project (http://www.tron.org/)
(5) TEADEC (http://www.t-engine.com.sg/)
(6) SH/M32RT-Engine HomePage ( http://www.superh-tkernel.org/, http://www.m32r-tkernel.org )
(7) TE@Onghu (http://www.onghu.com/te/)

Advertisements