Changeset 19496 in vbox
- Timestamp:
- May 7, 2009 5:52:01 PM (16 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r19389 r19496 1316 1316 ifdef VBOX_WITH_SOLARIS_VBI 1317 1317 RuntimeR0Drv_SOURCES.solaris += \ 1318 r0drv/ generic/RTMpPokeCpu-r0drv-generic.cpp\1318 r0drv/solaris/vbi/RTMpPokeCpu-r0drv-solaris.c \ 1319 1319 r0drv/solaris/vbi/mpnotification-r0drv-solaris.c \ 1320 1320 r0drv/solaris/vbi/alloc-r0drv-solaris.c \ … … 1354 1354 r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \ 1355 1355 r0drv/generic/RTMpOn-r0drv-generic.cpp \ 1356 r0drv/ generic/RTMpPokeCpu-r0drv-generic.cpp1356 r0drv/solaris/RTMpPokeCpu-r0drv-solaris.c 1357 1357 else 1358 1358 # Use mp-r0drv-solaris.c. 1359 1359 RuntimeR0Drv_SOURCES.solaris += \ 1360 1360 r0drv/solaris/mp-r0drv-solaris.c \ 1361 r0drv/ generic/RTMpPokeCpu-r0drv-generic.cpp1361 r0drv/solaris/RTMpPokeCpu-r0drv-solaris.c 1362 1362 # r0drv/solaris/mpnotification-r0drv-solaris.c 1363 1363 endif -
trunk/src/VBox/Runtime/r0drv/solaris/vbi/i86pc/os/vbi.c
r19338 r19496 111 111 */ 112 112 static struct modlmisc vbi_modlmisc = { 113 &mod_miscops, "VirtualBox Interfaces V 3"113 &mod_miscops, "VirtualBox Interfaces V4" 114 114 }; 115 115 … … 1054 1054 } 1055 1055 1056 /* 1057 * This is revision 3 of the interface. As more functions are added, 1056 int 1057 vbi_is_preempt_enabled(void) 1058 { 1059 return (curthread->t_preempt == 0); 1060 } 1061 1062 /* 1063 * This is revision 4 of the interface. As more functions are added, 1058 1064 * they should go after this point in the file and the revision level 1059 1065 * increased. Also change vbi_modlmisc at the top of the file. 1060 1066 */ 1061 uint_t vbi_revision_level = 3; 1062 1063 int 1064 vbi_is_preempt_enabled(void) 1065 { 1066 return (curthread->t_preempt == 0); 1067 } 1067 uint_t vbi_revision_level = 4; 1068 1069 void 1070 vbi_poke_cpu(int c) 1071 { 1072 if (c < ncpus) 1073 poke_cpu(c); 1074 } -
trunk/src/VBox/Runtime/r0drv/solaris/vbi/i86pc/sys/vbi.h
r16720 r19496 301 301 /* end of interfaces defined for version 3 */ 302 302 303 /* begin interfaces defined for version 4 */ 304 305 /* 306 * poke the given cpu with an IPI 307 */ 308 extern void vbi_poke_cpu(int); 309 310 /* end of interfaces defined for version 4 */ 311 303 312 #ifdef __cplusplus 304 313 }
Note:
See TracChangeset
for help on using the changeset viewer.