You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
398 B
ArmAsm
19 lines
398 B
ArmAsm
%ifndef BOOT_LAYOUT_H
|
|
%define BOOT_LAYOUT_H
|
|
|
|
%define S1_ADDR 0x7c00
|
|
%define S2_ADDR 0x8200
|
|
|
|
; %define MEMMAP 0x6a00
|
|
; %define MEMMAP_END S2_ADDR
|
|
; %define MEMMAP_ENT_SIZE 32
|
|
; %define MEMMAP_CAP ((MEMMAP_END - MEMMAP) / MEMMAP_ENT_SIZE)
|
|
|
|
%define REAL_GLOBALS 0x4000
|
|
%define REAL_GLOBALS_END 0x6a00
|
|
%define REAL_STACK_BASE REAL_GLOBALS
|
|
|
|
%define S234_MAGIC 0x544e4150
|
|
|
|
%endif
|