system.hh (10466:73b7549d979e) | system.hh (10467:dcf27c8220ac) |
---|---|
1/* 2 * Copyright (c) 2012, 2014 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 --- 257 unchanged lines hidden (view full) --- 266 * Check if a physical address is within a range of a memory that 267 * is part of the global address map. 268 * 269 * @param addr A physical address 270 * @return Whether the address corresponds to a memory 271 */ 272 bool isMemAddr(Addr addr) const; 273 | 1/* 2 * Copyright (c) 2012, 2014 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 --- 257 unchanged lines hidden (view full) --- 266 * Check if a physical address is within a range of a memory that 267 * is part of the global address map. 268 * 269 * @param addr A physical address 270 * @return Whether the address corresponds to a memory 271 */ 272 bool isMemAddr(Addr addr) const; 273 |
274 /** 275 * Get the architecture. 276 */ 277 Arch getArch() const { return Arch::TheISA; } 278 |
|
274 /** 275 * Get the page bytes for the ISA. 276 */ 277 Addr getPageBytes() const { return TheISA::PageBytes; } 278 279 /** 280 * Get the number of bits worth of in-page adress for the ISA. 281 */ --- 279 unchanged lines hidden --- | 279 /** 280 * Get the page bytes for the ISA. 281 */ 282 Addr getPageBytes() const { return TheISA::PageBytes; } 283 284 /** 285 * Get the number of bits worth of in-page adress for the ISA. 286 */ --- 279 unchanged lines hidden --- |