Changeset 7133 in vbox
- Timestamp:
- Feb 25, 2008 6:20:27 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 28394
- Location:
- trunk/include
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Makefile.kmk
r5999 r7133 22 22 LIBRARIES = SyntaxVBoxIncludeR3 SyntaxVBoxIncludeR0 SyntaxVBoxIncludeGC 23 23 24 hdrs := $(wildcard VBox/*.h iprt/*.h) 24 cpp_hdrs := \ 25 VBox/dbggui.h \ 26 VBox/settings.h \ 27 iprt/cpputils.h \ 28 iprt/lock.h 25 29 26 SyntaxVBoxIncludeR3_TEMPLATE = VBOXR3 30 r3_only_hdrs := \ 31 VBox/vrdpapi.h \ 32 VBox/vrdpusb.h \ 33 VBox/VBoxHDD-new.h \ 34 VBox/VBoxHDD.h \ 35 iprt/tcp.h \ 36 37 hdrs := $(filter-out \ 38 VBox/VBoxGuest16.h \ 39 VBox/tapwin32.h \ 40 VBox/usblib-win.h, \ 41 $(wildcard VBox/*.h iprt/*.h)) 42 43 hdrs.r3 := $(filter-out VBox/VBoxGuestLib.h, $(hdrs)) 44 hdrs.r0 := $(filter-out $(cpp_hdrs) $(r3_only_hdrs), $(hdrs)) 45 hdrs.gc := $(filter-out \ 46 VBox/VBoxGuestLib.h \ 47 VBox/gvm.h \ 48 iprt/thread.h \ 49 iprt/mem.h \ 50 iprt/alloc.h \ 51 $(cpp_hdrs) $(r3_only_hdrs), \ 52 $(hdrs)) 53 54 SyntaxVBoxIncludeR3_TEMPLATE = VBOXMAINEXE 55 SyntaxVBoxIncludeR3_DEFS = VBOX_HGCM 27 56 SyntaxVBoxIncludeR3_SOURCES := \ 28 $(addprefix $(PATH_TARGET)/,$(subst .h,-c.c, $(subst /,_,$(hdrs )))) \29 $(addprefix $(PATH_TARGET)/,$(subst .h,-cpp.cpp, $(subst /,_,$(hdrs ))))57 $(addprefix $(PATH_TARGET)/,$(subst .h,-c.c, $(subst /,_,$(hdrs.r3)))) \ 58 $(addprefix $(PATH_TARGET)/,$(subst .h,-cpp.cpp, $(subst /,_,$(hdrs.r3)))) 30 59 31 60 SyntaxVBoxIncludeR0_TEMPLATE = VBOXR0 32 SyntaxVBoxIncludeR0_SOURCES = $(SyntaxVBoxIncludeR3_SOURCES) 61 SyntaxVBoxIncludeR0_DEFS = VBOX_HGCM 62 SyntaxVBoxIncludeR0_SOURCES := \ 63 $(addprefix $(PATH_TARGET)/,$(subst .h,-c.c, $(subst /,_,$(hdrs.r0)))) \ 64 $(addprefix $(PATH_TARGET)/,$(subst .h,-cpp.cpp, $(subst /,_,$(hdrs.r0)))) 33 65 34 66 SyntaxVBoxIncludeGC_TEMPLATE = VBOXGC 35 SyntaxVBoxIncludeGC_SOURCES = $(SyntaxVBoxIncludeR3_SOURCES) 67 SyntaxVBoxIncludeGC_DEFS = VBOX_HGCM 68 SyntaxVBoxIncludeGC_SOURCES := \ 69 $(addprefix $(PATH_TARGET)/,$(subst .h,-c.c, $(subst /,_,$(hdrs.gc)))) \ 70 $(addprefix $(PATH_TARGET)/,$(subst .h,-cpp.cpp, $(subst /,_,$(hdrs.gc)))) 36 71 37 72 … … 48 83 $$(APPEND) $$@ "int main(int argc, char **argv) {(void)argc; (void)argv; return 0;}" 49 84 50 $$(PATH_TARGET)/$(flatname)-c.c: 85 $$(PATH_TARGET)/$(flatname)-c.c: Makefile.kmk 51 86 $$(MKDIR) -p $$(dir $$@) 52 87 $$(RM) -f $$@ 88 ifn1of ($(hdr),$(cpp_hdrs)) 53 89 $$(APPEND) $$@ "#include <$(hdr)>" 90 endif 54 91 $$(APPEND) $$@ "int main(int argc, char **argv) {(void)argc; (void)argv; return 0;}" 55 92 -
trunk/include/VBox/VRDPOrders.h
r7028 r7133 27 27 #ifndef ___VBox_vrdporders_h 28 28 #define ___VBox_vrdporders_h 29 30 #include <iprt/types.h> 29 31 30 32 /* … … 251 253 uint32_t o32NextGlyph; 252 254 uint64_t u64Handle; 253 255 254 256 /* The glyph origin position on the screen. */ 255 257 int16_t x; 256 258 int16_t y; 257 259 258 260 /* The glyph bitmap dimensions. Note w == h == 0 for the space character. */ 259 261 uint16_t w; … … 263 265 int16_t xOrigin; 264 266 int16_t yOrigin; 265 267 266 268 /* 1BPP bitmap. Rows are byte aligned. Size is (((w + 7)/8) * h + 3) & ~3. */ 267 269 uint8_t au8Bitmap[1]; -
trunk/include/VBox/cpum.h
r7097 r7133 41 41 * Selector hidden registers. 42 42 */ 43 typedef struct CPUMSELREGHID DEN43 typedef struct CPUMSELREGHID 44 44 { 45 45 /** Base register. */ … … 52 52 X86DESCATTR Attr; 53 53 } CPUMSELREGHID; 54 /** Pointer to selector hidden registers. */55 typedef CPUMSELREGHID *PCPUMSELREGHID;56 /** Pointer to const selector hidden registers. */57 typedef const CPUMSELREGHID *PCCPUMSELREGHID;58 54 59 55 … … 166 162 167 163 } CPUMCTXCORE; 168 /** Pointer to CPU context core. */169 typedef CPUMCTXCORE *PCPUMCTXCORE;170 /** Pointer to const CPU context core. */171 typedef const CPUMCTXCORE *PCCPUMCTXCORE;172 164 #pragma pack() 165 173 166 174 167 /** … … 323 316 } CPUMCTX; 324 317 #pragma pack() 325 /** Pointer to CPUMCTX. */326 typedef CPUMCTX *PCPUMCTX;327 318 328 319 /** -
trunk/include/VBox/csam.h
r5999 r7133 29 29 #include <VBox/cdefs.h> 30 30 #include <VBox/types.h> 31 #include <VBox/cpum.h>32 31 #include <VBox/em.h> 33 32 … … 230 229 * @param pInstrGC Instruction pointer 231 230 */ 232 CSAMR3DECL(int) CSAMR3CheckCodeEx(PVM pVM, RTSEL Sel, CPUMSELREGHID *pHiddenSel, RTGCPTR pInstrGC);231 CSAMR3DECL(int) CSAMR3CheckCodeEx(PVM pVM, RTSEL Sel, PCPUMSELREGHID pHiddenSel, RTGCPTR pInstrGC); 233 232 234 233 /** -
trunk/include/VBox/em.h
r6210 r7133 30 30 #include <VBox/types.h> 31 31 #include <VBox/trpm.h> 32 #include <VBox/cpum.h>33 32 #include <VBox/dis.h> 34 33 -
trunk/include/VBox/hwacc_svm.h
r6243 r7133 29 29 #include <VBox/types.h> 30 30 #include <VBox/err.h> 31 #include <VBox/cpum.h>32 31 #include <iprt/assert.h> 33 32 #include <iprt/asm.h> -
trunk/include/VBox/hwacc_vmx.h
r5999 r7133 29 29 #include <VBox/types.h> 30 30 #include <VBox/err.h> 31 #include <VBox/cpum.h>32 31 #include <iprt/assert.h> 33 32 #include <iprt/asm.h> -
trunk/include/VBox/iom.h
r5999 r7133 29 29 #include <VBox/cdefs.h> 30 30 #include <VBox/types.h> 31 #include <VBox/cpum.h>32 31 #include <VBox/dis.h> 33 32 -
trunk/include/VBox/patm.h
r5999 r7133 29 29 #include <VBox/cdefs.h> 30 30 #include <VBox/types.h> 31 #include <VBox/cpum.h>32 31 #include <VBox/dis.h> 33 32 -
trunk/include/VBox/pgm.h
r6915 r7133 30 30 #include <VBox/types.h> 31 31 #include <VBox/sup.h> 32 #include <VBox/cpum.h>33 32 #include <VBox/vmapi.h> 33 #include <VBox/x86.h> 34 34 35 35 __BEGIN_DECLS -
trunk/include/VBox/selm.h
r5999 r7133 29 29 #include <VBox/cdefs.h> 30 30 #include <VBox/types.h> 31 #include <VBox/ cpum.h>31 #include <VBox/x86.h> 32 32 33 33 -
trunk/include/VBox/trpm.h
r5999 r7133 29 29 #include <VBox/cdefs.h> 30 30 #include <VBox/types.h> 31 #include <VBox/ cpum.h>31 #include <VBox/x86.h> 32 32 33 33 -
trunk/include/VBox/types.h
r7072 r7133 174 174 /** SSM Operation handle. */ 175 175 typedef struct SSMHANDLE *PSSMHANDLE; 176 177 /** Pointer to a CPUMCTX. */ 178 typedef struct CPUMCTX *PCPUMCTX; 179 /** Pointer to a const CPUMCTX. */ 180 typedef const struct CPUMCTX *PCCPUMCTX; 181 182 /** Pointer to a CPU context core. */ 183 typedef struct CPUMCTXCORE *PCPUMCTXCORE; 184 /** Pointer to a const CPU context core. */ 185 typedef const struct CPUMCTXCORE *PCCPUMCTXCORE; 186 187 /** Pointer to selector hidden registers. */ 188 typedef struct CPUMSELREGHID *PCPUMSELREGHID; 189 /** Pointer to const selector hidden registers. */ 190 typedef const struct CPUMSELREGHID *PCCPUMSELREGHID; 176 191 177 192 /** @} */ -
trunk/include/VBox/vmapi.h
r6835 r7133 29 29 #include <VBox/cdefs.h> 30 30 #include <VBox/types.h> 31 #include <VBox/cpum.h>32 31 #include <VBox/stam.h> 33 32 #include <VBox/cfgm.h> -
trunk/include/iprt/req.h
r5999 r7133 86 86 } RTREQFLAGS; 87 87 88 /* Forward declaration. */89 structRTREQQUEUE;88 /** Pointer to a request queue. */ 89 typedef struct RTREQQUEUE *PRTREQQUEUE; 90 90 91 91 /** … … 99 99 struct RTREQ * volatile pNext; 100 100 /** Pointer to the queue this packet belongs to. */ 101 RTREQQUEUE *pQueue;101 PRTREQQUEUE pQueue; 102 102 /** Request state. */ 103 103 volatile RTREQSTATE enmState; … … 149 149 RTSEMEVENT EventSem; 150 150 } RTREQQUEUE; 151 /** Pointer to a request queue */152 typedef RTREQQUEUE *PRTREQQUEUE;153 151 154 152 #ifdef IN_RING3 -
trunk/include/iprt/runtime.h
r5999 r7133 32 32 #include <iprt/initterm.h> 33 33 34 #include <iprt/alloc.h> 34 #ifndef IN_GC 35 # include <iprt/alloc.h> 36 #endif 35 37 #include <iprt/asm.h> 36 38 #include <iprt/assert.h> … … 41 43 #include <iprt/dir.h> 42 44 #include <iprt/err.h> 43 #include <iprt/file.h> 44 #include <iprt/fs.h> 45 #ifndef IN_GC 46 # include <iprt/file.h> 47 # include <iprt/fs.h> 48 #endif 45 49 #include <iprt/ldr.h> 46 50 #include <iprt/log.h> 47 51 #include <iprt/md5.h> 48 #include <iprt/mem.h> 52 #ifndef IN_GC 53 # include <iprt/mem.h> 54 #endif 49 55 #include <iprt/path.h> 50 56 #include <iprt/semaphore.h> … … 54 60 #include <iprt/system.h> 55 61 #include <iprt/table.h> 56 #include <iprt/thread.h> 62 #ifndef IN_GC 63 # include <iprt/thread.h> 64 #endif 57 65 #include <iprt/time.h> 58 66 #include <iprt/timer.h>
Note:
See TracChangeset
for help on using the changeset viewer.