Line 1... |
Line 1... |
/* $Id: msr.hh,v 1.3 2008-04-11 12:24:12 sybreon Exp $
|
/* $Id: msr.hh,v 1.4 2008-04-11 15:53:03 sybreon Exp $
|
**
|
**
|
** AEMB2 HI-PERFORMANCE CPU
|
** AEMB2 HI-PERFORMANCE CPU
|
** Copyright (C) 2004-2007 Shawn Tan Ser Ngiap
|
** Copyright (C) 2004-2007 Shawn Tan Ser Ngiap
|
**
|
**
|
** This file is part of AEMB.
|
** This file is part of AEMB.
|
Line 40... |
Line 40... |
const int MSR_FSL = 0x00000010; ///< FSL Error
|
const int MSR_FSL = 0x00000010; ///< FSL Error
|
const int MSR_ICE = 0x00000020; ///< Instruction Cache Enable
|
const int MSR_ICE = 0x00000020; ///< Instruction Cache Enable
|
const int MSR_DZ = 0x00000040; ///< Division by Zero
|
const int MSR_DZ = 0x00000040; ///< Division by Zero
|
const int MSR_DCE = 0x00000080; ///< Data Cache Enable
|
const int MSR_DCE = 0x00000080; ///< Data Cache Enable
|
|
|
const int MSR_TXE = 0x00000100; ///< thread enable
|
const int MSR_HTE = 0x10000000; ///< Hardware Threads Enable
|
const int MSR_PHA = 0x00000200; ///< thread phase
|
const int MSR_HTP = 0x20000000; ///< Hardware Thread Phase
|
const int MSR_HTE = 0x00000400; ///< hardware thread capable
|
const int MSR_HTX = 0x40000000; ///< Hardware Threads Extension
|
|
|
/**
|
/**
|
Read the value of the MSR register
|
Read the value of the MSR register
|
@return register contents
|
@return register contents
|
*/
|
*/
|
Line 89... |
Line 89... |
};
|
};
|
#endif
|
#endif
|
|
|
/*
|
/*
|
$Log: not supported by cvs2svn $
|
$Log: not supported by cvs2svn $
|
|
Revision 1.3 2008/04/11 12:24:12 sybreon
|
|
added cache controls
|
|
|
Revision 1.2 2008/04/11 11:48:37 sybreon
|
Revision 1.2 2008/04/11 11:48:37 sybreon
|
added interrupt controls (may need to be factorised out)
|
added interrupt controls (may need to be factorised out)
|
|
|
Revision 1.1 2008/04/09 19:48:37 sybreon
|
Revision 1.1 2008/04/09 19:48:37 sybreon
|
Added new C++ files
|
Added new C++ files
|