Merge pull request #445 from wzyy2/master

x86: fix compile error in c++
This commit is contained in:
Bernard Xiong 2015-04-16 20:22:58 +08:00
commit 418379c7da
2 changed files with 8 additions and 0 deletions

View File

@ -16,6 +16,10 @@
#include <i386.h>
#ifdef __cplusplus
extern "C" {
#endif
/*******************************************************************/
/* Timer Register */
/*******************************************************************/

View File

@ -105,4 +105,8 @@ struct Pseudodesc {
#define STS_IG32 0xe // 32-bit Interrupt Gate
#define STS_TG32 0xf // 32-bit Trap Gate
#ifdef __cplusplus
}
#endif
#endif