1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
kvisc/ka/sys/drv/cpudev.k
2019-07-10 17:17:45 +02:00

74 lines
956 B
Plaintext

; The OS/K Team licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
CPUDEV := 0
RFS.GetMaxIdx:
iocall CPUDEV, 16
ret
RFS.GetUsage:
iocall CPUDEV, 17
ret
RFS.GetCurIdx:
iocall CPUDEV, 18
ret
RFS.GetLeastAvail:
iocall CPUDEV, 19
ret
RFS.IsFrameActive:
iocall CPUDEV, 20
ret
RFS.ActivateFrame:
iocall CPUDEV, 21
ret
RFS.DeactivateFrame:
iocall CPUDEV, 22
ret
RFS.CopyFrame:
iocall CPUDEV, 23
ret
RFS.MoveFrame:
iocall CPUDEV, 24
ret
RFS.SwitchFrame:
iocall CPUDEV, 25
ret
RFS.LoadArgs:
iocall CPUDEV, 32
ret
RFS.LoadReg:
.slot := 33
iocall CPUDEV, .slot
ret
RFS.StoreReg:
iocall CPUDEV, 48
ret
IDT.AddHandler:
iocall CPUDEV, 64
ret
IDT.DelHandler:
iocall CPUDEV, 65
ret
IDT.QueryHandler:
iocall CPUDEV, 66
IDT.DoneHandling:
iocall CPUDEV, 67
ret