Changeset 19496 in vbox for trunk/src/VBox/Runtime/r0drv/solaris/vbi
- Timestamp:
- May 7, 2009 5:52:01 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 47030
- Location:
- trunk/src/VBox/Runtime/r0drv/solaris/vbi
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
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.