SILENT KILLERPanel

Current Path: > > usr > > include > asm


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //usr//include/asm

NameTypeSizeLast ModifiedActions
a.out.h File 756 bytes July 04 2025 12:29:19.
amd_hsmp.h File 8892 bytes July 04 2025 12:29:18.
auxvec.h File 618 bytes July 04 2025 12:29:18.
bitsperlong.h File 321 bytes July 04 2025 12:29:19.
boot.h File 323 bytes July 04 2025 12:29:18.
bootparam.h File 7759 bytes July 04 2025 12:29:19.
bpf_perf_event.h File 40 bytes July 04 2025 12:29:19.
byteorder.h File 176 bytes July 04 2025 12:29:19.
debugreg.h File 3329 bytes July 04 2025 12:29:19.
e820.h File 2579 bytes July 04 2025 12:29:18.
errno.h File 31 bytes July 04 2025 12:29:18.
fcntl.h File 31 bytes July 04 2025 12:29:18.
hw_breakpoint.h File 69 bytes July 04 2025 12:29:19.
hwcap2.h File 270 bytes July 04 2025 12:29:19.
ioctl.h File 31 bytes July 04 2025 12:29:19.
ioctls.h File 32 bytes July 04 2025 12:29:19.
ipcbuf.h File 32 bytes July 04 2025 12:29:19.
ist.h File 854 bytes July 04 2025 12:29:18.
kvm.h File 11719 bytes July 04 2025 12:29:18.
kvm_para.h File 4340 bytes July 04 2025 12:29:19.
kvm_perf.h File 388 bytes July 04 2025 12:29:19.
ldt.h File 1306 bytes July 04 2025 12:29:18.
mce.h File 1688 bytes July 04 2025 12:29:19.
mman.h File 1002 bytes July 04 2025 12:29:19.
msgbuf.h File 1053 bytes July 04 2025 12:29:19.
msr.h File 346 bytes July 04 2025 12:29:19.
mtrr.h File 4225 bytes July 04 2025 12:29:19.
param.h File 31 bytes July 04 2025 12:29:18.
perf_regs.h File 1403 bytes July 04 2025 12:29:19.
poll.h File 30 bytes July 04 2025 12:29:19.
posix_types.h File 224 bytes July 04 2025 12:29:18.
posix_types_32.h File 765 bytes July 04 2025 12:29:19.
posix_types_64.h File 609 bytes July 04 2025 12:29:19.
posix_types_x32.h File 581 bytes July 04 2025 12:29:18.
prctl.h File 618 bytes July 04 2025 12:29:19.
processor-flags.h File 6623 bytes July 04 2025 12:29:19.
ptrace-abi.h File 2037 bytes July 04 2025 12:29:18.
ptrace.h File 1495 bytes July 04 2025 12:29:19.
resource.h File 34 bytes July 04 2025 12:29:19.
sembuf.h File 1045 bytes July 04 2025 12:29:18.
setup.h File 6 bytes July 04 2025 12:29:19.
sgx.h File 8342 bytes July 04 2025 12:29:19.
shmbuf.h File 1258 bytes July 04 2025 12:29:19.
sigcontext.h File 9724 bytes July 04 2025 12:29:19.
sigcontext32.h File 247 bytes July 04 2025 12:29:18.
siginfo.h File 422 bytes July 04 2025 12:29:18.
signal.h File 2901 bytes July 04 2025 12:29:19.
socket.h File 32 bytes July 04 2025 12:29:19.
sockios.h File 33 bytes July 04 2025 12:29:19.
stat.h File 3131 bytes July 04 2025 12:29:19.
statfs.h File 416 bytes July 04 2025 12:29:19.
svm.h File 9773 bytes July 04 2025 12:29:19.
swab.h File 724 bytes July 04 2025 12:29:19.
termbits.h File 34 bytes July 04 2025 12:29:19.
termios.h File 33 bytes July 04 2025 12:29:18.
types.h File 152 bytes July 04 2025 12:29:19.
ucontext.h File 2117 bytes July 04 2025 12:29:19.
unistd.h File 359 bytes July 04 2025 12:29:19.
unistd_32.h File 11131 bytes July 04 2025 12:29:19.
unistd_64.h File 9316 bytes July 04 2025 12:29:19.
unistd_x32.h File 16419 bytes July 04 2025 12:29:19.
vm86.h File 3118 bytes July 04 2025 12:29:18.
vmx.h File 7368 bytes July 04 2025 12:29:19.
vsyscall.h File 263 bytes July 04 2025 12:29:19.

Reading File: //usr//include/asm/vm86.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#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 */

SILENT KILLER Tool