nativetrace.hh (7811:a8fc35183c10) | nativetrace.hh (8271:1d3733d3acee) |
---|---|
1/* 2 * Copyright (c) 2006 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; --- 48 unchanged lines hidden (view full) --- 57 STATE_R12, 58 STATE_R13, 59 STATE_SP = STATE_R13, 60 STATE_R14, 61 STATE_LR = STATE_R14, 62 STATE_R15, 63 STATE_PC = STATE_R15, 64 STATE_CPSR, | 1/* 2 * Copyright (c) 2006 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; --- 48 unchanged lines hidden (view full) --- 57 STATE_R12, 58 STATE_R13, 59 STATE_SP = STATE_R13, 60 STATE_R14, 61 STATE_LR = STATE_R14, 62 STATE_R15, 63 STATE_PC = STATE_R15, 64 STATE_CPSR, |
65 STATE_F0, STATE_F1, STATE_F2, STATE_F3, STATE_F4, STATE_F5, STATE_F6, 66 STATE_F7, STATE_F8, STATE_F9, STATE_F10, STATE_F11, STATE_F12, 67 STATE_F13, STATE_F14, STATE_F15, STATE_F16, STATE_F17, STATE_F18, 68 STATE_F19, STATE_F20, STATE_F21, STATE_F22, STATE_F23, STATE_F24, 69 STATE_F25, STATE_F26, STATE_F27, STATE_F28, STATE_F29, STATE_F30, 70 STATE_F31, STATE_FPSCR, |
|
65 STATE_NUMVALS 66 }; 67 68 protected: 69 struct ThreadState { 70 bool changed[STATE_NUMVALS]; | 71 STATE_NUMVALS 72 }; 73 74 protected: 75 struct ThreadState { 76 bool changed[STATE_NUMVALS]; |
71 uint32_t state[2][STATE_NUMVALS]; 72 uint32_t *newState; 73 uint32_t *oldState; | 77 uint64_t state[2][STATE_NUMVALS]; 78 uint64_t *newState; 79 uint64_t *oldState; |
74 int current; 75 void update(NativeTrace *parent); 76 void update(ThreadContext *tc); 77 78 ThreadState() 79 { 80 for (int i = 0; i < STATE_NUMVALS; i++) { 81 changed[i] = false; --- 31 unchanged lines hidden --- | 80 int current; 81 void update(NativeTrace *parent); 82 void update(ThreadContext *tc); 83 84 ThreadState() 85 { 86 for (int i = 0; i < STATE_NUMVALS; i++) { 87 changed[i] = false; --- 31 unchanged lines hidden --- |