Documentation ¶
Index ¶
- Constants
- func BindEventHandler(port uint32)
- func HYPERVISOR_console_io(op uint64, size uint64, data uintptr) uintptr
- func HYPERVISOR_event_channel_op(cmd uintptr, op unsafe.Pointer) uintptr
- func HYPERVISOR_mmu_update(updates []mmuUpdate, domid uint16) uintptr
- func HYPERVISOR_mmuext_op(ops []mmuExtOp, domid uint16) uintptr
- func HYPERVISOR_sched_op(op uintptr, arg unsafe.Pointer) uintptr
- func HYPERVISOR_set_callbacks(eventCallbackAddr, failsafeCallbackAddr uintptr) uintptr
- func HYPERVISOR_set_timer_op(timeout int64) uintptr
- func HYPERVISOR_update_va_mapping(vaddr uintptr, val uintptr, flags uint64) uintptr
- func LoadXenStore() (ring unsafe.Pointer, port uint32)
- func NotifyEventChannel(port uint32)
- func WaitEvent(port uint32)
- type Context
- type Task
- type TaskList
Constants ¶
View Source
const ( PTE_PAGE_FLAGS = xenPageTablePresent | xenPageTableWritable | xenPageTableUserspaceAccessible | xenPageTableAccessed PTE_PAGE_TABLE_FLAGS = xenPageTablePresent | xenPageTableUserspaceAccessible | xenPageTableAccessed | xenPageTableDirty PTE_TEMP = xenPageTableGuest1 )
View Source
const DOMID_SELF = 0x7FF0
Variables ¶
This section is empty.
Functions ¶
func BindEventHandler ¶
func BindEventHandler(port uint32)
BindEventHandler registers intent to receive events on port by later calling WaitEvent.
func HYPERVISOR_console_io ¶
func HYPERVISOR_mmu_update ¶
func HYPERVISOR_mmuext_op ¶
func HYPERVISOR_set_timer_op ¶
func LoadXenStore ¶
LoadXenStore returns a pointer to the shared-memory XenStore ring interface and event channel port.
func NotifyEventChannel ¶
func NotifyEventChannel(port uint32)
NotifyEventChannel sends an event signal to the listener on port.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context describes the state of a task for saving or restoring a task's execution context.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.