summaryrefslogtreecommitdiffstats
path: root/sys/arm/include/vfp.h
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-05-17 00:53:12 +0000
committerian <ian@FreeBSD.org>2014-05-17 00:53:12 +0000
commita8f1dca86b2bf3b15991d0ef01e402a7208db326 (patch)
treea678b33cef5a4d49b1c5fdb050ea93cf7bea3287 /sys/arm/include/vfp.h
parent690d060e370721ffe7479c7ed9ba5469f9453d33 (diff)
downloadFreeBSD-src-a8f1dca86b2bf3b15991d0ef01e402a7208db326.zip
FreeBSD-src-a8f1dca86b2bf3b15991d0ef01e402a7208db326.tar.gz
MFC 257774, 256760, 262916, 262905, 262918, 262919, 262920, 262921, 262924,
262925, 262929, 262932, 262935, 262940, 262941, 262942, 262948, 262949, 262950 Strip arm/conf/DEFAULTS down to just items that are mandatory for running the architecture. Move all the files named foo/common.c to foo/foo_common.c Initial cut for DTS on the hl201 board. Add commented out dts for sam9260ek as well as early printf support. Make clock optional on uart nodes, then back it out ("I don't know what I was thinking, but it is lame.") Set the baud rate if it isn't 0 Make at91_soc_id() public. Properly round at91 resource on unmapping. Move AT91 AIC related stuff to own file. Fix another bug in multicast filtering. i.MX uses 6 bits from MSB in LE CRC32 for the hash value, not the lowest 6 bits in BE CRC32. Follow r262916 with one more config file that references a renamed common.c Remove bogus AT91 define that causes compile errors. Most of the defines for SAM9X are going away soonish anyway (once FDT works), but until then... Remove all dregs of a per-thread undefined-exception-mode stack. Rework the VFP code that handles demand-based save and restore of state. Always call vfp_discard() on thread death. When a thread begins life it doesn't own the VFP hardware state on any cpu. Make undefined exception entry MP-safe.
Diffstat (limited to 'sys/arm/include/vfp.h')
-rw-r--r--sys/arm/include/vfp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arm/include/vfp.h b/sys/arm/include/vfp.h
index 623f0d0..befba18 100644
--- a/sys/arm/include/vfp.h
+++ b/sys/arm/include/vfp.h
@@ -126,6 +126,10 @@
#define COPROC10 (0x3 << 20)
#define COPROC11 (0x3 << 22)
+#ifndef LOCORE
void vfp_init(void);
+void vfp_store(struct vfp_state *, boolean_t);
+void vfp_discard(struct thread *);
+#endif
#endif
OpenPOWER on IntegriCloud