[PATCH 4/4] bsp: Add new riscv_generic bsp v3

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Oct 27 07:11:48 UTC 2017


On 27/10/17 01:45, Hesham Almatary wrote:
> +#define REG(x)           (*((volatile uint32_t *) (x)))
> +#define BIT(n)           (1 << (n))
> +
> +#define MTIME_MM    0x0200bff8
> +#define MTIMECMP_MM 0x02004000

This stuff should better not be in <bsp.h>.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list