1/* 2 * Copyright (c) 2012 Google 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; --- 145 unchanged lines hidden (view full) --- 154 State doImmediateState(); 155 156 public: 157 Decoder(ThreadContext * _tc) : 158 tc(_tc), basePC(0), origPC(0), offset(0), 159 outOfBytes(true), instDone(false), 160 state(ResetState) 161 { |
162 memset(&emi, 0, sizeof(emi)); |
163 emi.mode.mode = LongMode; 164 emi.mode.submode = SixtyFourBitMode; 165 m5Reg = 0; 166 } 167 168 void reset() 169 { 170 state = ResetState; --- 77 unchanged lines hidden --- |