system.cc (7064:586b0e3a12b3) | system.cc (8229:78bf55f23338) |
---|---|
1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 25 unchanged lines hidden (view full) --- 34 * @file 35 * This code loads the linux kernel, console, pal and patches certain 36 * functions. The symbol tables are loaded so that traces can show 37 * the executing function and we can skip functions. Various delay 38 * loops are skipped and their final values manually computed to speed 39 * up boot time. 40 */ 41 | 1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 25 unchanged lines hidden (view full) --- 34 * @file 35 * This code loads the linux kernel, console, pal and patches certain 36 * functions. The symbol tables are loaded so that traces can show 37 * the executing function and we can skip functions. Various delay 38 * loops are skipped and their final values manually computed to speed 39 * up boot time. 40 */ 41 |
42#include "arch/vtophys.hh" 43#include "arch/mips/idle_event.hh" | |
44#include "arch/mips/linux/system.hh" 45#include "arch/mips/linux/threadinfo.hh" | 42#include "arch/mips/linux/system.hh" 43#include "arch/mips/linux/threadinfo.hh" |
44#include "arch/mips/idle_event.hh" |
|
46#include "arch/mips/system.hh" | 45#include "arch/mips/system.hh" |
46#include "arch/vtophys.hh" |
|
47#include "base/loader/symtab.hh" | 47#include "base/loader/symtab.hh" |
48#include "cpu/thread_context.hh" | |
49#include "cpu/base.hh" | 48#include "cpu/base.hh" |
49#include "cpu/thread_context.hh" |
|
50#include "dev/platform.hh" | 50#include "dev/platform.hh" |
51#include "kern/linux/printk.hh" | |
52#include "kern/linux/events.hh" | 51#include "kern/linux/events.hh" |
52#include "kern/linux/printk.hh" |
|
53#include "mem/physical.hh" 54#include "mem/port.hh" 55#include "sim/arguments.hh" 56#include "sim/byteswap.hh" 57 58using namespace std; 59using namespace MipsISA; 60using namespace Linux; --- 129 unchanged lines hidden --- | 53#include "mem/physical.hh" 54#include "mem/port.hh" 55#include "sim/arguments.hh" 56#include "sim/byteswap.hh" 57 58using namespace std; 59using namespace MipsISA; 60using namespace Linux; --- 129 unchanged lines hidden --- |