- Timestamp:
- Oct 2, 2008 3:43:25 PM (16 years ago)
- 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
r11768 r12945 79 79 80 80 static struct modlmisc vbi_modlmisc = { 81 &mod_miscops, "Vbox Interfaces Ver 2"81 &mod_miscops, "Vbox Interfaces Ver 3" 82 82 }; 83 83 … … 822 822 } 823 823 824 /* 825 * This is revision 2 of the interface. As more functions are added, 826 * they should go after this point in the file and the revision level 827 * increased. 828 */ 829 uint_t vbi_revision_level = 2; 824 825 /* 826 * This is revision 2 of the interface. 827 */ 830 828 831 829 struct vbi_cpu_watch { … … 1040 1038 kmem_free(t, sizeof (*t)); 1041 1039 } 1040 1041 /* 1042 * This is revision 3 of the interface. As more functions are added, 1043 * they should go after this point in the file and the revision level 1044 * increased. 1045 */ 1046 uint_t vbi_revision_level = 3; 1047 1048 int 1049 vbi_is_preempt_enabled(void) 1050 { 1051 return (curthread->t_preempt == 0); 1052 } -
trunk/src/VBox/Runtime/r0drv/solaris/vbi/i86pc/sys/vbi.h
r10954 r12945 27 27 #ifndef _SYS_VBI_H 28 28 #define _SYS_VBI_H 29 30 #pragma ident "%Z%%M% %I% %E% SMI"31 29 32 30 #ifdef __cplusplus … … 292 290 /* end of interfaces defined for version 2 */ 293 291 292 /* begin interfaces defined for version 3 */ 293 294 /* 295 * returns non-zero if the thread might be preempted at any time 296 */ 297 extern int vbi_is_preempt_enabled(void); 298 299 /* end of interfaces defined for version 3 */ 300 294 301 #ifdef __cplusplus 295 302 }
Note:
See TracChangeset
for help on using the changeset viewer.