git: 8823ca95fd45 - stable/15 - amd64: revert back struct trapframe to the pre-FRED definition
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Mar 2026 01:52:31 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=8823ca95fd45455d24a7bdd1d573b651932c3c54
commit 8823ca95fd45455d24a7bdd1d573b651932c3c54
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-03-21 22:26:48 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-03-26 23:42:57 +0000
amd64: revert back struct trapframe to the pre-FRED definition
(cherry picked from commit 1ba29614c4ce5e261ade0bd7def94079b7b9647a)
---
sys/x86/include/frame.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sys/x86/include/frame.h b/sys/x86/include/frame.h
index a6444d55cfaf..b8e090ff95d0 100644
--- a/sys/x86/include/frame.h
+++ b/sys/x86/include/frame.h
@@ -152,6 +152,10 @@ struct trapframe {
uint16_t tf_ss;
uint16_t tf_fred_evinfo1;
uint32_t tf_fred_evinfo2;
+};
+
+struct trapframe_fred {
+ struct trapframe tf_idt;
/* two long words added by FRED */
uint64_t tf_fred_evdata;
uint64_t tf_fred_zero1;