Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153790832
D30590.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
940 B
Referenced Files
None
Subscribers
None
D30590.diff
View Options
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -1507,7 +1507,7 @@
.ssd_gran = 1 },
};
-uintptr_t setidt_disp;
+size_t setidt_disp;
void
setidt(int idx, inthand_t *func, int typ, int dpl, int selec)
diff --git a/sys/i386/include/md_var.h b/sys/i386/include/md_var.h
--- a/sys/i386/include/md_var.h
+++ b/sys/i386/include/md_var.h
@@ -48,7 +48,7 @@
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;
diff --git a/sys/x86/x86/local_apic.c b/sys/x86/x86/local_apic.c
--- a/sys/x86/x86/local_apic.c
+++ b/sys/x86/x86/local_apic.c
@@ -2127,10 +2127,6 @@
#endif /* SMP */
-#ifdef __i386__
-extern uintptr_t setidt_disp;
-#endif
-
/*
* Since the IDT is shared by all CPUs the IPI slot update needs to be globally
* visible.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 24, 6:46 PM (7 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32086921
Default Alt Text
D30590.diff (940 B)
Attached To
Mode
D30590: i386: Make setidt_disp a size_t instead of uintptr_t
Attached
Detach File
Event Timeline
Log In to Comment