linux-sg2042/arch/riscv
Palmer Dabbelt 9a6a51154f
RISC-V: Fix the rv32i kernel build
These patches for building 32-bit RISC-V kernel.
 - Fix the compile errors and warnings on RV32I.
 - Fix some incompatible problem on RV32I.
 - Add format.h for compatible of print format.

The fixed width integer types format for Elf_Addr will move to
generic header by another patch. For now, there are some warning
about unexpected argument of type on RV32I.

Change in v1:
 - Fix some error in v1
 - Remove implementation of fixed width integer types format for Elf_Addr.
2018-07-04 14:12:53 -07:00
..
configs RISC-V: Add CONFIG_HVC_RISCV_SBI=y to defconfig 2018-06-11 09:16:24 -07:00
include RISC-V: Add definiion of extract symbol's index and type for 32-bit 2018-07-04 13:54:08 -07:00
kernel RISC-V: Fix the rv32i kernel build 2018-07-04 14:12:53 -07:00
lib RISC-V: Make our port sparse-clean 2018-06-11 09:09:49 -07:00
mm RISC-V: Add conditional macro for zone of DMA32 2018-07-04 13:53:21 -07:00
Kconfig RISC-V: Select GENERIC_UCMPDI2 on RV32I 2018-07-04 13:53:33 -07:00
Makefile riscv: add riscv-specific predefines to CHECKFLAGS 2018-06-11 09:03:43 -07:00