sclp_sdias.h 811 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * SCLP "store data in absolute storage"
  3. *
  4. * Copyright IBM Corp. 2003, 2013
  5. */
  6. #ifndef SCLP_SDIAS_H
  7. #define SCLP_SDIAS_H
  8. #include "sclp.h"
  9. #define SDIAS_EQ_STORE_DATA 0x0
  10. #define SDIAS_EQ_SIZE 0x1
  11. #define SDIAS_DI_FCP_DUMP 0x0
  12. #define SDIAS_ASA_SIZE_32 0x0
  13. #define SDIAS_ASA_SIZE_64 0x1
  14. #define SDIAS_EVSTATE_ALL_STORED 0x0
  15. #define SDIAS_EVSTATE_NO_DATA 0x3
  16. #define SDIAS_EVSTATE_PART_STORED 0x10
  17. struct sdias_evbuf {
  18. struct evbuf_header hdr;
  19. u8 event_qual;
  20. u8 data_id;
  21. u64 reserved2;
  22. u32 event_id;
  23. u16 reserved3;
  24. u8 asa_size;
  25. u8 event_status;
  26. u32 reserved4;
  27. u32 blk_cnt;
  28. u64 asa;
  29. u32 reserved5;
  30. u32 fbn;
  31. u32 reserved6;
  32. u32 lbn;
  33. u16 reserved7;
  34. u16 dbs;
  35. } __packed;
  36. struct sdias_sccb {
  37. struct sccb_header hdr;
  38. struct sdias_evbuf evbuf;
  39. } __packed;
  40. #endif /* SCLP_SDIAS_H */