types.hh (7087:fb8d5786ff30) | types.hh (7624:3f32191bcf66) |
---|---|
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 --- 31 unchanged lines hidden (view full) --- 40#ifndef __ARCH_X86_TYPES_HH__ 41#define __ARCH_X86_TYPES_HH__ 42 43#include <iostream> 44 45#include "base/bitunion.hh" 46#include "base/cprintf.hh" 47#include "base/types.hh" | 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 --- 31 unchanged lines hidden (view full) --- 40#ifndef __ARCH_X86_TYPES_HH__ 41#define __ARCH_X86_TYPES_HH__ 42 43#include <iostream> 44 45#include "base/bitunion.hh" 46#include "base/cprintf.hh" 47#include "base/types.hh" |
48#include "sim/serialize.hh" |
|
48 49namespace X86ISA 50{ 51 //This really determines how many bytes are passed to the predecoder. 52 typedef uint64_t MachInst; 53 54 enum Prefixes { 55 NoOverride, --- 163 unchanged lines hidden (view full) --- 219 return true; 220 } 221 222 struct CoreSpecific { 223 int core_type; 224 }; 225}; 226 | 49 50namespace X86ISA 51{ 52 //This really determines how many bytes are passed to the predecoder. 53 typedef uint64_t MachInst; 54 55 enum Prefixes { 56 NoOverride, --- 163 unchanged lines hidden (view full) --- 220 return true; 221 } 222 223 struct CoreSpecific { 224 int core_type; 225 }; 226}; 227 |
228// These two functions allow ExtMachInst to be used with SERIALIZE_SCALAR 229// and UNSERIALIZE_SCALAR. 230template <> 231void 232paramOut(std::ostream &os, const std::string &name, 233 const X86ISA::ExtMachInst &machInst); 234template <> 235void 236paramIn(Checkpoint *cp, const std::string §ion, 237 const std::string &name, X86ISA::ExtMachInst &machInst); 238 |
|
227#endif // __ARCH_X86_TYPES_HH__ | 239#endif // __ARCH_X86_TYPES_HH__ |