README.md 903 字节
Newer Older
R
rain 已提交
1 2
<pre>

R
rain 已提交
3 4 5 6
Cunix kernel
============

# Version
R
rain 已提交
7
`0.362s-boot`:  
R
rain 已提交
8 9 10 11
&#9`Boot` read `loader` from `boot-device`, then it jumps to it.  
&#9Loader doesn't load anything, it just enable long-mode and paging.  
&#9Loader defines temporary page table at `0x70000` (0x0000:0x7000),  
&#9it uses `2MB` page to make 0-12 MB memory to `0x0000 - 0xc0000`.  
R
rain 已提交
12

R
rain 已提交
13
`0.385s-boot`:  
R
rain 已提交
14
&#9rebuild `boot` and `loader`.  
R
rain 已提交
15

R
rain 已提交
16
`0.391s-boot`:  
R
rain 已提交
17 18
&#9loader` forgot open A20 line, so `0.385` and `0.362` just can<
&#9use 1MB memory like real-mode.  
R
rain 已提交
19

R
rain 已提交
20
`0.432s-boot`:  
R
rain 已提交
21
&#9make directory `include/`, and add segment.inc, but it doesn't work. :-)  
R
rain 已提交
22

R
rain 已提交
23
`0.451s-boot`:  
R
rain 已提交
24
&#9`boot` can load 8 sectors (4KB) of loader (not 1 sector).  
25

26
`0.466s-boot`:  
R
rain 已提交
27
&#9rebuild `boot`
28 29 30 31 32 33

`0.487s-boot`:  
&#9`loader` let FS can access 4GB memory in real-mode. because 
&#9`loader` loaded GDT and load a data-segment to fs, then disable
&#9protect-mode. 

R
rain 已提交
34
</pre>
35 36