Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148350061
D29314.1786402975.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
878 B
Referenced Files
None
Subscribers
None
D29314.1786402975.diff
View Options
diff --git a/sys/arm64/arm64/machdep.c b/sys/arm64/arm64/machdep.c
--- a/sys/arm64/arm64/machdep.c
+++ b/sys/arm64/arm64/machdep.c
@@ -489,36 +489,35 @@
return (0);
}
+/* XXX fill/set dbregs/fpregs are stubbed on 32-bit arm. */
int
fill_fpregs32(struct thread *td, struct fpreg32 *regs)
{
- printf("ARM64TODO: fill_fpregs32");
- return (EDOOFUS);
+ memset(regs, 0, sizeof(*regs));
+ return (0);
}
int
set_fpregs32(struct thread *td, struct fpreg32 *regs)
{
- printf("ARM64TODO: set_fpregs32");
- return (EDOOFUS);
+ return (0);
}
int
fill_dbregs32(struct thread *td, struct dbreg32 *regs)
{
- printf("ARM64TODO: fill_dbregs32");
- return (EDOOFUS);
+ memset(regs, 0, sizeof(*regs));
+ return (0);
}
int
set_dbregs32(struct thread *td, struct dbreg32 *regs)
{
- printf("ARM64TODO: set_dbregs32");
- return (EDOOFUS);
+ return (0);
}
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 10, 11:02 PM (13 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29388549
Default Alt Text
D29314.1786402975.diff (878 B)
Attached To
Mode
D29314: arm64: implement COMPAT_FREEBSD32 fill/set dbregs/fpregs
Attached
Detach File
Event Timeline
Log In to Comment