brintos

brintos / linux-shallow public Read only

0
0
Text · 322 B · a4773c8 Raw
13 lines · plain
1/* SPDX-License-Identifier: GPL-2.0 */2/* Copyright (C) 2023 Rivos, Inc */3 4.text5.global riscv_hwprobe6riscv_hwprobe:7	# Put __NR_riscv_hwprobe in the syscall number register, then just shim8	# back the kernel's return.  This doesn't do any sort of errno9	# handling, the caller can deal with it.10	li a7, 25811	ecall12	ret13