vtophys.hh (8730:0a742249f76b) | vtophys.hh (8902:75b524b64c28) |
---|---|
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 --- 31 unchanged lines hidden (view full) --- 40class ThreadContext; 41 42namespace ArmISA { 43 inline Addr PteAddr(Addr a) { return (a & PteMask) << PteShift; } 44 45 Addr vtophys(Addr vaddr); 46 Addr vtophys(ThreadContext *tc, Addr vaddr); 47 bool virtvalid(ThreadContext *tc, Addr vaddr); | 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 --- 31 unchanged lines hidden (view full) --- 40class ThreadContext; 41 42namespace ArmISA { 43 inline Addr PteAddr(Addr a) { return (a & PteMask) << PteShift; } 44 45 Addr vtophys(Addr vaddr); 46 Addr vtophys(ThreadContext *tc, Addr vaddr); 47 bool virtvalid(ThreadContext *tc, Addr vaddr); |
48}; | 48} |
49 50#endif // __ARCH_ARM_VTOPHYS_H__ 51 | 49 50#endif // __ARCH_ARM_VTOPHYS_H__ 51 |