arch/risc-v: Update outdated comments
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
7c99bce16e
commit
8b66280b4f
@ -250,14 +250,12 @@ arch/risc-v
|
||||
This directory is dedicated to ports to the RISC-V family.
|
||||
|
||||
Architecture Support
|
||||
arch/risc-v/include/rv32im
|
||||
arch/risc-v/include and arch/risc-v/common
|
||||
|
||||
MCU support
|
||||
arch/risc-v/include/fe310 and arch/risc-v/src/fe310
|
||||
arch/risc-v/include/k210 and arch/risc-v/src/k210
|
||||
arch/risc-v/include/litex and arch/risc-v/src/litex
|
||||
arch/risc-v/include/rv32im and arch/risc-v/src/rv32im
|
||||
arch/risc-v/include/rv64gc and arch/risc-v/src/rv64gc
|
||||
|
||||
arch/x86 - Intel x86 architectures
|
||||
This directory holds related, 32- and 64-bit architectures from
|
||||
|
@ -54,7 +54,7 @@
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
/* SYS call 1 and 2 are defined for internal use by the RISC-V port (see
|
||||
* arch/risc-v/include/rv64gc/syscall.h). In addition, SYS call 3 is the
|
||||
* arch/risc-v/include/syscall.h). In addition, SYS call 3 is the
|
||||
* return from a SYS call in kernel mode. The first four syscall values must,
|
||||
* therefore, be reserved (0 is not used).
|
||||
*/
|
||||
|
@ -24,19 +24,10 @@ ifeq ($(CONFIG_OPENSBI),y)
|
||||
include opensbi/Make.defs
|
||||
endif
|
||||
|
||||
# TODO: Merge these implementaions into one
|
||||
|
||||
ifeq ($(CONFIG_ARCH_RV32),y)
|
||||
ARCH_SUBDIR = rv32im
|
||||
else ifeq ($(CONFIG_ARCH_RV64),y)
|
||||
ARCH_SUBDIR = rv64gc
|
||||
endif
|
||||
|
||||
ARCH_SRCDIR = $(TOPDIR)$(DELIM)arch$(DELIM)$(CONFIG_ARCH)$(DELIM)src
|
||||
|
||||
INCLUDES += ${shell $(INCDIR) "$(CC)" $(ARCH_SRCDIR)$(DELIM)chip}
|
||||
INCLUDES += ${shell $(INCDIR) "$(CC)" $(ARCH_SRCDIR)$(DELIM)common}
|
||||
INCLUDES += ${shell $(INCDIR) "$(CC)" $(ARCH_SRCDIR)$(DELIM)$(ARCH_SUBDIR)}
|
||||
INCLUDES += ${shell $(INCDIR) "$(CC)" $(TOPDIR)$(DELIM)sched}
|
||||
ifeq ($(CONFIG_OPENSBI),y)
|
||||
INCLUDES += $(shell $(INCDIR) "$(CC)" $(ARCH_SRCDIR)$(DELIM)opensbi$(DELIM)opensbi-3rdparty$(DELIM)include)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/risc-v/src/rv64gc/riscv_signal_dispatch.c
|
||||
* arch/risc-v/src/common/riscv_signal_dispatch.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
@ -46,7 +46,7 @@
|
||||
*
|
||||
* Normally the user-mode signaling handling stub will also execute
|
||||
* before the ultimate signal handler is called. See
|
||||
* arch/risc-v/src/rv64gc/up_signal_handler.S. This function is the
|
||||
* arch/risc-v/src/common/riscv_signal_handler.S. This function is the
|
||||
* user-space, signal handler trampoline function. It is called from
|
||||
* up_signal_dispatch() in user-mode.
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* arch/risc-v/src/rv64gc/riscv_signal_handler.S
|
||||
* arch/risc-v/src/common/riscv_signal_handler.S
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
@ -59,7 +59,7 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* RV64GC system calls ******************************************************/
|
||||
/* RISC-V system calls ******************************************************/
|
||||
|
||||
/* SYS call 0:
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user