Home
last modified time | relevance | path

Searched hist:"511107 d8" (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/arch/riscv/lib/
H A Drdtime.c511107d8 Wed Dec 12 08:12:31 CST 2018 Anup Patel <anup@brainfault.org> riscv: Implement riscv_get_time() API using rdtime instruction

This adds an implementation of riscv_get_time() API that is using
rdtime instruction.

This is the case for S-mode U-Boot, and is useful for processors
that support rdtime in M-mode too.

Signed-off-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
H A DMakefile511107d8 Wed Dec 12 08:12:31 CST 2018 Anup Patel <anup@brainfault.org> riscv: Implement riscv_get_time() API using rdtime instruction

This adds an implementation of riscv_get_time() API that is using
rdtime instruction.

This is the case for S-mode U-Boot, and is useful for processors
that support rdtime in M-mode too.

Signed-off-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
/openbmc/u-boot/arch/riscv/
H A DKconfig511107d8 Wed Dec 12 08:12:31 CST 2018 Anup Patel <anup@brainfault.org> riscv: Implement riscv_get_time() API using rdtime instruction

This adds an implementation of riscv_get_time() API that is using
rdtime instruction.

This is the case for S-mode U-Boot, and is useful for processors
that support rdtime in M-mode too.

Signed-off-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>