Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Commit

Permalink
Fixed padding in vcpu_state_t
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandro Sanchez Bach <asanchez@kryptoslogic.com>
  • Loading branch information
AlexAltea committed Nov 21, 2018
1 parent 5ee10eb commit 5636f62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
16 changes: 1 addition & 15 deletions docs/api.md
Expand Up @@ -497,20 +497,6 @@ TODO: Describe
* Since: API v1
* Parameter: `struct vcpu_state_t regs`, where
```
union interruptibility_state_t {
uint32 raw;
struct {
uint32 sti_blocking : 1;
uint32 movss_blocking : 1;
uint32 smi_blocking : 1;
uint32 nmi_blocking : 1;
uint32 reserved : 28;
};
uint64_t pad;
};
typedef union interruptibility_state_t interruptibility_state_t;
struct segment_desc_t {
uint16 selector;
uint16 _dummy;
Expand Down Expand Up @@ -652,7 +638,7 @@ TODO: Describe
uint32 _activity_state;
uint32 pad;
interruptibility_state_t _interruptibility_state;
uint64 pad2;
};
```
* (Input) `regs`:
Expand Down
1 change: 1 addition & 0 deletions include/vcpu_state.h
Expand Up @@ -173,6 +173,7 @@ struct vcpu_state_t {

uint32_t _activity_state;
uint32_t pad;
uint64_t pad2;
} PACKED;

void dump(void);
Expand Down

0 comments on commit 5636f62

Please sign in to comment.