qemu/include/hw/misc/a9scu.h
<<
>>
Prefs
   1/*
   2 * Cortex-A9MPCore Snoop Control Unit (SCU) emulation.
   3 *
   4 * Copyright (c) 2009 CodeSourcery.
   5 * Copyright (c) 2011 Linaro Limited.
   6 * Written by Paul Brook, Peter Maydell.
   7 *
   8 * This code is licensed under the GPL.
   9 */
  10#ifndef HW_MISC_A9SCU_H
  11#define HW_MISC_A9SCU_H
  12
  13#include "hw/sysbus.h"
  14#include "qom/object.h"
  15
  16/* A9MP private memory region.  */
  17
  18struct A9SCUState {
  19    /*< private >*/
  20    SysBusDevice parent_obj;
  21    /*< public >*/
  22
  23    MemoryRegion iomem;
  24    uint32_t control;
  25    uint32_t status;
  26    uint32_t num_cpu;
  27};
  28
  29#define TYPE_A9_SCU "a9-scu"
  30OBJECT_DECLARE_SIMPLE_TYPE(A9SCUState, A9_SCU)
  31
  32#endif
  33