1/* 2 * Copyright (c) 2003-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 --- 47 unchanged lines hidden (view full) --- 56const Addr Page_Mask = ~(PageBytes - 1); 57const Addr PageOffset = PageBytes - 1; 58 59const Addr PteShift = 3; 60const Addr NPtePageShift = PageShift - PteShift; 61const Addr NPtePage = ULL(1) << NPtePageShift; 62const Addr PteMask = NPtePage - 1; 63 |
64const int MachineBytes = 4; 65 66// This is ori 0, 0, 0 67const ExtMachInst NoopMachInst = 0x60000000; 68 69// Memory accesses can be unaligned 70const bool HasUnalignedMemAcc = true; 71 72const bool CurThreadInfoImplemented = false; 73const int CurThreadInfoReg = -1; 74 75} // namespace PowerISA 76 77#endif // __ARCH_POWER_ISA_TRAITS_HH__ |