1
0
mirror of https://github.com/taigrr/gopher-os synced 2026-03-22 01:52:35 -07:00
Files
gopher-os/kernel/cpu/cpu_amd64.go
2017-06-21 07:59:48 +01:00

21 lines
576 B
Go

package cpu
// EnableInterrupts enables interrupt handling.
func EnableInterrupts()
// DisableInterrupts disables interrupt handling.
func DisableInterrupts()
// Halt stops instruction execution.
func Halt()
// FlushTLBEntry flushes a TLB entry for a particular virtual address.
func FlushTLBEntry(virtAddr uintptr)
// SwitchPDT sets the root page table directory to point to the specified
// physical address and flushes the TLB.
func SwitchPDT(pdtPhysAddr uintptr)
// ActivePDT returns the physical address of the currently active page table.
func ActivePDT() uintptr