mirror of
https://github.com/taigrr/gopher-os
synced 2025-01-18 04:43:13 -08:00
By setting up pwd as a Go workspace, we can trim import paths from something like "github.com/achilleasa/gopher-os/kernel" to just "kernel". These changes make forking easier and also allows us to move the code to a different git hosting provider without having to rewrite the imports.
13 lines
389 B
PHP
13 lines
389 B
PHP
; vim: set ft=nasm :
|
|
|
|
; The bootloader load the kernel at LOAD_ADDRESS and jumps to the rt0_32 entrypoint
|
|
; at this address.
|
|
LOAD_ADDRESS equ 0x100000
|
|
|
|
; Page offset is the start of the 48-bit upper half canonical memory region
|
|
; The kernel is compiled with a VMA equal to PAGE_OFFSET + LOAD_ADDRESS but
|
|
; loaded at physical address LOAD_ADDRESS.
|
|
PAGE_OFFSET equ 0xffff800000000000
|
|
|
|
|