1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2007 MIPS Technologies, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 15 unchanged lines hidden (view full) --- 24 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 29 * Authors: Ali Saidi 30 * Nathan Binkert 31 * Jaidev Patwardhan |
32 * Robert Scheffel |
33 */ 34 35#include "arch/riscv/system.hh" 36 37#include "arch/vtophys.hh" 38#include "base/loader/hex_file.hh" 39#include "base/loader/object_file.hh" 40#include "base/loader/symtab.hh" 41#include "base/trace.hh" 42#include "mem/physical.hh" 43#include "params/RiscvSystem.hh" 44#include "sim/byteswap.hh" 45 46using namespace LittleEndianGuest; 47 |
48RiscvSystem::RiscvSystem(Params *p) 49 : System(p), 50 _isBareMetal(p->bare_metal), 51 _resetVect(p->reset_vect) |
52{ 53} 54 55RiscvSystem::~RiscvSystem() 56{ 57} 58 59Addr --- 21 unchanged lines hidden --- |