65fea56f17cd614bc8908264df980a62e1931468vboxsync/****************************************************************************
65fea56f17cd614bc8908264df980a62e1931468vboxsync*
65fea56f17cd614bc8908264df980a62e1931468vboxsync* Realmode X86 Emulator Library
65fea56f17cd614bc8908264df980a62e1931468vboxsync*
65fea56f17cd614bc8908264df980a62e1931468vboxsync* Copyright (C) 1996-1999 SciTech Software, Inc.
65fea56f17cd614bc8908264df980a62e1931468vboxsync* Copyright (C) David Mosberger-Tang
65fea56f17cd614bc8908264df980a62e1931468vboxsync* Copyright (C) 1999 Egbert Eich
65fea56f17cd614bc8908264df980a62e1931468vboxsync*
65fea56f17cd614bc8908264df980a62e1931468vboxsync* ========================================================================
65fea56f17cd614bc8908264df980a62e1931468vboxsync*
65fea56f17cd614bc8908264df980a62e1931468vboxsync* Permission to use, copy, modify, distribute, and sell this software and
65fea56f17cd614bc8908264df980a62e1931468vboxsync* its documentation for any purpose is hereby granted without fee,
65fea56f17cd614bc8908264df980a62e1931468vboxsync* provided that the above copyright notice appear in all copies and that
65fea56f17cd614bc8908264df980a62e1931468vboxsync* both that copyright notice and this permission notice appear in
65fea56f17cd614bc8908264df980a62e1931468vboxsync* supporting documentation, and that the name of the authors not be used
65fea56f17cd614bc8908264df980a62e1931468vboxsync* in advertising or publicity pertaining to distribution of the software
65fea56f17cd614bc8908264df980a62e1931468vboxsync* without specific, written prior permission. The authors makes no
65fea56f17cd614bc8908264df980a62e1931468vboxsync* representations about the suitability of this software for any purpose.
65fea56f17cd614bc8908264df980a62e1931468vboxsync* It is provided "as is" without express or implied warranty.
65fea56f17cd614bc8908264df980a62e1931468vboxsync*
65fea56f17cd614bc8908264df980a62e1931468vboxsync* THE AUTHORS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
65fea56f17cd614bc8908264df980a62e1931468vboxsync* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
65fea56f17cd614bc8908264df980a62e1931468vboxsync* EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
65fea56f17cd614bc8908264df980a62e1931468vboxsync* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
65fea56f17cd614bc8908264df980a62e1931468vboxsync* USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
65fea56f17cd614bc8908264df980a62e1931468vboxsync* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
65fea56f17cd614bc8908264df980a62e1931468vboxsync* PERFORMANCE OF THIS SOFTWARE.
65fea56f17cd614bc8908264df980a62e1931468vboxsync*
65fea56f17cd614bc8908264df980a62e1931468vboxsync* ========================================================================
65fea56f17cd614bc8908264df980a62e1931468vboxsync*
65fea56f17cd614bc8908264df980a62e1931468vboxsync* Language: ANSI C
65fea56f17cd614bc8908264df980a62e1931468vboxsync* Environment: Any
65fea56f17cd614bc8908264df980a62e1931468vboxsync* Developer: Kendall Bennett
65fea56f17cd614bc8908264df980a62e1931468vboxsync*
65fea56f17cd614bc8908264df980a62e1931468vboxsync* Description: Header file for x86 emulator type definitions.
65fea56f17cd614bc8908264df980a62e1931468vboxsync*
65fea56f17cd614bc8908264df980a62e1931468vboxsync****************************************************************************/
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifndef __X86EMU_TYPES_H
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define __X86EMU_TYPES_H
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#ifndef NO_SYS_HEADERS
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <sys/types.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/*
65fea56f17cd614bc8908264df980a62e1931468vboxsync * The following kludge is an attempt to work around typedef conflicts with
65fea56f17cd614bc8908264df980a62e1931468vboxsync * <sys/types.h>.
65fea56f17cd614bc8908264df980a62e1931468vboxsync */
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define u8 x86emuu8
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define u16 x86emuu16
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define u32 x86emuu32
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define u64 x86emuu64
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define s8 x86emus8
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define s16 x86emus16
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define s32 x86emus32
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define s64 x86emus64
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define uint x86emuuint
65fea56f17cd614bc8908264df980a62e1931468vboxsync#define sint x86emusint
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync/*---------------------- Macros and type definitions ----------------------*/
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#include <stdint.h>
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsynctypedef uint8_t u8;
65fea56f17cd614bc8908264df980a62e1931468vboxsynctypedef uint16_t u16;
65fea56f17cd614bc8908264df980a62e1931468vboxsynctypedef uint32_t u32;
65fea56f17cd614bc8908264df980a62e1931468vboxsynctypedef uint64_t u64;
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsynctypedef int8_t s8;
65fea56f17cd614bc8908264df980a62e1931468vboxsynctypedef int16_t s16;
65fea56f17cd614bc8908264df980a62e1931468vboxsynctypedef int32_t s32;
65fea56f17cd614bc8908264df980a62e1931468vboxsynctypedef int64_t s64;
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsynctypedef unsigned int uint;
65fea56f17cd614bc8908264df980a62e1931468vboxsynctypedef int sint;
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsynctypedef u16 X86EMU_pioAddr;
65fea56f17cd614bc8908264df980a62e1931468vboxsync
65fea56f17cd614bc8908264df980a62e1931468vboxsync#endif /* __X86EMU_TYPES_H */