admin

package
v0.0.0-...-e9d5adc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SvcAcceptSession

func SvcAcceptSession(serverHandle *uint32, portHandle uint32) uint64

SvcAcceptSession Accepts an IPC session.

This is a privileged syscall. svc 0x41

func SvcChangeKernelTraceState

func SvcChangeKernelTraceState(kernelTraceState uint32)

SvcChangeKernelTraceState Performs a debugging operation on the kernel

This is a privileged syscall. Only on firmware 4.0.0+ svc 0x3D

func SvcControlCodeMemory

func SvcControlCodeMemory(codeHandle uint32, op uint64, dstAddr, size uintptr, perm uint64) uint64

SvcControlCodeMemory Maps code memory in the caller's address space

Only on firmware 4.0.0+ This is a privileged syscall. svc 0x4C

func SvcCreateCodeMemory

func SvcCreateCodeMemory(handle *uint32, srcAddr, size uintptr) uint64

SvcCreateCodeMemory Creates code memory in the caller's address space

Only on firmware 4.0.0+ This is a privileged syscall. svc 0x4B

func SvcCreateEvent

func SvcCreateEvent(serverHandle, clientHandle *uint32) uint64

SvcCreateEvent Creates a system event.

This is a privileged syscall. svc 0x45

func SvcCreateInterruptEvent

func SvcCreateInterruptEvent(handle *uint32, irqNum uint64, flag uint32) uint64

SvcCreateInterruptEvent Creates an event and binds it to a specific hardware interrupt.

This is a privileged syscall. svc 0x53

func SvcCreateSession

func SvcCreateSession(serverHandle, clientHandle *uint32, unk0 uint32, unk1 uint64) uint64

SvcCreateSession Creates an IPC session.

This is a privileged syscall. svc 0x40

func SvcCreateSharedMemory

func SvcCreateSharedMemory(handle *uint32, size uintptr, localPerm, otherPerm uint32) uint64

SvcCreateSharedMemory Creates a block of shared memory.

This is a privileged syscall. svc 0x50

func SvcDumpInfo

func SvcDumpInfo(dumpInfoType uint32, arg0 uint64)

SvcDumpInfo Causes the kernel to dump debug information.

This is a privileged syscall. Only on firmware 1.0.0 to 3.0.2 svc 0x3C

func SvcKernelDebug

func SvcKernelDebug(kernelDebugType uint32, arg0, arg1, arg2 uint64)

SvcKernelDebug Performs a debugging operation on the kernel.

This is a privileged syscall. Only on firmware 4.0.0+ svc 0x3C

func SvcMapPhysicalMemoryUnsafe

func SvcMapPhysicalMemoryUnsafe(addr, size uintptr) uint64

SvcMapPhysicalMemoryUnsafe Maps unsafe memory (usable for GPU DMA) for a system module at the desired address.

Only on firmware 5.0.0+ This is a privileged syscall. svc 0x48

func SvcMapTransferMemory

func SvcMapTransferMemory(tmemHandle uint32, addr, size uintptr, perm uint32) uint64

SvcMapTransferMemory Maps a block of transfer memory.

This is a privileged syscall. svc 0x51

func SvcQueryPhysicalAddress

func SvcQueryPhysicalAddress(out uintptr, virtaddr uintptr) uint64

SvcQueryPhysicalAddress Queries information about a certain virtual address, including its physical address.

This is a privileged syscall. svc 0x54

func SvcReadWriteRegister

func SvcReadWriteRegister(outVal *uint32, regAddr uint64, rwMask, inVal uint32) uint64

SvcReadWriteRegister Reads/writes a protected MMIO register.

This is a privileged syscall. svc 0x4E

func SvcReplyAndReceive

func SvcReplyAndReceive(index *int32, handles *uint32, handleCount uint32, replyTarget uint32, timeout uint64) uint64

SvcReplyAndReceive Performs light IPC input/output.

This is a privileged syscall. svc 0x43

func SvcReplyAndReceiveLight

func SvcReplyAndReceiveLight(handle uint32) uint64

SvcReplyAndReceiveLight Performs light IPC input/output.

This is a privileged syscall. svc 0x42

func SvcReplyAndReceiveWithUserBuffer

func SvcReplyAndReceiveWithUserBuffer(index *int32, userBuffer uintptr, size uint64, handles *uint32, handleCount uint32, replyTarget uint32, timeout uint64) uint64

SvcReplyAndReceiveWithUserBuffer Performs IPC input/output from an user allocated buffer

This is a privileged syscall. svc 0x44

func SvcSetProcessActivity

func SvcSetProcessActivity(process uint32, paused bool) uint64

SvcSetProcessActivity Configures the pause/unpause status of a process.

This is a privileged syscall. svc 0x4F

func SvcSetUnsafeLimit

func SvcSetUnsafeLimit(size uintptr) uint64

SvcSetUnsafeLimit Sets the system-wide limit for unsafe memory mappable using svcMapPhysicalMemoryUnsafe.

Only on firmware 5.0.0+ This is a privileged syscall. svc 0x4A

func SvcSleepSystem

func SvcSleepSystem()

SvcSleepSystem Causes the system to enter deep sleep.

This is a privileged syscall. svc 0x4D

func SvcUnmapPhysicalMemoryUnsafe

func SvcUnmapPhysicalMemoryUnsafe(addr, size uintptr) uint64

SvcMapPhysicalMemoryUnsafe Undoes the effects of SvcMapPhysicalMemoryUnsafe

Only on firmware 5.0.0+ This is a privileged syscall. svc 0x49

func SvcUnmapTransferMemory

func SvcUnmapTransferMemory(tmemHandle uint32, addr, size uintptr) uint64

SvcUnmapTransferMemory Unmaps a block of transfer memory.

This is a privileged syscall. svc 0x52

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL