summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-10-22 21:50:03 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-10-22 21:50:03 +0000
commit4d73a72882d4a5c10d80c02328f3560dfe873404 (patch)
tree5161dcf4bb225b9ba7a0f4f64e40454ea0063087 /sys/arch/amd64
parentce661a32cb4dab2aefb0782466d643d24b44d829 (diff)
put opening { on same line as struct name
ok claudio@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/mpbios.c5
-rw-r--r--sys/arch/amd64/include/i82093var.h5
-rw-r--r--sys/arch/amd64/include/vmmvar.h14
3 files changed, 9 insertions, 15 deletions
diff --git a/sys/arch/amd64/amd64/mpbios.c b/sys/arch/amd64/amd64/mpbios.c
index 07df036ed84..96a13535d66 100644
--- a/sys/arch/amd64/amd64/mpbios.c
+++ b/sys/arch/amd64/amd64/mpbios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpbios.c,v 1.32 2024/06/07 23:19:18 jsg Exp $ */
+/* $OpenBSD: mpbios.c,v 1.33 2024/10/22 21:50:02 jsg Exp $ */
/* $NetBSD: mpbios.c,v 1.7 2003/05/15 16:32:50 fvdl Exp $ */
/*-
@@ -134,8 +134,7 @@ static const char *loc_where[] = {
"bios"
};
-struct mp_map
-{
+struct mp_map {
vaddr_t baseva;
int vsize;
paddr_t pa;
diff --git a/sys/arch/amd64/include/i82093var.h b/sys/arch/amd64/include/i82093var.h
index 6d5c168618b..640e3c07405 100644
--- a/sys/arch/amd64/include/i82093var.h
+++ b/sys/arch/amd64/include/i82093var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: i82093var.h,v 1.6 2024/05/22 05:51:49 jsg Exp $ */
+/* $OpenBSD: i82093var.h,v 1.7 2024/10/22 21:50:02 jsg Exp $ */
/* $NetBSD: i82093var.h,v 1.1 2003/02/26 21:26:10 fvdl Exp $ */
/*-
@@ -37,8 +37,7 @@
#include <machine/apicvar.h>
-struct ioapic_pin
-{
+struct ioapic_pin {
struct ioapic_pin *ip_next; /* next pin on this vector */
struct mp_intr_map *ip_map;
int ip_vector; /* IDT vector */
diff --git a/sys/arch/amd64/include/vmmvar.h b/sys/arch/amd64/include/vmmvar.h
index a2c9d5db449..cd04fe4f07b 100644
--- a/sys/arch/amd64/include/vmmvar.h
+++ b/sys/arch/amd64/include/vmmvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmmvar.h,v 1.108 2024/10/02 17:05:56 dv Exp $ */
+/* $OpenBSD: vmmvar.h,v 1.109 2024/10/22 21:50:02 jsg Exp $ */
/*
* Copyright (c) 2014 Mike Larkin <mlarkin@openbsd.org>
*
@@ -727,20 +727,17 @@ struct vmcs {
uint32_t vmcs_revision;
};
-struct vmx_invvpid_descriptor
-{
+struct vmx_invvpid_descriptor {
uint64_t vid_vpid;
uint64_t vid_addr;
};
-struct vmx_invept_descriptor
-{
+struct vmx_invept_descriptor {
uint64_t vid_eptp;
uint64_t vid_reserved;
};
-struct vmx_msr_store
-{
+struct vmx_msr_store {
uint64_t vms_index;
uint64_t vms_data;
};
@@ -752,8 +749,7 @@ struct vmx_msr_store
* Note that vmx/svm_enter_guest depend on the layout of this struct for
* field access.
*/
-struct vcpu_gueststate
-{
+struct vcpu_gueststate {
/* %rsi should be first */
uint64_t vg_rsi; /* 0x00 */
uint64_t vg_rax; /* 0x08 */