summaryrefslogtreecommitdiffstats
path: root/sevstep/uspt.c
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-10-05 18:28:34 +0200
committerLouis Burda <quent.burda@gmail.com>2022-10-05 18:28:34 +0200
commit0e89d3b1b7c45ff9a3916b01ab56f177d4b64f8c (patch)
treefb2b57b3d21ffd9c932d237e8876a4b0b520219d /sevstep/uspt.c
parentdd1e29c4828b01b477a003679234097434f800d4 (diff)
downloadcachepc-0e89d3b1b7c45ff9a3916b01ab56f177d4b64f8c.tar.gz
cachepc-0e89d3b1b7c45ff9a3916b01ab56f177d4b64f8c.zip
Add ioctl handling for sevstep
Diffstat (limited to 'sevstep/uspt.c')
-rw-r--r--sevstep/uspt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sevstep/uspt.c b/sevstep/uspt.c
index ef4ec6c..ca6b9a1 100644
--- a/sevstep/uspt.c
+++ b/sevstep/uspt.c
@@ -440,7 +440,8 @@ sevstep_uspt_batch_tracking_save(uint64_t faulted_gpa, uint32_t error_code,
}
int
-sevstep_uspt_batch_tracking_stop(page_fault_event_t* results, uint64_t len, bool* error_occured)
+sevstep_uspt_batch_tracking_stop(page_fault_event_t* results,
+ uint64_t len, __u8* error_occured)
{
spin_lock(&batch_track_state_lock);
if (!batch_track_state.is_active) {