1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007-2008 The Florida State University 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 32 unchanged lines hidden (view full) --- 41class ThreadContext; 42class FunctionalPort; 43 44namespace ArmISA { 45 inline Addr PteAddr(Addr a) { return (a & PteMask) << PteShift; } 46 47 Addr vtophys(Addr vaddr); 48 Addr vtophys(ThreadContext *tc, Addr vaddr); |
49 bool virtvalid(ThreadContext *tc, Addr vaddr); |
50}; 51 52#endif // __ARCH_ARM_VTOPHYS_H__ 53 |