Type.py (7805:f249937228b5) | Type.py (7832:de7601e6e19d) |
---|---|
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; --- 494 unchanged lines hidden (view full) --- 503 def printEnumCC(self, path): 504 code = self.symtab.codeFormatter() 505 code(''' 506/** \\file ${{self.c_ident}}.hh 507 * 508 * Auto generated C++ code started by $__file__:$__line__ 509 */ 510 | 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; --- 494 unchanged lines hidden (view full) --- 503 def printEnumCC(self, path): 504 code = self.symtab.codeFormatter() 505 code(''' 506/** \\file ${{self.c_ident}}.hh 507 * 508 * Auto generated C++ code started by $__file__:$__line__ 509 */ 510 |
511#include <cassert> |
|
511#include <iostream> 512#include <string> 513 514#include "base/misc.hh" 515#include "mem/protocol/${{self.c_ident}}.hh" 516 517using namespace std; 518 --- 182 unchanged lines hidden --- | 512#include <iostream> 513#include <string> 514 515#include "base/misc.hh" 516#include "mem/protocol/${{self.c_ident}}.hh" 517 518using namespace std; 519 --- 182 unchanged lines hidden --- |