bochs.h
Go to the documentation of this file.00001 #ifndef BOCHS_H
00002 #define BOCHS_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifdef ASSEMBLY
00018
00019
00020 #define bochsbp xchgw %bx, %bx
00021 #define BOCHSBP bochsbp
00022
00023 #else
00024
00025
00026 static inline void bochsbp ( void ) {
00027 __asm__ __volatile__ ( "xchgw %bx, %bx" );
00028 }
00029
00030 #endif
00031
00032 #warning "bochs.h should not be included into production code"
00033
00034 #endif