1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * Redistribution and use of this software in source and binary forms, 6 * with or without modification, are permitted provided that the 7 * following conditions are met: 8 * --- 41 unchanged lines hidden (view full) --- 50 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 51 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 52 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 53 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 54 * 55 * Authors: Gabe Black 56 */ 57 |
58#include "sim/host.hh" 59 |
60#ifndef __ARCH_X86_X86TRAITS_HH__ 61#define __ARCH_X86_X86TRAITS_HH__ 62 63namespace X86ISA 64{ 65 const int NumMicroIntRegs = 16; 66 67 const int NumPseudoIntRegs = 1; --- 9 unchanged lines hidden (view full) --- 77 const int NumXMMRegs = 16; 78 const int NumMicroFpRegs = 8; 79 80 const int NumCRegs = 16; 81 const int NumDRegs = 8; 82 83 const int NumSegments = 6; 84 const int NumSysSegments = 4; |
85 86 const Addr IntAddrPrefixMask = ULL(0xffffffff00000000); 87 const Addr IntAddrPrefixCPUID = ULL(0x100000000); 88 const Addr IntAddrPrefixMSR = ULL(0x200000000); |
89} 90 91#endif //__ARCH_X86_X86TRAITS_HH__ |