"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "target/xtensa/import_core.sh" between
qemu-6.0.0-rc1.tar.xz and qemu-6.0.0-rc2.tar.xz

About: QEMU is a generic machine/processor emulator and virtualizer. Release candidate.

import_core.sh  (qemu-6.0.0-rc1.tar.xz):import_core.sh  (qemu-6.0.0-rc2.tar.xz)
skipping to change at line 38 skipping to change at line 38
# Fix up known issues in the xtensa-modules.c # Fix up known issues in the xtensa-modules.c
# #
tar -xf "$OVERLAY" -O binutils/xtensa-modules.c | \ tar -xf "$OVERLAY" -O binutils/xtensa-modules.c | \
sed -e 's/^\(xtensa_opcode_encode_fn.*\[\] =\)/static \1/' \ sed -e 's/^\(xtensa_opcode_encode_fn.*\[\] =\)/static \1/' \
-e '/^int num_bypass_groups()/,/}/d' \ -e '/^int num_bypass_groups()/,/}/d' \
-e '/^int num_bypass_group_chunks()/,/}/d' \ -e '/^int num_bypass_group_chunks()/,/}/d' \
-e '/^uint32 \*bypass_entry(int i)/,/}/d' \ -e '/^uint32 \*bypass_entry(int i)/,/}/d' \
-e '/^#include "ansidecl.h"/d' \ -e '/^#include "ansidecl.h"/d' \
-e '/^Slot_[a-zA-Z0-9_]\+_decode (const xtensa_insnbuf insn)/,/^}/s/^ r eturn 0;$/ return XTENSA_UNDEFINED;/' \ -e '/^Slot_[a-zA-Z0-9_]\+_decode (const xtensa_insnbuf insn)/,/^}/s/^ r eturn 0;$/ return XTENSA_UNDEFINED;/' \
-e 's/#include <xtensa-isa.h>/#include "xtensa-isa.h"/' \ -e 's/#include <xtensa-isa.h>/#include "xtensa-isa.h"/' \
-e 's/^\(xtensa_isa_internal xtensa_modules\)/static \1/' \
> "$TARGET"/xtensa-modules.c.inc > "$TARGET"/xtensa-modules.c.inc
cat <<EOF > "${TARGET}.c" cat <<EOF > "${TARGET}.c"
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "cpu.h" #include "cpu.h"
#include "exec/gdbstub.h" #include "exec/gdbstub.h"
#include "qemu-common.h" #include "qemu-common.h"
#include "qemu/host-utils.h" #include "qemu/host-utils.h"
#include "core-$NAME/core-isa.h" #include "core-$NAME/core-isa.h"
skipping to change at line 68 skipping to change at line 69
#include "core-$NAME/gdb-config.c.inc" #include "core-$NAME/gdb-config.c.inc"
} }
}, },
.isa_internal = &xtensa_modules, .isa_internal = &xtensa_modules,
.clock_freq_khz = $FREQ, .clock_freq_khz = $FREQ,
DEFAULT_SECTIONS DEFAULT_SECTIONS
}; };
REGISTER_CORE($NAME) REGISTER_CORE($NAME)
EOF EOF
grep -q core-${NAME}.o "$BASE"/Makefile.objs || \
echo "obj-y += core-${NAME}.o" >> "$BASE"/Makefile.objs
 End of changes. 2 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)