1. 07 9月, 2015 1 次提交
  2. 12 1月, 2015 1 次提交
  3. 23 9月, 2014 1 次提交
  4. 01 9月, 2014 1 次提交
  5. 27 2月, 2014 1 次提交
    • H
      s390x/event-facility: code restructure · 477a72a1
      Heinz Graalfs 提交于
      Code restructure in order to simplify class hierarchy
        - remove S390SCLPDevice abstract base class
          and move function pointers into new SCLPEventFacilityClass
        - implement SCLPEventFacility as SysBusDevice
        - use define constants for instance creation strings
      
      The following ascii-art shows the class structure wrt the SCLP EventFacility
      before (CURRENT) and after the restructure (NEW):
      
      ----
      CURRENT:
      
         "s390-sclp-events-bus"
         +-------------------------+
         |      SCLPEventsBus      |
         |-------------------------|
         |BusState qbus            |
         +-------------------------+
      
         +-------------------------+
         |   SCLPEventFacility     |  - to be replaced by new SCLPEventFacility,
         |-------------------------|    which will be a SysBusDevice
         |SCLPEventsBus sbus       |
         |DeviceState *qdev        |
         |unsigned int receive_mask|
         +-------------------------+
      
         +-------------------------+
         |   S390SCLPDeviceClass   |  - to be replaced by new SCLPEventFacilityClass
         |-------------------------|
         |DeviceClass qdev         |
         |*(init)()                |
         +-------------------------+
      
         "s390-sclp-event-facility"
                   |
               instance-of
                   |
                   V
         "s390-sclp-device"           - this is an abstract class
         +-------------------------+
         |     S390SCLPDevice   (A)|  - to be replaced by new SCLPEventFacility
         |-------------------------|
         |SysBusDevice busdev      |
         |SCLPEventFacility *ef    |
         |                         |
         |*(sclp_command_handler)()|  - these 2 go to new SCLPEventFacilityClass
         |*(event_pending)()       |
         +-------------------------+
      
      ----
      NEW:
      
         "s390-sclp-events-bus"
         +-------------------------+
         |      SCLPEventsBus      |
         |-------------------------|
         |BusState qbus            |
         +-------------------------+
      
         +-------------------------+
         | SCLPEventFacilityClass  |
         |-------------------------|
         |DeviceClass parent_class |
         |                         |
         |*(init)()                |
         |*(command_handler)()     |
         |*(event_pending)()       |
         +-------------------------+
      
         "s390-sclp-event-facility"
         +-------------------------+
         |   SCLPEventFacility     |
         |-------------------------|
         |SysBusDevice parent_class|
         |SCLPEventsBus sbus       |
         |unsigned int receive_mask|
         +-------------------------+
      Signed-off-by: NHeinz Graalfs <graalfs@linux.vnet.ibm.com>
      Reviewed-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      477a72a1
  6. 28 1月, 2014 1 次提交
  7. 21 1月, 2014 3 次提交
  8. 09 4月, 2013 1 次提交
    • P
      hw: move headers to include/ · 0d09e41a
      Paolo Bonzini 提交于
      Many of these should be cleaned up with proper qdev-/QOM-ification.
      Right now there are many catch-all headers in include/hw/ARCH depending
      on cpu.h, and this makes it necessary to compile these files per-target.
      However, fixing this does not belong in these patches.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      0d09e41a
  9. 07 12月, 2012 1 次提交
  10. 30 10月, 2012 2 次提交