Rename Header to HulkHeader
This commit is contained in:
parent
8498de6b62
commit
cf5956dcd3
@ -7,7 +7,7 @@ import uefi;
|
|||||||
import console = hello.console;
|
import console = hello.console;
|
||||||
import scratch = hello.scratch;
|
import scratch = hello.scratch;
|
||||||
import hulk.bootinfo;
|
import hulk.bootinfo;
|
||||||
import hulk.header : HulkHeader = Header;
|
import hulk.header;
|
||||||
import hos.page_table;
|
import hos.page_table;
|
||||||
import hos.cpu;
|
import hos.cpu;
|
||||||
import hos.memory;
|
import hos.memory;
|
||||||
|
@ -6,7 +6,7 @@ module hulk.header;
|
|||||||
/**
|
/**
|
||||||
* Header describing the HULK image.
|
* Header describing the HULK image.
|
||||||
*/
|
*/
|
||||||
struct Header
|
struct HulkHeader
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Total size of memory to be mapped.
|
* Total size of memory to be mapped.
|
||||||
|
@ -16,7 +16,7 @@ import hulk.hurl;
|
|||||||
extern extern(C) __gshared ubyte _hulk_total_size;
|
extern extern(C) __gshared ubyte _hulk_total_size;
|
||||||
|
|
||||||
@(ldc.attributes.section(".hulk_header"))
|
@(ldc.attributes.section(".hulk_header"))
|
||||||
private __gshared Header hulk_header = {
|
private __gshared HulkHeader hulk_header = {
|
||||||
&_hulk_total_size, /* total_size */
|
&_hulk_total_size, /* total_size */
|
||||||
&hulk_start, /* entry */
|
&hulk_start, /* entry */
|
||||||
16u * 1024u, /* stack_size */
|
16u * 1024u, /* stack_size */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user