isa_traits.hh (12408:51e487705276) isa_traits.hh (12427:b0611f1ad833)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 39 unchanged lines hidden (view full) ---

48namespace LittleEndianGuest {}
49
50namespace X86ISA
51{
52 //This makes sure the little endian version of certain functions
53 //are used.
54 using namespace LittleEndianGuest;
55
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 39 unchanged lines hidden (view full) ---

48namespace LittleEndianGuest {}
49
50namespace X86ISA
51{
52 //This makes sure the little endian version of certain functions
53 //are used.
54 using namespace LittleEndianGuest;
55
56 // X86 does not have a delay slot
57#define ISA_HAS_DELAY_SLOT 0
58
59 const Addr PageShift = 12;
60 const Addr PageBytes = ULL(1) << PageShift;
61
62 // Memory accesses can be unaligned
63 const bool HasUnalignedMemAcc = true;
64
65 const bool CurThreadInfoImplemented = false;
66 const int CurThreadInfoReg = -1;
67}
68
69#endif // __ARCH_X86_ISATRAITS_HH__
56 const Addr PageShift = 12;
57 const Addr PageBytes = ULL(1) << PageShift;
58
59 // Memory accesses can be unaligned
60 const bool HasUnalignedMemAcc = true;
61
62 const bool CurThreadInfoImplemented = false;
63 const int CurThreadInfoReg = -1;
64}
65
66#endif // __ARCH_X86_ISATRAITS_HH__