isa_traits.hh (5082:82dd253231c8) | isa_traits.hh (5086:e7913ffb379d) |
---|---|
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 * --- 47 unchanged lines hidden (view full) --- 56 */ 57 58#ifndef __ARCH_X86_ISATRAITS_HH__ 59#define __ARCH_X86_ISATRAITS_HH__ 60 61#include "arch/x86/intregs.hh" 62#include "arch/x86/types.hh" 63#include "arch/x86/x86_traits.hh" | 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 * --- 47 unchanged lines hidden (view full) --- 56 */ 57 58#ifndef __ARCH_X86_ISATRAITS_HH__ 59#define __ARCH_X86_ISATRAITS_HH__ 60 61#include "arch/x86/intregs.hh" 62#include "arch/x86/types.hh" 63#include "arch/x86/x86_traits.hh" |
64#include "sim/host.hh" |
|
64 65class StaticInstPtr; 66 67namespace LittleEndianGuest {} 68 69namespace X86ISA 70{ 71 //This makes sure the little endian version of certain functions --- 55 unchanged lines hidden (view full) --- 127 const int VMPageSize = (1 << LogVMPageSize); 128 129 const int PageShift = 13; 130 const int PageBytes = 1ULL << PageShift; 131 132 const int BranchPredAddrShiftAmt = 0; 133 134 StaticInstPtr decodeInst(ExtMachInst); | 65 66class StaticInstPtr; 67 68namespace LittleEndianGuest {} 69 70namespace X86ISA 71{ 72 //This makes sure the little endian version of certain functions --- 55 unchanged lines hidden (view full) --- 128 const int VMPageSize = (1 << LogVMPageSize); 129 130 const int PageShift = 13; 131 const int PageBytes = 1ULL << PageShift; 132 133 const int BranchPredAddrShiftAmt = 0; 134 135 StaticInstPtr decodeInst(ExtMachInst); |
136 137 const Addr LoadAddrMask = ULL(0xffffffffff); |
|
135}; 136 137#endif // __ARCH_X86_ISATRAITS_HH__ | 138}; 139 140#endif // __ARCH_X86_ISATRAITS_HH__ |