stage2_mmu.cc (10379:c00f6d7e2681) stage2_mmu.cc (10537:47fe87b0cf97)
1/*
2 * Copyright (c) 2012-2013 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

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

103 // translate to physical address using the second stage MMU
104 translation->setVirt(descAddr, numBytes, flags | Request::PT_WALK, masterId);
105 fault = translation->translateTiming(tc);
106 return fault;
107}
108
109Stage2MMU::Stage2Translation::Stage2Translation(Stage2MMU &_parent,
110 uint8_t *_data, Event *_event, Addr _oVAddr)
1/*
2 * Copyright (c) 2012-2013 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

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

103 // translate to physical address using the second stage MMU
104 translation->setVirt(descAddr, numBytes, flags | Request::PT_WALK, masterId);
105 fault = translation->translateTiming(tc);
106 return fault;
107}
108
109Stage2MMU::Stage2Translation::Stage2Translation(Stage2MMU &_parent,
110 uint8_t *_data, Event *_event, Addr _oVAddr)
111 : data(_data), event(_event), parent(_parent), oVAddr(_oVAddr),
111 : data(_data), numBytes(0), event(_event), parent(_parent), oVAddr(_oVAddr),
112 fault(NoFault)
113{
114}
115
116void
117Stage2MMU::Stage2Translation::finish(const Fault &_fault, RequestPtr req,
118 ThreadContext *tc, BaseTLB::Mode mode)
119{

--- 27 unchanged lines hidden ---
112 fault(NoFault)
113{
114}
115
116void
117Stage2MMU::Stage2Translation::finish(const Fault &_fault, RequestPtr req,
118 ThreadContext *tc, BaseTLB::Mode mode)
119{

--- 27 unchanged lines hidden ---