1/* 2 * Copyright (c) 2008 The Regents of The University of Michigan 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; --- 22 unchanged lines hidden (view full) --- 31#ifndef __SIM_MICROCODE_ROM_HH__ 32#define __SIM_MICROCODE_ROM_HH__ 33 34/* 35 * This is a generic stub microcode ROM ISAs can use if they don't need 36 * anything more. 37 */ 38 |
39#include <inttypes.h> |
40 |
41#include "cpu/static_inst_fwd.hh" 42 43typedef uint16_t MicroPC; 44 |
45class MicrocodeRom 46{ 47 public: |
48 StaticInstPtr fetchMicroop(MicroPC micropc, StaticInstPtr curMacroop); |
49}; 50 51#endif // __SIM_MICROCODE_ROM_HH__ |