Deleted Added
sdiff udiff text old ( 6726:a5322e816a2a ) new ( 6735:6437ad24a8a0 )
full compact
1/*
2 * Copyright (c) 2009 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;

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

80 public:
81 void clear()
82 {
83 memset(miscRegs, 0, sizeof(miscRegs));
84 CPSR cpsr = 0;
85 cpsr.mode = MODE_USER;
86 miscRegs[MISCREG_CPSR] = cpsr;
87 updateRegMap(cpsr);
88 //XXX We need to initialize the rest of the state.
89 }
90
91 MiscReg
92 readMiscRegNoEffect(int misc_reg)
93 {
94 assert(misc_reg < NumMiscRegs);
95 return miscRegs[misc_reg];

--- 61 unchanged lines hidden ---