1/* 2 * Copyright (c) 2003-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; --- 22 unchanged lines hidden (view full) --- 31 32#ifndef __ARCH_ALPHA_UTILITY_HH__ 33#define __ARCH_ALPHA_UTILITY_HH__ 34 35#include "arch/alpha/isa_traits.hh" 36#include "arch/alpha/registers.hh" 37#include "arch/alpha/types.hh" 38#include "base/misc.hh" |
39#include "cpu/static_inst.hh" 40#include "cpu/thread_context.hh" 41#include "arch/alpha/ev5.hh" 42 43namespace AlphaISA { 44 45inline PCState 46buildRetPC(const PCState &curPC, const PCState &callPC) --- 43 unchanged lines hidden (view full) --- 90TruncPage(Addr addr) 91{ return addr & ~(PageBytes - 1); } 92 93inline Addr 94RoundPage(Addr addr) 95{ return (addr + PageBytes - 1) & ~(PageBytes - 1); } 96 97void initIPRs(ThreadContext *tc, int cpuId); |
98void initCPU(ThreadContext *tc, int cpuId); |
99 100void copyRegs(ThreadContext *src, ThreadContext *dest); 101 102void copyMiscRegs(ThreadContext *src, ThreadContext *dest); 103 104void skipFunction(ThreadContext *tc); 105 106inline void --- 14 unchanged lines hidden --- |