Deleted Added
sdiff udiff text old ( 2683:d6b72bb2ed97 ) new ( 2700:371f3b47c722 )
full compact
1/*
2 * Copyright (c) 2002-2005 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;

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

54void
55AlphaISA::initCPU(ThreadContext *tc, int cpuId)
56{
57 initIPRs(tc, cpuId);
58
59 tc->setIntReg(16, cpuId);
60 tc->setIntReg(0, cpuId);
61
62 tc->setPC(tc->readMiscReg(IPR_PAL_BASE) + (new ResetFault)->vect());
63 tc->setNextPC(tc->readPC() + sizeof(MachInst));
64}
65
66////////////////////////////////////////////////////////////////////////
67//
68//
69//
70void
71AlphaISA::initIPRs(ThreadContext *tc, int cpuId)

--- 516 unchanged lines hidden ---