Server IP : 103.169.32.36 / Your IP : 216.73.216.202 Web Server : Apache System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : apache ( 48) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/usr/include/asm/ |
Upload File : |
| Current File : /proc/self/root/usr/include/asm/vm86.h |
#ifndef _ASM_X86_VM86_H
#define _ASM_X86_VM86_H
/*
* I'm guessing at the VIF/VIP flag usage, but hope that this is how
* the Pentium uses them. Linux will return from vm86 mode when both
* VIF and VIP is set.
*
* On a Pentium, we could probably optimize the virtual flags directly
* in the eflags register instead of doing it "by hand" in vflags...
*
* Linus
*/
#include <asm/processor-flags.h>
#define BIOSSEG 0x0f000
#define CPU_086 0
#define CPU_186 1
#define CPU_286 2
#define CPU_386 3
#define CPU_486 4
#define CPU_586 5
/*
* Return values for the 'vm86()' system call
*/
#define VM86_TYPE(retval) ((retval) & 0xff)
#define VM86_ARG(retval) ((retval) >> 8)
#define VM86_SIGNAL 0 /* return due to signal */
#define VM86_UNKNOWN 1 /* unhandled GP fault
- IO-instruction or similar */
#define VM86_INTx 2 /* int3/int x instruction (ARG = x) */
#define VM86_STI 3 /* sti/popf/iret instruction enabled
virtual interrupts */
/*
* Additional return values when invoking new vm86()
*/
#define VM86_PICRETURN 4 /* return due to pending PIC request */
#define VM86_TRAP 6 /* return due to DOS-debugger request */
/*
* function codes when invoking new vm86()
*/
#define VM86_PLUS_INSTALL_CHECK 0
#define VM86_ENTER 1
#define VM86_ENTER_NO_BYPASS 2
#define VM86_REQUEST_IRQ 3
#define VM86_FREE_IRQ 4
#define VM86_GET_IRQ_BITS 5
#define VM86_GET_AND_RESET_IRQ 6
/*
* This is the stack-layout seen by the user space program when we have
* done a translation of "SAVE_ALL" from vm86 mode. The real kernel layout
* is 'kernel_vm86_regs' (see below).
*/
struct vm86_regs {
/*
* normal regs, with special meaning for the segment descriptors..
*/
long ebx;
long ecx;
long edx;
long esi;
long edi;
long ebp;
long eax;
long __null_ds;
long __null_es;
long __null_fs;
long __null_gs;
long orig_eax;
long eip;
unsigned short cs, __csh;
long eflags;
long esp;
unsigned short ss, __ssh;
/*
* these are specific to v86 mode:
*/
unsigned short es, __esh;
unsigned short ds, __dsh;
unsigned short fs, __fsh;
unsigned short gs, __gsh;
};
struct revectored_struct {
unsigned long __map[8]; /* 256 bits */
};
struct vm86_struct {
struct vm86_regs regs;
unsigned long flags;
unsigned long screen_bitmap;
unsigned long cpu_type;
struct revectored_struct int_revectored;
struct revectored_struct int21_revectored;
};
/*
* flags masks
*/
#define VM86_SCREEN_BITMAP 0x0001
struct vm86plus_info_struct {
unsigned long force_return_for_pic:1;
unsigned long vm86dbg_active:1; /* for debugger */
unsigned long vm86dbg_TFpendig:1; /* for debugger */
unsigned long unused:28;
unsigned long is_vm86pus:1; /* for vm86 internal use */
unsigned char vm86dbg_intxxtab[32]; /* for debugger */
};
struct vm86plus_struct {
struct vm86_regs regs;
unsigned long flags;
unsigned long screen_bitmap;
unsigned long cpu_type;
struct revectored_struct int_revectored;
struct revectored_struct int21_revectored;
struct vm86plus_info_struct vm86plus;
};
#endif /* _ASM_X86_VM86_H */
| N4m3 |
5!z3 |
L45t M0d!f!3d |
0wn3r / Gr0up |
P3Rm!55!0n5 |
0pt!0n5 |
| .. |
-- |
September 29 2025 07:00:20 |
0 / 0 |
0755 |
|
| | | | | |
| a.out.h |
0.677 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| auxvec.h |
0.472 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| bitsperlong.h |
0.224 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| boot.h |
0.254 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| bootparam.h |
4.394 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| bpf_perf_event.h |
0.039 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| byteorder.h |
0.134 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| debugreg.h |
3.146 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| e820.h |
2.63 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| errno.h |
0.03 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| fcntl.h |
0.03 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| hw_breakpoint.h |
0.006 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| hyperv.h |
12.984 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| ioctl.h |
0.03 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| ioctls.h |
0.031 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| ipcbuf.h |
0.031 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| ist.h |
0.771 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| kvm.h |
6.806 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| kvm_para.h |
2.801 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| kvm_perf.h |
0.317 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| ldt.h |
0.94 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| mce.h |
1.219 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| mman.h |
1.01 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| msgbuf.h |
0.031 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| msr-index.h |
29.037 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| msr.h |
0.276 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| mtrr.h |
4.063 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| param.h |
0.03 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| perf_regs.h |
1.24 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| poll.h |
0.029 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| posix_types.h |
0.157 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| posix_types_32.h |
0.686 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| posix_types_64.h |
0.533 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| posix_types_x32.h |
0.506 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| prctl.h |
0.186 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| processor-flags.h |
6.316 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| ptrace-abi.h |
1.756 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| ptrace.h |
1.165 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| resource.h |
0.033 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| sembuf.h |
0.683 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| setup.h |
0.006 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| shmbuf.h |
0.031 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| sigcontext.h |
5.106 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| sigcontext32.h |
1.645 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| siginfo.h |
0.421 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| signal.h |
2.771 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| socket.h |
0.031 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| sockios.h |
0.032 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| stat.h |
2.893 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| statfs.h |
0.345 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| svm.h |
5.09 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| swab.h |
0.646 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| termbits.h |
0.033 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| termios.h |
0.032 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| types.h |
0.11 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| ucontext.h |
0.331 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| unistd.h |
0.289 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| unistd_32.h |
9.368 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| unistd_64.h |
8.587 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| unistd_x32.h |
15.115 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| vm86.h |
2.983 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| vmx.h |
6.529 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|
| vsyscall.h |
0.366 KB |
June 04 2024 14:55:01 |
0 / 0 |
0644 |
|