Refactor assembly includes and delete manual offset definitions
This commit is contained in:
@@ -1,36 +0,0 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: xtoskrnl/includes/i686/asm.h
|
||||
* DESCRIPTION: i686 architecture assembly definitions
|
||||
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
||||
*/
|
||||
|
||||
#ifndef __XTOSKRNL_I686_ASMSUP_H
|
||||
#define __XTOSKRNL_I686_ASMSUP_H
|
||||
|
||||
|
||||
/* KTRAP_FRAME structure offsets */
|
||||
#define TrapPreviousMode 0
|
||||
#define TrapCr2 4
|
||||
#define TrapCr3 8
|
||||
#define TrapDr0 12
|
||||
#define TrapDr1 16
|
||||
#define TrapDr2 20
|
||||
#define TrapDr3 24
|
||||
#define TrapDr6 28
|
||||
#define TrapDr7 32
|
||||
#define TrapSegDs 36
|
||||
#define TrapSegEs 38
|
||||
#define TrapSegFs 40
|
||||
#define TrapSegGs 42
|
||||
#define TrapVector 72
|
||||
#define TrapSegCs 84
|
||||
#define TrapEsp 92
|
||||
#define TrapSegSs 96
|
||||
|
||||
/* KTRAP_FRAME length related definitions */
|
||||
#define TRAP_FRAME_SIZE 100
|
||||
#define TRAP_REGISTERS_SIZE 56
|
||||
|
||||
#endif /* __XTOSKRNL_I686_ASMSUP_H */
|
||||
@@ -1,13 +1,13 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: xtoskrnl/includes/ar/i686/assembly.hh
|
||||
* FILE: xtoskrnl/includes/ar/i686/asmsup.hh
|
||||
* DESCRIPTION: Architecture-specific assembler prototypes
|
||||
* DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
|
||||
*/
|
||||
|
||||
#ifndef __XTOSKRNL_AR_ASSEMBLY_HH
|
||||
#define __XTOSKRNL_AR_ASSEMBLY_HH
|
||||
#ifndef __XTOSKRNL_AR_ASMSUP_HH
|
||||
#define __XTOSKRNL_AR_ASMSUP_HH
|
||||
|
||||
#include <xtos.hh>
|
||||
|
||||
@@ -32,4 +32,4 @@ XTCDECL
|
||||
VOID
|
||||
ArStartApplicationProcessor(VOID);
|
||||
|
||||
#endif /* __XTOSKRNL_AR_ASSEMBLY_HH */
|
||||
#endif /* __XTOSKRNL_AR_ASMSUP_HH */
|
||||
Reference in New Issue
Block a user