#define JAILHOUSE_CELL_SHUT_DOWN 2 /* terminal state */
#define JAILHOUSE_CELL_FAILED 3 /* terminal state */
-#define COMM_REGION_GENERIC_HEADER \
- volatile __u32 msg_to_cell; \
- volatile __u32 reply_from_cell; \
- volatile __u32 cell_state; \
- volatile __u32 padding
+#define COMM_REGION_GENERIC_HEADER \
+ /** Message code sent from hypervisor to cell. */ \
+ volatile __u32 msg_to_cell; \
+ /** Reply code sent from cell to hypervisor. */ \
+ volatile __u32 reply_from_cell; \
+ /** Cell state, initialized by hypervisor, updated by cell. */ \
+ volatile __u32 cell_state; \
+ /** \privatesection */ \
+ volatile __u32 padding; \
+ /** \publicsection */
#include <asm/jailhouse_hypercall.h>