Deleted Added
sdiff udiff text old ( 10593:a39de7b8d2c9 ) new ( 10905:a6ca6831e775 )
full compact
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

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

271 void
272 uEnd()
273 {
274 Base::uEnd();
275 _size = 0;
276 }
277
278 void
279 serialize(std::ostream &os)
280 {
281 Base::serialize(os);
282 SERIALIZE_SCALAR(_size);
283 }
284
285 void
286 unserialize(Checkpoint *cp, const std::string &section)
287 {
288 Base::unserialize(cp, section);
289 UNSERIALIZE_SCALAR(_size);
290 }
291 };
292
293}
294
295__hash_namespace_begin
296 template<>

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

309 };
310 };
311__hash_namespace_end
312
313// These two functions allow ExtMachInst to be used with SERIALIZE_SCALAR
314// and UNSERIALIZE_SCALAR.
315template <>
316void
317paramOut(std::ostream &os, const std::string &name,
318 const X86ISA::ExtMachInst &machInst);
319template <>
320void
321paramIn(Checkpoint *cp, const std::string &section,
322 const std::string &name, X86ISA::ExtMachInst &machInst);
323
324#endif // __ARCH_X86_TYPES_HH__