search for: getldt

Displaying 4 results from an estimated 4 matches for "getldt".

Did you mean: setldt
2007 Apr 18
4
[RFC, PATCH 3/24] i386 Vmi interface definition
...Inc. + * + */ + +#define VMI_CALLS \ + VDEF(RESERVED0) \ + VDEF(RESERVED1) \ + VDEF(RESERVED2) \ + VDEF(RESERVED3) \ + VDEF(Init) \ + VDEF(CPUID) \ + VDEF(WRMSR) \ + VDEF(RDMSR) \ + VDEF(SetGDT) \ + VDEF(SetLDT) \ + VDEF(SetIDT) \ + VDEF(SetTR) \ + VDEF(GetGDT) \ + VDEF(GetLDT) \ + VDEF(GetIDT) \ + VDEF(GetTR) \ + VDEF(WriteGDTEntry) \ + VDEF(WriteLDTEntry) \ + VDEF(WriteIDTEntry) \ + VDEF(UpdateKernelStack) \ + VDEF(SetCR0) \ + VDEF(SetCR2) \ + VDEF(SetCR3) \ + VDEF(SetCR4) \ + VDEF(GetCR0) \ + VDEF(GetCR2) \ + VDEF(GetCR3) \ + VDEF(GetCR4) \...
2007 Apr 18
4
[RFC, PATCH 3/24] i386 Vmi interface definition
...Inc. + * + */ + +#define VMI_CALLS \ + VDEF(RESERVED0) \ + VDEF(RESERVED1) \ + VDEF(RESERVED2) \ + VDEF(RESERVED3) \ + VDEF(Init) \ + VDEF(CPUID) \ + VDEF(WRMSR) \ + VDEF(RDMSR) \ + VDEF(SetGDT) \ + VDEF(SetLDT) \ + VDEF(SetIDT) \ + VDEF(SetTR) \ + VDEF(GetGDT) \ + VDEF(GetLDT) \ + VDEF(GetIDT) \ + VDEF(GetTR) \ + VDEF(WriteGDTEntry) \ + VDEF(WriteLDTEntry) \ + VDEF(WriteIDTEntry) \ + VDEF(UpdateKernelStack) \ + VDEF(SetCR0) \ + VDEF(SetCR2) \ + VDEF(SetCR3) \ + VDEF(SetCR4) \ + VDEF(GetCR0) \ + VDEF(GetCR2) \ + VDEF(GetCR3) \ + VDEF(GetCR4) \...
2007 Apr 18
3
[RFC, PATCH 10/24] i386 Vmi descriptor changes
...+} + +static inline void store_idt(VMI_DTR *const dtr) +{ + vmi_wrap_call(GetIDT, "sidt (%0)", + VMI_NO_OUTPUT, + 1, VMI_IREG1 (dtr), + VMI_CLOBBER_EXTENDED(ZERO_RETURNS, "memory")); +} + +static inline VMI_SELECTOR vmi_get_ldt(void) +{ + VMI_SELECTOR ret; + vmi_wrap_call( + GetLDT, "sldt %%ax", + VMI_OREG1 (ret), + 0, VMI_NO_INPUT, + VMI_CLOBBER(ONE_RETURN)); + return ret; +} + +static inline VMI_SELECTOR vmi_get_tr(void) +{ + VMI_SELECTOR ret; + vmi_wrap_call( + GetTR, "str %%ax", + VMI_OREG1 (ret), + 0, VMI_NO_INPUT, + VMI_CLOBBER(ONE_RETURN)); +...
2007 Apr 18
3
[RFC, PATCH 10/24] i386 Vmi descriptor changes
...+} + +static inline void store_idt(VMI_DTR *const dtr) +{ + vmi_wrap_call(GetIDT, "sidt (%0)", + VMI_NO_OUTPUT, + 1, VMI_IREG1 (dtr), + VMI_CLOBBER_EXTENDED(ZERO_RETURNS, "memory")); +} + +static inline VMI_SELECTOR vmi_get_ldt(void) +{ + VMI_SELECTOR ret; + vmi_wrap_call( + GetLDT, "sldt %%ax", + VMI_OREG1 (ret), + 0, VMI_NO_INPUT, + VMI_CLOBBER(ONE_RETURN)); + return ret; +} + +static inline VMI_SELECTOR vmi_get_tr(void) +{ + VMI_SELECTOR ret; + vmi_wrap_call( + GetTR, "str %%ax", + VMI_OREG1 (ret), + 0, VMI_NO_INPUT, + VMI_CLOBBER(ONE_RETURN)); +...