drain.hh (11360:40be59176869) | drain.hh (11800:54436a1784dc) |
---|---|
1/* 2 * Copyright (c) 2012, 2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 30 unchanged lines hidden (view full) --- 39 40#ifndef __SIM_DRAIN_HH__ 41#define __SIM_DRAIN_HH__ 42 43#include <atomic> 44#include <mutex> 45#include <unordered_set> 46 | 1/* 2 * Copyright (c) 2012, 2015 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 30 unchanged lines hidden (view full) --- 39 40#ifndef __SIM_DRAIN_HH__ 41#define __SIM_DRAIN_HH__ 42 43#include <atomic> 44#include <mutex> 45#include <unordered_set> 46 |
47#include "base/flags.hh" 48 | |
49class Drainable; 50 51#ifndef SWIG // SWIG doesn't support strongly typed enums 52/** 53 * Object drain/handover states 54 * 55 * An object starts out in the Running state. When the simulator 56 * prepares to take a snapshot or prepares a CPU for handover, it --- 253 unchanged lines hidden --- | 47class Drainable; 48 49#ifndef SWIG // SWIG doesn't support strongly typed enums 50/** 51 * Object drain/handover states 52 * 53 * An object starts out in the Running state. When the simulator 54 * prepares to take a snapshot or prepares a CPU for handover, it --- 253 unchanged lines hidden --- |