From: kettenis Date: Fri, 26 Jan 2018 22:25:23 +0000 (+0000) Subject: Add kernel support for the VFP FPU/SIMD unit. Based on a diff by drahn@. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=174c5efd49346c9b0778c3cc1d49fabd66de03a7;p=openbsd 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@ --- 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;