diff options
Diffstat (limited to 'include/opal-api.h')
-rw-r--r-- | include/opal-api.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/opal-api.h b/include/opal-api.h index 1698311..5be548c 100644 --- a/include/opal-api.h +++ b/include/opal-api.h @@ -847,16 +847,21 @@ typedef struct oppanel_line { enum opal_prd_msg_type { OPAL_PRD_MSG_TYPE_INIT = 0, /* HBRT --> OPAL */ - OPAL_PRD_MSG_TYPE_FINI, /* HBRT --> OPAL */ + OPAL_PRD_MSG_TYPE_FINI, /* HBRT/kernel --> OPAL */ OPAL_PRD_MSG_TYPE_ATTN, /* HBRT <-- OPAL */ OPAL_PRD_MSG_TYPE_ATTN_ACK, /* HBRT --> OPAL */ OPAL_PRD_MSG_TYPE_OCC_ERROR, /* HBRT <-- OPAL */ OPAL_PRD_MSG_TYPE_OCC_RESET, /* HBRT <-- OPAL */ }; -struct opal_prd_msg { +struct opal_prd_msg_header { uint8_t type; - uint8_t pad[3]; + uint8_t pad[1]; + __be16 size; +}; + +struct opal_prd_msg { + struct opal_prd_msg_header hdr; __be32 token; union { struct { |