qemu/target-s390x
Stefan Weil a158986d85 s390x: Remove inline function ebcdic_put and related data from cpu.h
The function is only used in misc_helper.c, so move it to that file.

This reduces the size of debug executables (compiled without optimization)
because they get unused code and data for each compilation which includes
cpu.h.

Executables with optimization don't change their size.

ebcdic2ascii is currently unused and could be removed (not done here).

The array ascii2ebcdic must be accessed with an unsigned index, therefore
(int)ascii[i] was replaced by (uint8_t)ascii[i]. The old code would have
failed for a signed char less than 0. The current code only converts
"QEMU" and spaces to EBCDIC, so there is no problem today.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
2013-01-18 19:07:47 +01:00
..
cc_helper.c target-s390: Convert IPM 2013-01-05 12:18:42 -08:00
cpu-qom.h qom: move include files to include/qom/ 2012-12-19 08:31:32 +01:00
cpu.c S390: Enable -cpu help and QMP query-cpu-definitions 2013-01-18 19:07:47 +01:00
cpu.h s390x: Remove inline function ebcdic_put and related data from cpu.h 2013-01-18 19:07:47 +01:00
fpu_helper.c target-s390: Implement LOAD/SET FP AND SIGNAL 2013-01-05 12:18:45 -08:00
helper.c target-s390: Reorg exception handling 2013-01-05 12:00:28 -08:00
helper.h target-s390: Use noreturn for exception and load_psw 2013-01-05 12:18:46 -08:00
insn-data.def target-s390: Perform COMPARE AND SWAP inline 2013-01-05 12:18:46 -08:00
insn-format.def target-s390: Add format based disassassmbly infrastructure 2013-01-05 12:00:27 -08:00
int_helper.c target-s390: Implement POPCNT 2013-01-05 12:18:45 -08:00
interrupt.c Merge branch 'master' of git://git.qemu.org/qemu into qom-cpu 2012-12-23 00:40:49 +01:00
kvm.c s390: new contributions GPLv2 or later 2013-01-18 19:07:47 +01:00
machine.c Add support for S390x system emulation 2009-12-05 17:36:05 +01:00
Makefile.objs target-s390x: switch to AREG0 free mode 2012-09-10 13:38:33 +02:00
mem_helper.c target-s390: Perform COMPARE AND SWAP inline 2013-01-05 12:18:46 -08:00
misc_helper.c s390x: Remove inline function ebcdic_put and related data from cpu.h 2013-01-18 19:07:47 +01:00
translate.c target-s390: Perform COMPARE AND SWAP inline 2013-01-05 12:18:46 -08:00