[ros-diffs] [fireball] 48736: [NDK] - Remove deprecated KV86M structures and files.

fireball at svn.reactos.org fireball at svn.reactos.org
Fri Sep 10 21:08:39 UTC 2010


Author: fireball
Date: Fri Sep 10 21:08:38 2010
New Revision: 48736

URL: http://svn.reactos.org/svn/reactos?rev=48736&view=rev
Log:
[NDK]
- Remove deprecated KV86M structures and files.

Removed:
    trunk/reactos/ntoskrnl/include/internal/i386/v86m.h
Modified:
    trunk/reactos/drivers/video/videoprt/int10.c
    trunk/reactos/include/ndk/i386/asm.h
    trunk/reactos/ntoskrnl/include/internal/i386/ke.h
    trunk/reactos/ntoskrnl/include/internal/ntoskrnl.h

Modified: trunk/reactos/drivers/video/videoprt/int10.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/video/videoprt/int10.c?rev=48736&r1=48735&r2=48736&view=diff
==============================================================================
--- trunk/reactos/drivers/video/videoprt/int10.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/video/videoprt/int10.c [iso-8859-1] Fri Sep 10 21:08:38 2010
@@ -20,7 +20,6 @@
  */
 
 #include "videoprt.h"
-#include "internal/i386/v86m.h"
 
 /* PRIVATE FUNCTIONS **********************************************************/
 

Modified: trunk/reactos/include/ndk/i386/asm.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/i386/asm.h?rev=48736&r1=48735&r2=48736&view=diff
==============================================================================
--- trunk/reactos/include/ndk/i386/asm.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/i386/asm.h [iso-8859-1] Fri Sep 10 21:08:38 2010
@@ -66,29 +66,6 @@
 #define KGDT_DF_TSS                             (0x50)
 #define KGDT_NMI_TSS                            (0x58)
 #endif
-
-//
-// KV86M_REGISTERS Offsets
-//
-#define KV86M_REGISTERS_EBP                     0x0
-#define KV86M_REGISTERS_EDI                     0x4
-#define KV86M_REGISTERS_ESI                     0x8
-#define KV86M_REGISTERS_EDX                     0xC
-#define KV86M_REGISTERS_ECX                     0x10
-#define KV86M_REGISTERS_EBX                     0x14
-#define KV86M_REGISTERS_EAX                     0x18
-#define KV86M_REGISTERS_DS                      0x1C
-#define KV86M_REGISTERS_ES                      0x20
-#define KV86M_REGISTERS_FS                      0x24
-#define KV86M_REGISTERS_GS                      0x28
-#define KV86M_REGISTERS_EIP                     0x2C
-#define KV86M_REGISTERS_CS                      0x30
-#define KV86M_REGISTERS_EFLAGS                  0x34
-#define KV86M_REGISTERS_ESP                     0x38
-#define KV86M_REGISTERS_SS                      0x3C
-#define TF_SAVED_EXCEPTION_STACK                0x8C
-#define TF_REGS                                 0x90
-#define TF_ORIG_EBP                             0x94
 
 //
 // TSS Offsets

Modified: trunk/reactos/ntoskrnl/include/internal/i386/ke.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/i386/ke.h?rev=48736&r1=48735&r2=48736&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/i386/ke.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/i386/ke.h [iso-8859-1] Fri Sep 10 21:08:38 2010
@@ -3,7 +3,6 @@
 #ifndef __ASM__
 
 #include "intrin_i.h"
-#include "v86m.h"
 
 //
 // Thread Dispatcher Header DebugActive Mask

Removed: trunk/reactos/ntoskrnl/include/internal/i386/v86m.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/i386/v86m.h?rev=48735&view=auto
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/i386/v86m.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/i386/v86m.h (removed)
@@ -1,58 +1,0 @@
-#pragma once
-
-#include "ketypes.h"
-
-/* Emulate cli/sti instructions */
-#define KV86M_EMULATE_CLI_STI          (0x1)
-/* Allow the v86 mode code to access i/o ports */
-#define KV86M_ALLOW_IO_PORT_ACCESS      (0x2)
-
-typedef struct _KV86M_REGISTERS
-{
-    /*
-     * General purpose registers
-     */
-    ULONG Ebp;
-    ULONG Edi;
-    ULONG Esi;
-    ULONG Edx;
-    ULONG Ecx;
-    ULONG Ebx;
-    ULONG Eax;
-    ULONG Ds;
-    ULONG Es;
-    ULONG Fs;
-    ULONG Gs;
-
-    /*
-     * Control registers
-     */
-    ULONG Eip;
-    ULONG Cs;
-    ULONG Eflags;
-    ULONG Esp;
-    ULONG Ss;
-
-    /*
-     * Control structures
-     */
-    ULONG RecoveryAddress;
-    UCHAR RecoveryInstruction[4];
-    ULONG Vif;
-    ULONG Flags;
-    PNTSTATUS PStatus;
-} KV86M_REGISTERS, *PKV86M_REGISTERS;
-
-typedef struct _KV86M_TRAP_FRAME
-{
-    KTRAP_FRAME Tf;
-
-    ULONG SavedExceptionStack;
-
-    /*
-     * These are put on the top of the stack by the routine that entered
-     * v86 mode so the exception handlers can find the control information
-     */
-    struct _KV86M_REGISTERS* regs;
-    ULONG orig_ebp;
-} KV86M_TRAP_FRAME, *PKV86M_TRAP_FRAME;

Modified: trunk/reactos/ntoskrnl/include/internal/ntoskrnl.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/ntoskrnl.h?rev=48736&r1=48735&r2=48736&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/ntoskrnl.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/ntoskrnl.h [iso-8859-1] Fri Sep 10 21:08:38 2010
@@ -191,9 +191,6 @@
 /* Platform specific checks */
 C_ASSERT(FIELD_OFFSET(KPROCESS, IopmOffset) == KPROCESS_IOPM_OFFSET);
 C_ASSERT(FIELD_OFFSET(KPROCESS, LdtDescriptor) == KPROCESS_LDT_DESCRIPTOR0);
-C_ASSERT(FIELD_OFFSET(KV86M_TRAP_FRAME, SavedExceptionStack) == TF_SAVED_EXCEPTION_STACK);
-C_ASSERT(FIELD_OFFSET(KV86M_TRAP_FRAME, regs) == TF_REGS);
-C_ASSERT(FIELD_OFFSET(KV86M_TRAP_FRAME, orig_ebp) == TF_ORIG_EBP);
 C_ASSERT(FIELD_OFFSET(KTSS, Esp0) == KTSS_ESP0);
 C_ASSERT(FIELD_OFFSET(KTSS, IoMapBase) == KTSS_IOMAPBASE);
 #endif




More information about the Ros-diffs mailing list