Compare commits
No commits in common. "e1f38bd5ea6d1046733d8e36d5ff460104cc35da" and "f7dde241ad7aa2769ad4e09bf0b1ddcde53d142d" have entirely different histories.
e1f38bd5ea
...
f7dde241ad
@ -419,8 +419,6 @@ private bool map_hulk(PageTable * pt_base)
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
/* Zero BSS region. */
|
|
||||||
memset64(cast(void *)bootinfo().bss_phys, 0u, hulk_bss_size() / 8);
|
|
||||||
/* Map HULK stack. */
|
/* Map HULK stack. */
|
||||||
virt = hulk_virt_stack_top() - hulk_stack_size();
|
virt = hulk_virt_stack_top() - hulk_stack_size();
|
||||||
if (!map4kregion(virt, bootinfo().stack_phys, hulk_stack_size(), pt_base))
|
if (!map4kregion(virt, bootinfo().stack_phys, hulk_stack_size(), pt_base))
|
||||||
|
@ -66,6 +66,7 @@ void hulk_start()
|
|||||||
hulk_header.bootinfo.fb.height,
|
hulk_header.bootinfo.fb.height,
|
||||||
hulk_header.bootinfo.fb.stride);
|
hulk_header.bootinfo.fb.stride);
|
||||||
Console.initialize();
|
Console.initialize();
|
||||||
|
Rtc.initialize();
|
||||||
Console.clear();
|
Console.clear();
|
||||||
Klog.initialize();
|
Klog.initialize();
|
||||||
|
|
||||||
@ -75,7 +76,6 @@ void hulk_start()
|
|||||||
Pic.initialize();
|
Pic.initialize();
|
||||||
Acpi.initialize(hulk_header.bootinfo.acpi_xsdt_phys);
|
Acpi.initialize(hulk_header.bootinfo.acpi_xsdt_phys);
|
||||||
Apic.initialize();
|
Apic.initialize();
|
||||||
Rtc.initialize();
|
|
||||||
/* Read the current system time. */
|
/* Read the current system time. */
|
||||||
Rtc.time t = Rtc.read_rtc_time();
|
Rtc.time t = Rtc.read_rtc_time();
|
||||||
Klog.writefln("System time is 20%02u-%02u-%02u %02u:%02u:%02u",
|
Klog.writefln("System time is 20%02u-%02u-%02u %02u:%02u:%02u",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user