Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160154189
D16889.id47262.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D16889.id47262.diff
View Options
Index: sys/powerpc/include/pcb.h
===================================================================
--- sys/powerpc/include/pcb.h
+++ sys/powerpc/include/pcb.h
@@ -56,6 +56,7 @@
#define PCB_VEC 0x4 /* Process had Altivec initialized */
#define PCB_VSX 0x8 /* Process had VSX initialized */
#define PCB_CDSCR 0x10 /* Process had Custom DSCR initialized */
+#define PCB_HTM 0x20 /* Process had HTM initialized */
struct fpu {
union {
double fpr;
@@ -73,6 +74,11 @@
} pcb_vec __aligned(16); /* Vector processor */
unsigned int pcb_veccpu; /* which CPU had our vector
stuff. */
+ struct htm {
+ uint64_t tfhar;
+ uint64_t texasr;
+ uint64_t tfiar;
+ } pcb_htm;
union {
struct {
Index: sys/powerpc/include/pcpu.h
===================================================================
--- sys/powerpc/include/pcpu.h
+++ sys/powerpc/include/pcpu.h
@@ -45,6 +45,7 @@
struct pmap *pc_curpmap; /* current pmap */ \
struct thread *pc_fputhread; /* current fpu user */ \
struct thread *pc_vecthread; /* current vec user */ \
+ struct thread *pc_htmthread; /* current htm user */ \
uintptr_t pc_hwref; \
int pc_bsp; \
volatile int pc_awake; \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jun 22, 7:48 PM (3 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34207785
Default Alt Text
D16889.id47262.diff (1 KB)
Attached To
Mode
D16889: powerpc64: Add initial support for HTM
Attached
Detach File
Event Timeline
Log In to Comment