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; --- 22 unchanged lines hidden (view full) --- 31/** @file 32 * Implementation of Tsunami platform. 33 */ 34 35#include <deque> 36#include <string> 37#include <vector> 38 |
39#include "arch/alpha/system.hh" |
40#include "config/the_isa.hh" 41#include "cpu/intr_control.hh" 42#include "dev/alpha/tsunami.hh" 43#include "dev/alpha/tsunami_cchip.hh" 44#include "dev/alpha/tsunami_io.hh" 45#include "dev/alpha/tsunami_pchip.hh" 46#include "dev/terminal.hh" 47 --- 6 unchanged lines hidden (view full) --- 54{ 55 for (int i = 0; i < Tsunami::Max_CPUs; i++) 56 intr_sum_type[i] = 0; 57} 58 59void 60Tsunami::init() 61{ |
62 AlphaSystem *alphaSystem = dynamic_cast<AlphaSystem *>(system); 63 assert(alphaSystem); 64 alphaSystem->setIntrFreq(io->frequency()); |
65} 66 67void 68Tsunami::postConsoleInt() 69{ 70 io->postPIC(0x10); 71} 72 --- 60 unchanged lines hidden --- |