Deleted Added
sdiff udiff text old ( 7400:f6c9b27c4dbe ) new ( 7580:6f77f379a594 )
full compact
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 77 unchanged lines hidden (view full) ---

86 const Addr USegBase = ULL(0x0);
87 const Addr USegEnd = ULL(0x7FFFFFFF);
88
89 // Kernel Segment 0 - Unmapped
90 const Addr KSeg0End = ULL(0x9FFFFFFF);
91 const Addr KSeg0Base = ULL(0x80000000);
92 const Addr KSeg0Mask = ULL(0x1FFFFFFF);
93
94 const unsigned VABits = 32;
95 const unsigned PABits = 32; // Is this correct?
96 const Addr VAddrImplMask = (ULL(1) << VABits) - 1;
97 const Addr VAddrUnImplMask = ~VAddrImplMask;
98 inline Addr VAddrImpl(Addr a) { return a & VAddrImplMask; }
99 inline Addr VAddrVPN(Addr a) { return a >> ArmISA::PageShift; }
100 inline Addr VAddrOffset(Addr a) { return a & ArmISA::PageOffset; }
101

--- 41 unchanged lines hidden ---