diff options
author | Mark Johnston <markj@FreeBSD.org> | 2021-06-01 14:28:57 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2021-06-01 23:37:50 +0000 |
commit | cbe59a6475b6c36fac4073bcfc328099fc873420 (patch) | |
tree | 89cf6861e83fba81b67b4fff03e2222067e88ee1 /sys/i386/include | |
parent | 211972cfb816f8da8b8a4c524b44dde4638c3288 (diff) | |
download | src-cbe59a6475b6c36fac4073bcfc328099fc873420.tar.gz src-cbe59a6475b6c36fac4073bcfc328099fc873420.zip |
i386: Make setidt_disp a size_t instead of uintptr_t
setidt_disp is the offset of the ISR trampoline relative to the address
of the routines in exception.s, so uintptr_t is not quite right.
Also remove a bogus declaration I added in commit 18f55c67f7, it is not
required after all.
Reported by: jrtc27
Reviewed by: jrtc27, kib
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D30590
Diffstat (limited to 'sys/i386/include')
-rw-r--r-- | sys/i386/include/md_var.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/include/md_var.h b/sys/i386/include/md_var.h index c41de85b9bc9..95f4907a61d0 100644 --- a/sys/i386/include/md_var.h +++ b/sys/i386/include/md_var.h @@ -48,7 +48,7 @@ extern int szosigcode; extern int sz_lcall_tramp; #endif extern vm_offset_t proc0kstack; -extern uintptr_t setidt_disp; +extern size_t setidt_disp; struct segment_descriptor; union savefpu; |