2 Commits
Author SHA1 Message Date
josh 5a5d60abae Fix HULK virtual start address to be addressable 2022-03-19 00:04:59 -04:00
josh 9182a83ef2 HELLO: Make sure scratch area is page-aligned 2022-03-18 23:43:05 -04:00
3 changed files with 3 additions and 3 deletions

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
__gshared ubyte[512 * 1024] scratch;
align(4096) __gshared ubyte[512 * 1024] scratch;
__gshared size_t scratch_used;
size_t scratch_free()
+1 -1
View File
@@ -2,7 +2,7 @@ ENTRY(hulk_start)
SECTIONS
{
. = 0x0000800000000000;
. = 0x0000400000000000;
_hulk_mem_start = .;
.text BLOCK(4K) : ALIGN(4K)
+1 -1
View File
@@ -19,4 +19,4 @@ struct BootInfo
size_t memory_map_count;
}
enum ulong HULK_VIRTUAL_START = 0x0000_8000_0000_0000u;
enum ulong HULK_VIRTUAL_START = 0x0000_4000_0000_0000u;