summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r--sys/arch/amd64/include/pci_machdep.h5
-rw-r--r--sys/arch/amd64/include/pic.h3
-rw-r--r--sys/arch/amd64/include/segments.h3
3 files changed, 8 insertions, 3 deletions
diff --git a/sys/arch/amd64/include/pci_machdep.h b/sys/arch/amd64/include/pci_machdep.h
index 6e5928ec8fd..9abd854f985 100644
--- a/sys/arch/amd64/include/pci_machdep.h
+++ b/sys/arch/amd64/include/pci_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_machdep.h,v 1.30 2020/10/27 02:39:07 jordan Exp $ */
+/* $OpenBSD: pci_machdep.h,v 1.31 2024/01/19 18:38:16 kettenis Exp $ */
/* $NetBSD: pci_machdep.h,v 1.1 2003/02/26 21:26:11 fvdl Exp $ */
/*
@@ -79,8 +79,11 @@ int pci_conf_size(pci_chipset_tag_t, pcitag_t);
pcireg_t pci_conf_read(pci_chipset_tag_t, pcitag_t, int);
void pci_conf_write(pci_chipset_tag_t, pcitag_t, int,
pcireg_t);
+int pci_intr_enable_msivec(struct pci_attach_args *, int);
int pci_intr_map_msi(struct pci_attach_args *,
pci_intr_handle_t *);
+int pci_intr_map_msivec(struct pci_attach_args *,
+ int, pci_intr_handle_t *);
int pci_intr_map_msix(struct pci_attach_args *,
int, pci_intr_handle_t *);
int pci_intr_map(struct pci_attach_args *, pci_intr_handle_t *);
diff --git a/sys/arch/amd64/include/pic.h b/sys/arch/amd64/include/pic.h
index 59846fbeae6..c5b29937dec 100644
--- a/sys/arch/amd64/include/pic.h
+++ b/sys/arch/amd64/include/pic.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pic.h,v 1.7 2014/12/16 21:20:23 tedu Exp $ */
+/* $OpenBSD: pic.h,v 1.8 2024/01/19 18:38:16 kettenis Exp $ */
/* $NetBSD: pic.h,v 1.1 2003/02/26 21:26:11 fvdl Exp $ */
#ifndef _X86_PIC_H
@@ -22,6 +22,7 @@ struct pic {
void (*pic_hwunmask)(struct pic *, int);
void (*pic_addroute)(struct pic *, struct cpu_info *, int, int, int);
void (*pic_delroute)(struct pic *, struct cpu_info *, int, int, int);
+ int (*pic_allocidtvec)(struct pic *, int, int, int);
struct intrstub *pic_level_stubs;
struct intrstub *pic_edge_stubs;
};
diff --git a/sys/arch/amd64/include/segments.h b/sys/arch/amd64/include/segments.h
index 6ce184e88d1..87de2c08240 100644
--- a/sys/arch/amd64/include/segments.h
+++ b/sys/arch/amd64/include/segments.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: segments.h,v 1.15 2018/03/29 01:21:02 guenther Exp $ */
+/* $OpenBSD: segments.h,v 1.16 2024/01/19 18:38:16 kettenis Exp $ */
/* $NetBSD: segments.h,v 1.1 2003/04/26 18:39:47 fvdl Exp $ */
/*-
@@ -160,6 +160,7 @@ void set_sys_segment(struct sys_segment_descriptor *, void *, size_t,
void set_mem_segment(struct mem_segment_descriptor *, void *, size_t,
int, int, int, int, int);
int idt_vec_alloc(int, int);
+int idt_vec_alloc_range(int, int, int);
void idt_vec_set(int, void (*)(void));
void idt_vec_free(int);
void cpu_init_idt(void);