Type.py (8602:836f8fad4a4c) | Type.py (8608:02d7ac5fb855) |
---|---|
1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 2# Copyright (c) 2009 The Hewlett-Packard Development Company 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 425 unchanged lines hidden (view full) --- 434 */ 435 436#ifndef __${{self.c_ident}}_HH__ 437#define __${{self.c_ident}}_HH__ 438 439#include <iostream> 440#include <string> 441 | 1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 2# Copyright (c) 2009 The Hewlett-Packard Development Company 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 425 unchanged lines hidden (view full) --- 434 */ 435 436#ifndef __${{self.c_ident}}_HH__ 437#define __${{self.c_ident}}_HH__ 438 439#include <iostream> 440#include <string> 441 |
442#include "mem/ruby/common/Global.hh" | |
443''') 444 if self.isStateDecl: 445 code('#include "mem/protocol/AccessPermission.hh"') 446 447 if self.isMachineType: 448 code('#include "base/misc.hh"') 449 code('#include "mem/protocol/GenericMachineType.hh"') 450 code('#include "mem/ruby/common/Address.hh"') | 442''') 443 if self.isStateDecl: 444 code('#include "mem/protocol/AccessPermission.hh"') 445 446 if self.isMachineType: 447 code('#include "base/misc.hh"') 448 code('#include "mem/protocol/GenericMachineType.hh"') 449 code('#include "mem/ruby/common/Address.hh"') |
451 code('#include "mem/ruby/system/NodeID.hh"') | |
452 code('struct MachineID;') 453 454 code(''' 455 456// Class definition 457/** \\enum ${{self.c_ident}} 458 * \\brief ${{self.desc}} 459 */ --- 321 unchanged lines hidden --- | 450 code('struct MachineID;') 451 452 code(''' 453 454// Class definition 455/** \\enum ${{self.c_ident}} 456 * \\brief ${{self.desc}} 457 */ --- 321 unchanged lines hidden --- |