Deleted Added
sdiff udiff text old ( 14039:4991b2a345a1 ) new ( 14098:f4b9024d1a96 )
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

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

223
224unsigned
225V8PageTableOps4k::lastLevel() const
226{
227 return 3;
228}
229
230bool
231V8PageTableOps64k::isValid(pte_t pte, unsigned level) const
232{
233 switch (level) {
234 case 1: return pte & 0x1;
235 case 2: return pte & 0x1;
236 case 3: return (pte & 0x1) && (pte & 0x2);
237 default: panic("bad level %d", level);
238 }

--- 78 unchanged lines hidden ---