Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

vm86.h

Go to the documentation of this file.
00001 /* ndk - [ array.h ]
00002  *
00003  * Interface for allowing x86 processors in pmode to
00004  * run rmode apps (vm86 mode)
00005  *
00006  * (c)2004 dcipher / neuraldk
00007  *           www.neuraldk.org
00008  */
00009 
00018 #ifndef __ndk_vm86_h__
00019 #define __ndk_vm86_h__
00020 
00021 #include "ndk.h"
00022 #include "task.h"
00023 #include "pager.h"
00024 
00025 typedef struct
00026 {
00027    long eax, ebx, ecx, edx;
00028    long cs, ds, es, fs, gs;
00029    long eip, esp, ebp;
00030    long esi, edi;
00031 } regs;
00032 
00033 /*
00034 void vm86Init(void);
00035 void vm86CreatePagingInfo(void);
00036 void vm86FillTSS(TSS *tss, long eip, long p0_esp, long p3_esp);
00037 void vm86Int(long int);
00038 */
00039 
00040 extern void vm86IntHandler(void);
00041 extern void vm86Test(void);
00042 extern long iretInstruction;
00043 
00044 //extern pageDirectory *vm86PageDir;
00045 
00046 #endif
00047 

Generated on Wed Mar 22 20:36:33 2006 for ndk by  doxygen 1.4.4