Go to the documentation of this file.
18 #ifndef __LIB_LIBARCH_INTEL_INTELTRAPS_H
19 #define __LIB_LIBARCH_INTEL_INTELTRAPS_H
55 asm volatile (
"int $0x90" :
"=a"(ret) :
"a"(num),
"c"(arg1) :
"memory");
71 asm volatile (
"int $0x90" :
"=a"(ret) :
"a"(num),
"c"(arg1),
"b"(arg2) :
"memory");
88 asm volatile (
"int $0x90" :
"=a"(ret) :
"a"(num),
"c"(arg1),
"b"(arg2),
89 "d"(arg3) :
"memory");
108 asm volatile (
"int $0x90" :
"=a"(ret) :
"a"(num),
"c"(arg1),
"b"(arg2),
109 "d"(arg3),
"S"(arg4) :
"memory");
129 asm volatile (
"int $0x90" :
"=a"(ret) :
"a"(num),
"c"(arg1),
"b"(arg2),
130 "d"(arg3),
"S"(arg4),
"D"(arg5) :
"memory");
ulong trapKernel3(ulong num, ulong arg1, ulong arg2, ulong arg3)
Perform a kernel trap with 3 arguments.
unsigned long ulong
Unsigned long number.
ulong trapKernel1(ulong num, ulong arg1)
Perform a kernel trap with 1 argument.
ulong trapKernel2(ulong num, ulong arg1, ulong arg2)
Perform a kernel trap with 2 arguments.
ulong trapKernel4(ulong num, ulong arg1, ulong arg2, ulong arg3, ulong arg4)
Perform a kernel trap with 4 arguments.
ulong trapKernel5(ulong num, ulong arg1, ulong arg2, ulong arg3, ulong arg4, ulong arg5)
Perform a kernel trap with 5 arguments.