table_walker.hh (7578:7ea651f34ae6) table_walker.hh (7608:17aabeaa1a8f)
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

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

102 if (supersection())
103 panic("Super sections not implemented\n");
104 return bits(data, 31,20);
105 }
106
107 /** Is the translation global (no asid used)? */
108 bool global() const
109 {
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

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

102 if (supersection())
103 panic("Super sections not implemented\n");
104 return bits(data, 31,20);
105 }
106
107 /** Is the translation global (no asid used)? */
108 bool global() const
109 {
110 return bits(data, 4);
110 return bits(data, 17);
111 }
112
113 /** Is the translation not allow execution? */
114 bool xn() const
115 {
111 }
112
113 /** Is the translation not allow execution? */
114 bool xn() const
115 {
116 return bits(data, 17);
116 return bits(data, 4);
117 }
118
119 /** Three bit access protection flags */
120 uint8_t ap() const
121 {
122 return (bits(data, 15) << 2) | bits(data,11,10);
123 }
124

--- 232 unchanged lines hidden ---
117 }
118
119 /** Three bit access protection flags */
120 uint8_t ap() const
121 {
122 return (bits(data, 15) << 2) | bits(data,11,10);
123 }
124

--- 232 unchanged lines hidden ---