StateMachine.py (9996:150338b8ba12) StateMachine.py (10008:5176f0a71e56)
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;

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

538 code.dedent()
539 code('''
540}
541
542void
543$c_ident::init()
544{
545 MachineType machine_type = string_to_MachineType("${{var.machine.ident}}");
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;

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

538 code.dedent()
539 code('''
540}
541
542void
543$c_ident::init()
544{
545 MachineType machine_type = string_to_MachineType("${{var.machine.ident}}");
546 int base = MachineType_base_number(machine_type);
546 int base M5_VAR_USED = MachineType_base_number(machine_type);
547
548 m_machineID.type = MachineType_${ident};
549 m_machineID.num = m_version;
550
551 // initialize objects
552
553''')
554

--- 983 unchanged lines hidden ---
547
548 m_machineID.type = MachineType_${ident};
549 m_machineID.num = m_version;
550
551 // initialize objects
552
553''')
554

--- 983 unchanged lines hidden ---