bcm2838.h 638 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * BCM2838 SoC emulation
  3. *
  4. * Copyright (C) 2022 Ovchinnikov Vitalii <vitalii.ovchinnikov@auriga.com>
  5. *
  6. * SPDX-License-Identifier: GPL-2.0-or-later
  7. */
  8. #ifndef BCM2838_H
  9. #define BCM2838_H
  10. #include "hw/arm/bcm2836.h"
  11. #include "hw/intc/arm_gic.h"
  12. #include "hw/arm/bcm2838_peripherals.h"
  13. #define BCM2838_PERI_LOW_BASE 0xfc000000
  14. #define BCM2838_GIC_BASE 0x40000
  15. #define TYPE_BCM2838 "bcm2838"
  16. OBJECT_DECLARE_TYPE(BCM2838State, BCM2838Class, BCM2838)
  17. struct BCM2838State {
  18. /*< private >*/
  19. BCM283XBaseState parent_obj;
  20. /*< public >*/
  21. BCM2838PeripheralState peripherals;
  22. GICState gic;
  23. };
  24. #endif /* BCM2838_H */