mc146818.hh (9235:5aa4896ed55a) mc146818.hh (9356:b279bad40aa3)
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;

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

28 * Authors: Ali Saidi
29 * Andrew Schultz
30 * Miguel Serrano
31 */
32
33#ifndef __DEV_MC146818_HH__
34#define __DEV_MC146818_HH__
35
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;

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

28 * Authors: Ali Saidi
29 * Andrew Schultz
30 * Miguel Serrano
31 */
32
33#ifndef __DEV_MC146818_HH__
34#define __DEV_MC146818_HH__
35
36#include "sim/eventq.hh"
36#include "sim/eventq_impl.hh"
37
38/** Real-Time Clock (MC146818) */
39class MC146818 : public EventManager
40{
41 protected:
42 virtual void handleEvent()
43 {
44 warn("No RTC event handler defined.\n");

--- 107 unchanged lines hidden ---
37
38/** Real-Time Clock (MC146818) */
39class MC146818 : public EventManager
40{
41 protected:
42 virtual void handleEvent()
43 {
44 warn("No RTC event handler defined.\n");

--- 107 unchanged lines hidden ---