i8254.hh (5642:102cf92b8ea9) | i8254.hh (5827:ac2c268bf4f1) |
---|---|
1/* 2 * Copyright (c) 2008 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; --- 24 unchanged lines hidden (view full) --- 33 34#include "dev/intel_8254_timer.hh" 35#include "dev/io_device.hh" 36#include "params/I8254.hh" 37 38namespace X86ISA 39{ 40 | 1/* 2 * Copyright (c) 2008 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; --- 24 unchanged lines hidden (view full) --- 33 34#include "dev/intel_8254_timer.hh" 35#include "dev/io_device.hh" 36#include "params/I8254.hh" 37 38namespace X86ISA 39{ 40 |
41class IntPin; | 41class IntSourcePin; |
42 43class I8254 : public BasicPioDevice 44{ 45 protected: 46 Tick latency; 47 class X86Intel8254Timer : public Intel8254Timer 48 { 49 protected: --- 9 unchanged lines hidden (view full) --- 59 X86Intel8254Timer(const std::string &name, I8254 * _parent) : 60 Intel8254Timer(_parent, name), parent(_parent) 61 {} 62 }; 63 64 65 X86Intel8254Timer pit; 66 | 42 43class I8254 : public BasicPioDevice 44{ 45 protected: 46 Tick latency; 47 class X86Intel8254Timer : public Intel8254Timer 48 { 49 protected: --- 9 unchanged lines hidden (view full) --- 59 X86Intel8254Timer(const std::string &name, I8254 * _parent) : 60 Intel8254Timer(_parent, name), parent(_parent) 61 {} 62 }; 63 64 65 X86Intel8254Timer pit; 66 |
67 IntPin *intPin; | 67 IntSourcePin *intPin; |
68 69 void counterInterrupt(unsigned int num); 70 71 public: 72 typedef I8254Params Params; 73 74 const Params * 75 params() const --- 41 unchanged lines hidden --- | 68 69 void counterInterrupt(unsigned int num); 70 71 public: 72 typedef I8254Params Params; 73 74 const Params * 75 params() const --- 41 unchanged lines hidden --- |