On 5/2/26 04:02, Richard Henderson wrote:
This is the minimal change beginning with TARGET_ARCH in
configs/targets/or1k-* from openrisc to or1k, then adjust
TARGET_OR1K, QEMU_ARCH_OR1K, directory names,
and meson.build to match.

Signed-off-by: Richard Henderson <[email protected]>
---
  include/exec/poison.h                             | 2 +-
  include/system/arch_init.h                        | 2 +-
  include/user/abitypes.h                           | 2 +-
  linux-user/{openrisc => or1k}/sockbits.h          | 0
  linux-user/{openrisc => or1k}/target_cpu.h        | 0
  linux-user/{openrisc => or1k}/target_elf.h        | 0
  linux-user/{openrisc => or1k}/target_errno_defs.h | 0
  linux-user/{openrisc => or1k}/target_fcntl.h      | 0
  linux-user/{openrisc => or1k}/target_mman.h       | 0
  linux-user/{openrisc => or1k}/target_prctl.h      | 0
  linux-user/{openrisc => or1k}/target_proc.h       | 0
  linux-user/{openrisc => or1k}/target_ptrace.h     | 0
  linux-user/{openrisc => or1k}/target_resource.h   | 0
  linux-user/{openrisc => or1k}/target_signal.h     | 0
  linux-user/{openrisc => or1k}/target_structs.h    | 0
  linux-user/{openrisc => or1k}/target_syscall.h    | 0
  linux-user/{openrisc => or1k}/termbits.h          | 0
  linux-user/syscall_defs.h                         | 4 ++--
  target/{openrisc => or1k}/cpu-param.h             | 0
  target/{openrisc => or1k}/cpu-qom.h               | 0
  target/{openrisc => or1k}/cpu.h                   | 0
  target/{openrisc => or1k}/exception.h             | 0
  target/{openrisc => or1k}/helper.h                | 0
  linux-user/{openrisc => or1k}/cpu_loop.c          | 0
  linux-user/{openrisc => or1k}/elfload.c           | 0
  linux-user/{openrisc => or1k}/signal.c            | 0
  system/qdev-monitor.c                             | 2 +-
  target/{openrisc => or1k}/cpu.c                   | 0
  target/{openrisc => or1k}/disas.c                 | 0
  target/{openrisc => or1k}/exception.c             | 0
  target/{openrisc => or1k}/exception_helper.c      | 0
  target/{openrisc => or1k}/fpu_helper.c            | 0
  target/{openrisc => or1k}/gdbstub.c               | 0
  target/{openrisc => or1k}/interrupt.c             | 0
  target/{openrisc => or1k}/interrupt_helper.c      | 0
  target/{openrisc => or1k}/machine.c               | 0
  target/{openrisc => or1k}/mmu.c                   | 0
  target/{openrisc => or1k}/sys_helper.c            | 0
  target/{openrisc => or1k}/translate.c             | 0
  MAINTAINERS                                       | 2 +-
  configs/targets/or1k-linux-user.mak               | 2 +-
  configs/targets/or1k-softmmu.mak                  | 2 +-
  hw/openrisc/Kconfig                               | 4 ++--
  hw/openrisc/meson.build                           | 2 +-
  linux-user/meson.build                            | 2 +-
  linux-user/openrisc/meson.build                   | 5 -----
  linux-user/or1k/meson.build                       | 5 +++++
  linux-user/{openrisc => or1k}/syscall.tbl         | 0
  linux-user/{openrisc => or1k}/syscallhdr.sh       | 0
  target/Kconfig                                    | 2 +-
  target/meson.build                                | 2 +-

s/openrisc_system_ss/or1k_system_ss/?

  target/{openrisc => or1k}/Kconfig                 | 2 +-
  target/{openrisc => or1k}/insns.decode            | 0
  target/{openrisc => or1k}/meson.build             | 4 ++--
  54 files changed, 23 insertions(+), 23 deletions(-)
  rename linux-user/{openrisc => or1k}/sockbits.h (100%)
  rename linux-user/{openrisc => or1k}/target_cpu.h (100%)
  rename linux-user/{openrisc => or1k}/target_elf.h (100%)
  rename linux-user/{openrisc => or1k}/target_errno_defs.h (100%)
  rename linux-user/{openrisc => or1k}/target_fcntl.h (100%)
  rename linux-user/{openrisc => or1k}/target_mman.h (100%)
  rename linux-user/{openrisc => or1k}/target_prctl.h (100%)
  rename linux-user/{openrisc => or1k}/target_proc.h (100%)
  rename linux-user/{openrisc => or1k}/target_ptrace.h (100%)
  rename linux-user/{openrisc => or1k}/target_resource.h (100%)
  rename linux-user/{openrisc => or1k}/target_signal.h (100%)
  rename linux-user/{openrisc => or1k}/target_structs.h (100%)
  rename linux-user/{openrisc => or1k}/target_syscall.h (100%)
  rename linux-user/{openrisc => or1k}/termbits.h (100%)

Being picky, we could also rename the header guards (i.e.
OPENRISC_TARGET_CPU_H and OPENRISC_TARGET_*_H).

Reply via email to