MCPcopy Create free account
hub / github.com/Andy-Python-Programmer/aero / set_gs_base

Method set_gs_base

src/aero_kernel/src/arch/x86_64/task.rs:552–555  ·  view source on GitHub ↗

Sets the GS base to the provided `base`. ## Safety This function **must** be called by the process that this [`ArchTask`] instance belongs to. This is required since we also update the GS base register with the `base` immediately (not waiting for a switch).

(&mut self, base: VirtAddr)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

arch_prctlFunction · 0.80

Calls 1

set_inactive_gsbaseFunction · 0.85

Tested by

no test coverage detected