Merge pull request #445 from wzyy2/master
x86: fix compile error in c++
This commit is contained in:
commit
418379c7da
@ -16,6 +16,10 @@
|
|||||||
|
|
||||||
#include <i386.h>
|
#include <i386.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/*******************************************************************/
|
/*******************************************************************/
|
||||||
/* Timer Register */
|
/* Timer Register */
|
||||||
/*******************************************************************/
|
/*******************************************************************/
|
||||||
|
@ -105,4 +105,8 @@ struct Pseudodesc {
|
|||||||
#define STS_IG32 0xe // 32-bit Interrupt Gate
|
#define STS_IG32 0xe // 32-bit Interrupt Gate
|
||||||
#define STS_TG32 0xf // 32-bit Trap Gate
|
#define STS_TG32 0xf // 32-bit Trap Gate
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user