Deleted Added
sdiff udiff text old ( 3760:a4fadb8ef046 ) new ( 3761:b7c7f547d5a3 )
full compact
1/*
2 * Copyright (c) 2003-2004 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;

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

90
91 threadContexts[0]->setMiscReg(MISCREG_TICK, 0);
92 //
93 /*
94 * Register window management registers
95 */
96
97 //No windows contain info from other programs
98 threadContexts[0]->setMiscReg(MISCREG_OTHERWIN, 0);
99 //There are no windows to pop
100 threadContexts[0]->setMiscReg(MISCREG_CANRESTORE, 0);
101 //All windows are available to save into
102 threadContexts[0]->setMiscReg(MISCREG_CANSAVE, NWindows - 2);
103 //All windows are "clean"
104 threadContexts[0]->setMiscReg(MISCREG_CLEANWIN, NWindows);
105 //Start with register window 0
106 threadContexts[0]->setMiscReg(MISCREG_CWP, 0);
107 //Always use spill and fill traps 0
108 threadContexts[0]->setMiscReg(MISCREG_WSTATE, 0);
109 //Set the trap level to 0
110 threadContexts[0]->setMiscReg(MISCREG_TL, 0);
111 //Set the ASI register to something fixed
112 threadContexts[0]->setMiscReg(MISCREG_ASI, ASI_PRIMARY);
113}
114
115m5_auxv_t buildAuxVect(int64_t type, int64_t val)
116{

--- 315 unchanged lines hidden ---