vtophys.hh (6691:cd68b6ecd68d) | vtophys.hh (7811:a8fc35183c10) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007-2008 The Florida State University 4 * Copyright (c) 2009 The University of Edinburgh 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are --- 37 unchanged lines hidden (view full) --- 46namespace PowerISA { 47 48inline Addr 49PteAddr(Addr a) 50{ 51 return (a & PteMask) << PteShift; 52} 53 | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007-2008 The Florida State University 4 * Copyright (c) 2009 The University of Edinburgh 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are --- 37 unchanged lines hidden (view full) --- 46namespace PowerISA { 47 48inline Addr 49PteAddr(Addr a) 50{ 51 return (a & PteMask) << PteShift; 52} 53 |
54} // PowerISA namespace | 54} // namespace PowerISA |
55 56#endif // __ARCH_POWER_VTOPHYS_HH__ 57 | 55 56#endif // __ARCH_POWER_VTOPHYS_HH__ 57 |