1/* 2 * Copyright (c) 2003-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 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 --- 81 unchanged lines hidden (view full) --- 90const Addr KSSegEnd = ULL(0xDFFFFFFF); 91const Addr KSSegBase = ULL(0xC0000000); 92 93// Kernel Segment 3 - Mapped 94const Addr KSeg3End = ULL(0xFFFFFFFF); 95const Addr KSeg3Base = ULL(0xE0000000); 96 97 |
98inline Addr Phys2K0Seg(Addr addr) 99{ 100 return addr | KSeg0Base; 101} 102 103 104const unsigned VABits = 32; 105const unsigned PABits = 32; // Is this correct? --- 64 unchanged lines hidden --- |