mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-30 06:48:22 +00:00
all: make memory model saner
This commit is contained in:
@@ -113,7 +113,7 @@ pub fn init() linksection(r.init) void {
|
||||
|
||||
start_thread.remote(@intCast(cpu_id)).* = make_thread(@ptrCast(&ap_entry), stack_top - r.kib(32));
|
||||
|
||||
rtl.barrier.wmb();
|
||||
rtl.barrier.fence(.release);
|
||||
|
||||
// Send the INIT-SIPI-SIPI sequence to start the AP.
|
||||
apic.send_init(apic_id);
|
||||
|
||||
Reference in New Issue
Block a user