Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178325349
D58301.1796495843.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D58301.1796495843.diff
View Options
diff --git a/sys/dev/acpica/apeivar.h b/sys/dev/acpica/apeivar.h
--- a/sys/dev/acpica/apeivar.h
+++ b/sys/dev/acpica/apeivar.h
@@ -38,16 +38,19 @@
#ifdef __i386__
static __inline uint64_t
-bus_read_8(struct resource_map *res, bus_size_t offset)
+bus_space_read_8(bus_space_tag_t r_bustag, bus_space_handle_t r_bushandle,
+ bus_size_t offset)
{
- return (bus_read_4(res, offset) |
- ((uint64_t)bus_read_4(res, offset + 4)) << 32);
+ return (bus_space_read_4(r_bustag, r_bushandle, offset) |
+ ((uint64_t)bus_space_read_4(r_bustag, r_bushandle, offset + 4))
+ << 32);
}
static __inline void
-bus_write_8(struct resource_map *res, bus_size_t offset, uint64_t val)
+bus_space_write_8(bus_space_tag_t r_bustag, bus_space_handle_t r_bushandle,
+ bus_size_t offset, uint64_t val)
{
- bus_write_4(res, offset, val);
- bus_write_4(res, offset + 4, val >> 32);
+ bus_space_write_4(r_bustag, r_bushandle, offset, val);
+ bus_space_write_4(r_bustag, r_bushandle, offset + 4, val >> 32);
}
#endif
diff --git a/sys/i386/i386/apic_vector.S b/sys/i386/i386/apic_vector.S
--- a/sys/i386/i386/apic_vector.S
+++ b/sys/i386/i386/apic_vector.S
@@ -169,6 +169,22 @@
call *%eax
jmp doreti
+/*
+ * Local APIC thermal interrupt handler.
+ */
+ .text
+ SUPERALIGN_TEXT
+IDTVEC(thermalint_pti)
+IDTVEC(thermalint)
+ PUSH_FRAME
+ SET_KERNEL_SREGS
+ cld
+ KENTER
+ movl $lapic_handle_thermal, %eax
+ call *%eax
+ jmp doreti
+
+
#ifdef XENHVM
/*
* Xen event channel upcall interrupt handler.
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -122,7 +122,7 @@
"struct proc KBI p_filemon");
_Static_assert(offsetof(struct proc, p_comm) == 0x288,
"struct proc KBI p_comm");
-_Static_assert(offsetof(struct proc, p_emuldata) == 0x318,
+_Static_assert(offsetof(struct proc, p_emuldata) == 0x31c,
"struct proc KBI p_emuldata");
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 5, 6:37 PM (16 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42238354
Default Alt Text
D58301.1796495843.diff (1 KB)
Attached To
Mode
D58301: apei: Fix i386 build
Attached
Detach File
Event Timeline