vm86.h

00001 /***************************************************************************
00002                           vm86.h  -  description
00003                              -------------------
00004     begin                : Tue Feb 10 2004
00005     copyright            : (C) 2004 by Dynacube Team
00006     email                : 
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018  #ifndef __VM86_H
00019  #define __VM86_H
00020  
00021   #include "proc/proc.h"
00022   #include "core/kint.h"
00023 
00024 
00025   typedef struct
00026   {
00027                 DD edi, esi, ebp, esp, ebx, edx, ecx, eax;
00028                 DD ds, es, fs, gs;
00029                 DD which_int;
00030                 DD _ss, _esp;
00031                 DD err_code, eip, cs, eflags, user_esp, user_ss;
00032             DD _es, _ds, _fs, _gs;
00033             
00034   } VM86REGS;
00035  
00036   void svgainit();
00037   void handleVM86(REGS *regs);
00038 
00039   
00040  #endif

Generated on Thu Jul 27 23:52:28 2006 for Dynacube by  doxygen 1.4.7