diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-01-26 22:25:24 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-01-26 22:25:24 +0000 |
commit | 396ebc57113d58a273936c29bc0b850d3dab478f (patch) | |
tree | eb5861603a37d3b5e67a22a7eec119cd07c36fb4 /sys/arch/armv7 | |
parent | 2daf011c594c2200d1178ad95fe00c381f726adf (diff) |
Add kernel support for the VFP FPU/SIMD unit. Based on a diff by drahn@.
This allows us to use floating-pointer and vector instructions in userland
code. The current implementation assumes all 32 VFP registers are present.
This should be the case on all armv7 hardware currently supported by
OpenBSD.
ok patrick@
Diffstat (limited to 'sys/arch/armv7')
-rw-r--r-- | sys/arch/armv7/exynos/ec_commands.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/armv7/exynos/ec_commands.h b/sys/arch/armv7/exynos/ec_commands.h index 8dc2df07133..e22a50275eb 100644 --- a/sys/arch/armv7/exynos/ec_commands.h +++ b/sys/arch/armv7/exynos/ec_commands.h @@ -667,15 +667,15 @@ struct ec_params_lightbar { /* no args */ } dump, off, on, init, get_seq, get_params; - struct num { + struct { uint8_t num; } brightness, seq, demo; - struct reg { + struct { uint8_t ctrl, reg, value; } reg; - struct rgb { + struct { uint8_t led, red, green, blue; } rgb; |