License Makefile, shell scripts, assembly source code, Dockerfile

This commit is contained in:
Jianfeng Jiang
2024-01-03 06:40:54 +00:00
committed by Tate, Hongliang Tian
parent faaa4438d6
commit 0920a084e4
13 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: MPL-2.0 */
// The boot header, initial boot setup code, temporary GDT and page tables are
// in the boot section. The boot section is mapped writable since kernel may
// modify the initial page table.

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: MPL-2.0 */
.text
.global context_switch
.code64

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: MPL-2.0 */
.section ".setup", "ax"
.code64
// start_of_setup32 should be loaded at CODE32_START, which is our base.

View File

@ -1,3 +1,5 @@
/* SPDX-License-Identifier: MPL-2.0 */
// 32-bit setup code starts here, and will be loaded at CODE32_START.
.section ".setup", "ax"
.code32