mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-14 05:22:24 +00:00
Kernel: Ensure that HPET is initialized before using random the first time
This commit is contained in:
parent
97234a5b9d
commit
67e93745cb
Notes:
sideshowbarker
2024-07-18 22:50:20 +09:00
Author: https://github.com/sppmacd
Commit: 67e93745cb
Pull-request: https://github.com/SerenityOS/serenity/pull/5046
Issue: https://github.com/SerenityOS/serenity/issues/4490
Reviewed-by: https://github.com/tomuta ✅
1 changed files with 2 additions and 2 deletions
|
@ -144,10 +144,10 @@ extern "C" [[noreturn]] void init()
|
||||||
|
|
||||||
klog() << "Starting SerenityOS...";
|
klog() << "Starting SerenityOS...";
|
||||||
|
|
||||||
__stack_chk_guard = get_fast_random<u32>();
|
|
||||||
|
|
||||||
TimeManagement::initialize(0);
|
TimeManagement::initialize(0);
|
||||||
|
|
||||||
|
__stack_chk_guard = get_fast_random<u32>();
|
||||||
|
|
||||||
NullDevice::initialize();
|
NullDevice::initialize();
|
||||||
if (!get_serial_debug())
|
if (!get_serial_debug())
|
||||||
new SerialDevice(SERIAL_COM1_ADDR, 64);
|
new SerialDevice(SERIAL_COM1_ADDR, 64);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue