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; --- 464 unchanged lines hidden (view full) --- 473 * Auto generated C++ code started by $__file__:$__line__ 474 */ 475 476#include "mem/protocol/${{self.c_ident}}.hh" 477 478''') 479 480 if self.isMachineType: |
481 for enum in self.enums.itervalues(): 482 code('#include "mem/protocol/${{enum.ident}}_Controller.hh"') 483 484 code(''' 485ostream& operator<<(ostream& out, const ${{self.c_ident}}& obj) 486{ 487 out << ${{self.c_ident}}_to_string(obj); 488 out << flush; --- 163 unchanged lines hidden --- |