cpuevent.hh (2680:246e7104f744) cpuevent.hh (2734:af0d50755df7)
1/*
2 * Copyright (c) 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;

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

31#ifndef __CPU_CPUEVENT_HH__
32#define __CPU_CPUEVENT_HH__
33
34#include <vector>
35#include "sim/eventq.hh"
36
37class ThreadContext;
38
1/*
2 * Copyright (c) 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;

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

31#ifndef __CPU_CPUEVENT_HH__
32#define __CPU_CPUEVENT_HH__
33
34#include <vector>
35#include "sim/eventq.hh"
36
37class ThreadContext;
38
39/** This class creates a global list of events than need a pointer to an
39/** This class creates a global list of events that need a pointer to a
40 * thread context. When a switchover takes place the events can be migrated
41 * to the new thread context, otherwise you could have a wake timer interrupt
42 * go off on a switched out cpu or other unfortunate events. This object MUST be
43 * dynamically allocated to avoid it being deleted after a cpu switch happens.
44 * */
45class CpuEvent : public Event
46{
47 private:

--- 42 unchanged lines hidden ---
40 * thread context. When a switchover takes place the events can be migrated
41 * to the new thread context, otherwise you could have a wake timer interrupt
42 * go off on a switched out cpu or other unfortunate events. This object MUST be
43 * dynamically allocated to avoid it being deleted after a cpu switch happens.
44 * */
45class CpuEvent : public Event
46{
47 private:

--- 42 unchanged lines hidden ---