Deleted Added
sdiff udiff text old ( 3125:febd811bccc6 ) new ( 4762:c94e103c83ad )
full compact
1/*
2 * Copyright (c) 2004-2005 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;

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

30
31/**
32 * @file
33 * Modifications for the FreeBSD kernel.
34 * Based on kern/linux/linux_system.cc.
35 *
36 */
37
38#include "arch/alpha/freebsd/system.hh"
39#include "arch/alpha/system.hh"
40#include "arch/isa_traits.hh"
41#include "arch/vtophys.hh"
42#include "base/loader/symtab.hh"
43#include "cpu/thread_context.hh"
44#include "mem/physical.hh"
45#include "mem/port.hh"
46#include "sim/byteswap.hh"
47
48#define TIMER_FREQUENCY 1193180
49
50using namespace std;
51using namespace AlphaISA;
52
53FreebsdAlphaSystem::FreebsdAlphaSystem(Params *p)
54 : AlphaSystem(p)

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

86
87void
88FreebsdAlphaSystem::SkipCalibrateClocksEvent::process(ThreadContext *tc)
89{
90 SkipFuncEvent::process(tc);
91 ((FreebsdAlphaSystem *)tc->getSystemPtr())->doCalibrateClocks(tc);
92}
93
94FreebsdAlphaSystem *
95FreebsdAlphaSystemParams::create()
96{
97 return new FreebsdAlphaSystem(this);
98}