Deleted Added
sdiff udiff text old ( 14098:f4b9024d1a96 ) new ( 14100:6ef1220dc6da )
full compact
1/*
2 * Copyright (c) 2013, 2018-2019 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

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

117 case 1: return mask(39, 30);
118 case 2: return mask(39, 21);
119 case 3: return mask(39, 12);
120 default: panic("bad level %d", level);
121 }
122}
123
124unsigned
125V7LPageTableOps::firstLevel() const
126{
127 return 1;
128}
129
130unsigned
131V7LPageTableOps::lastLevel() const
132{
133 return 3;

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

211 case 1: return mask(47, 30);
212 case 2: return mask(47, 21);
213 case 3: return mask(47, 12);
214 default: panic("bad level %d", level);
215 }
216}
217
218unsigned
219V8PageTableOps4k::firstLevel() const
220{
221 return 0;
222}
223
224unsigned
225V8PageTableOps4k::lastLevel() const
226{
227 return 3;
228}
229

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

307 case 1: return ~mask(36);
308 case 2: return ~mask(25);
309 case 3: return ~mask(14);
310 default: panic("bad level %d", level);
311 }
312}
313
314unsigned
315V8PageTableOps16k::firstLevel() const
316{
317 return 0;
318}
319
320unsigned
321V8PageTableOps16k::lastLevel() const
322{
323 return 3;
324}
325

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

395 case 1: return mask(47, 42);
396 case 2: return mask(47, 29);
397 case 3: return mask(47, 16);
398 default: panic("bad level %d", level);
399 }
400}
401
402unsigned
403V8PageTableOps64k::firstLevel() const
404{
405 return 1;
406}
407
408unsigned
409V8PageTableOps64k::lastLevel() const
410{
411 return 3;
412}