Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 566 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 566 Bytes

TP5A0

TP5A0 is An Experimental 32-Bit Macrokernel.

Quick Start

$ make build
$ make run

Components

Bootloader

Boot and load tp5a0 kernel, also enable protected mode and paging.

  • boot: In the 0th sector (LBA), and be loaded to memory address 0x7c00 ~ 0x7dff, size of 512B.
  • loader: In the $[2nd, 4th]$ sectors (LBA), and be loaded to memory 0x900 ~ 0x10ff, size of 2KB.

Memory

Page directory locates in physical address 0x100000 (1MB) with size 4K, first page table locates in physical address 0x101000 (1MB + 4KB) with size 4KB.