isa.hh (13610:5d5404ac6288) isa.hh (13614:52c5311db96b)
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;

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

69 InternalProcReg ipr[NumInternalProcRegs]; // Internal processor regs
70
71 protected:
72 InternalProcReg readIpr(int idx, ThreadContext *tc);
73 void setIpr(int idx, InternalProcReg val, ThreadContext *tc);
74
75 public:
76
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;

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

69 InternalProcReg ipr[NumInternalProcRegs]; // Internal processor regs
70
71 protected:
72 InternalProcReg readIpr(int idx, ThreadContext *tc);
73 void setIpr(int idx, InternalProcReg val, ThreadContext *tc);
74
75 public:
76
77 MiscReg readMiscRegNoEffect(int misc_reg, ThreadID tid = 0) const;
78 MiscReg readMiscReg(int misc_reg, ThreadContext *tc, ThreadID tid = 0);
77 RegVal readMiscRegNoEffect(int misc_reg, ThreadID tid = 0) const;
78 RegVal readMiscReg(int misc_reg, ThreadContext *tc, ThreadID tid = 0);
79
79
80 void setMiscRegNoEffect(int misc_reg, MiscReg val, ThreadID tid=0);
81 void setMiscReg(int misc_reg, MiscReg val, ThreadContext *tc,
80 void setMiscRegNoEffect(int misc_reg, RegVal val, ThreadID tid=0);
81 void setMiscReg(int misc_reg, RegVal val, ThreadContext *tc,
82 ThreadID tid=0);
83
84 void
85 clear()
86 {
87 fpcr = 0;
88 uniq = 0;
89 lock_flag = 0;

--- 65 unchanged lines hidden ---
82 ThreadID tid=0);
83
84 void
85 clear()
86 {
87 fpcr = 0;
88 uniq = 0;
89 lock_flag = 0;

--- 65 unchanged lines hidden ---