Skip to content

Commit

Permalink
cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wbenny committed Mar 1, 2019
1 parent a95bda4 commit 75ad7c8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/hvpp/hvpp/ia32/arch/segment.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ struct idt_access_t

static_assert(sizeof(segment_access_t) == 2);
static_assert(sizeof(segment_access_vmx_t) == 4);
static_assert(sizeof(idt_access_t) == 2);

static_assert(sizeof(idt_access_t) == 2);

//
// Descriptors
Expand Down
1 change: 1 addition & 0 deletions src/hvpp/hvpp/ia32/exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ enum class exception_vector : uint32_t
// Windows specific.
//

apc_interrupt = 31,
dpc_interrupt = 47,
clock_interrupt = 209,
pmi_interrupt = 254,
Expand Down
2 changes: 1 addition & 1 deletion src/hvpp/hvpp/ia32/msr/vmx.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pragma once
#include "ia32/arch.h" // cr0_t, cr4_t
#include "../ia32/arch.h" // cr0_t, cr4_t

#include <cstdint>

Expand Down
2 changes: 1 addition & 1 deletion src/hvpp/hvpp/vmexit/vmexit_c_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ void vmexit_c_wrapper_handler::handle(vcpu_t& vp) noexcept
//

passthrough_context context;
context.passthrough_routine = (passthrough_fn_t)&vmexit_c_wrapper_handler::handle_passthrough;
context.passthrough_routine = passthrough_fn_t(&vmexit_c_wrapper_handler::handle_passthrough);
context.context = context_;
context.handler_instance = this;
context.handler_method = cpp_handler;
Expand Down
3 changes: 3 additions & 0 deletions src/hvpp/hvpp/vmexit/vmexit_passthrough.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ class vmexit_passthrough_handler

void handle_vm_fallback(vcpu_t& vp) noexcept override;

//
//
//
virtual void handle_interrupt(vcpu_t& vp) noexcept;

virtual void handle_emulate_syscall(vcpu_t& vp) noexcept;
Expand Down

0 comments on commit 75ad7c8

Please sign in to comment.