VirtualBox

Changeset 7133 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Feb 25, 2008 6:20:27 PM (17 years ago)
Author:
vboxsync
Message:

Eliminate cpum.h dependency (shuts up a bunch of .c warnings). Fixed the header tests.

Location:
trunk/include/VBox
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VRDPOrders.h

    r7028 r7133  
    2727#ifndef ___VBox_vrdporders_h
    2828#define ___VBox_vrdporders_h
     29
     30#include <iprt/types.h>
    2931
    3032/*
     
    251253    uint32_t o32NextGlyph;
    252254    uint64_t u64Handle;
    253    
     255
    254256    /* The glyph origin position on the screen. */
    255257    int16_t  x;
    256258    int16_t  y;
    257    
     259
    258260    /* The glyph bitmap dimensions. Note w == h == 0 for the space character. */
    259261    uint16_t w;
     
    263265    int16_t  xOrigin;
    264266    int16_t  yOrigin;
    265    
     267
    266268    /* 1BPP bitmap. Rows are byte aligned. Size is (((w + 7)/8) * h + 3) & ~3. */
    267269    uint8_t au8Bitmap[1];
  • trunk/include/VBox/cpum.h

    r7097 r7133  
    4141 * Selector hidden registers.
    4242 */
    43 typedef struct CPUMSELREGHIDDEN
     43typedef struct CPUMSELREGHID
    4444{
    4545    /** Base register. */
     
    5252    X86DESCATTR Attr;
    5353} CPUMSELREGHID;
    54 /** Pointer to selector hidden registers. */
    55 typedef CPUMSELREGHID *PCPUMSELREGHID;
    56 /** Pointer to const selector hidden registers. */
    57 typedef const CPUMSELREGHID *PCCPUMSELREGHID;
    5854
    5955
     
    166162
    167163} CPUMCTXCORE;
    168 /** Pointer to CPU context core. */
    169 typedef CPUMCTXCORE *PCPUMCTXCORE;
    170 /** Pointer to const CPU context core. */
    171 typedef const CPUMCTXCORE *PCCPUMCTXCORE;
    172164#pragma pack()
     165
    173166
    174167/**
     
    323316} CPUMCTX;
    324317#pragma pack()
    325 /** Pointer to CPUMCTX. */
    326 typedef CPUMCTX *PCPUMCTX;
    327318
    328319/**
  • trunk/include/VBox/csam.h

    r5999 r7133  
    2929#include <VBox/cdefs.h>
    3030#include <VBox/types.h>
    31 #include <VBox/cpum.h>
    3231#include <VBox/em.h>
    3332
     
    230229 * @param   pInstrGC    Instruction pointer
    231230 */
    232 CSAMR3DECL(int) CSAMR3CheckCodeEx(PVM pVM, RTSEL Sel, CPUMSELREGHID *pHiddenSel, RTGCPTR pInstrGC);
     231CSAMR3DECL(int) CSAMR3CheckCodeEx(PVM pVM, RTSEL Sel, PCPUMSELREGHID pHiddenSel, RTGCPTR pInstrGC);
    233232
    234233/**
  • trunk/include/VBox/em.h

    r6210 r7133  
    3030#include <VBox/types.h>
    3131#include <VBox/trpm.h>
    32 #include <VBox/cpum.h>
    3332#include <VBox/dis.h>
    3433
  • trunk/include/VBox/hwacc_svm.h

    r6243 r7133  
    2929#include <VBox/types.h>
    3030#include <VBox/err.h>
    31 #include <VBox/cpum.h>
    3231#include <iprt/assert.h>
    3332#include <iprt/asm.h>
  • trunk/include/VBox/hwacc_vmx.h

    r5999 r7133  
    2929#include <VBox/types.h>
    3030#include <VBox/err.h>
    31 #include <VBox/cpum.h>
    3231#include <iprt/assert.h>
    3332#include <iprt/asm.h>
  • trunk/include/VBox/iom.h

    r5999 r7133  
    2929#include <VBox/cdefs.h>
    3030#include <VBox/types.h>
    31 #include <VBox/cpum.h>
    3231#include <VBox/dis.h>
    3332
  • trunk/include/VBox/patm.h

    r5999 r7133  
    2929#include <VBox/cdefs.h>
    3030#include <VBox/types.h>
    31 #include <VBox/cpum.h>
    3231#include <VBox/dis.h>
    3332
  • trunk/include/VBox/pgm.h

    r6915 r7133  
    3030#include <VBox/types.h>
    3131#include <VBox/sup.h>
    32 #include <VBox/cpum.h>
    3332#include <VBox/vmapi.h>
     33#include <VBox/x86.h>
    3434
    3535__BEGIN_DECLS
  • trunk/include/VBox/selm.h

    r5999 r7133  
    2929#include <VBox/cdefs.h>
    3030#include <VBox/types.h>
    31 #include <VBox/cpum.h>
     31#include <VBox/x86.h>
    3232
    3333
  • trunk/include/VBox/trpm.h

    r5999 r7133  
    2929#include <VBox/cdefs.h>
    3030#include <VBox/types.h>
    31 #include <VBox/cpum.h>
     31#include <VBox/x86.h>
    3232
    3333
  • trunk/include/VBox/types.h

    r7072 r7133  
    174174/** SSM Operation handle. */
    175175typedef struct SSMHANDLE *PSSMHANDLE;
     176
     177/** Pointer to a CPUMCTX. */
     178typedef struct CPUMCTX *PCPUMCTX;
     179/** Pointer to a const CPUMCTX. */
     180typedef const struct CPUMCTX *PCCPUMCTX;
     181
     182/** Pointer to a CPU context core. */
     183typedef struct CPUMCTXCORE *PCPUMCTXCORE;
     184/** Pointer to a const CPU context core. */
     185typedef const struct CPUMCTXCORE *PCCPUMCTXCORE;
     186
     187/** Pointer to selector hidden registers. */
     188typedef struct CPUMSELREGHID *PCPUMSELREGHID;
     189/** Pointer to const selector hidden registers. */
     190typedef const struct CPUMSELREGHID *PCCPUMSELREGHID;
    176191
    177192/** @} */
  • trunk/include/VBox/vmapi.h

    r6835 r7133  
    2929#include <VBox/cdefs.h>
    3030#include <VBox/types.h>
    31 #include <VBox/cpum.h>
    3231#include <VBox/stam.h>
    3332#include <VBox/cfgm.h>
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette