[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 10/11] s390/ebcdic: Move conversion tables to he
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH 10/11] s390/ebcdic: Move conversion tables to header file |
Date: |
Thu, 19 Sep 2013 22:21:31 -0500 |
On 18.09.2013, at 05:19, Christian Borntraeger wrote:
> From: Heinz Graalfs <address@hidden>
>
> Move conversion tables to header file.
> - In SCLP line mode processing EBCDIC/ASCII conversion is needed.
> - An additional EBCDIC to ASCII conversion function is added.
>
> Signed-off-by: Heinz Graalfs <address@hidden>
> Signed-off-by: Christian Borntraeger <address@hidden>
> ---
> include/hw/s390x/ebcdic.h | 107 +++++++++++++++++++++++++++++++++++++++++++++
> target-s390x/misc_helper.c | 81 +---------------------------------
> 2 files changed, 108 insertions(+), 80 deletions(-)
> create mode 100644 include/hw/s390x/ebcdic.h
>
> diff --git a/include/hw/s390x/ebcdic.h b/include/hw/s390x/ebcdic.h
> new file mode 100644
> index 0000000..992f8c6
> --- /dev/null
> +++ b/include/hw/s390x/ebcdic.h
> @@ -0,0 +1,107 @@
> +/*
> + * EBCDIC/ASCII conversion Support
> + *
> + * Copyright (c) 2011 Alexander Graf
> + * Copyright IBM, Corp. 2013
> + *
> + * This work is licensed under the terms of the GNU GPL, version 2 or (at
> your
> + * option) any later version. See the COPYING file in the top-level
> directory.
> + *
> + */
> +
> +#ifndef EBCDIC_H_
> +#define EBCDIC_H_
> +
> +#ifndef CONFIG_USER_ONLY
No need for the #ifndef. You're already in hw/ :).
Alex
- [Qemu-devel] [PATCH 00/11] sclp related fixes and sclp line mode console, Christian Borntraeger, 2013/09/18
- [Qemu-devel] [PATCH 05/11] s390/sclp: add reset() functions, Christian Borntraeger, 2013/09/18
- [Qemu-devel] [PATCH 07/11] s390/eventfacility: Fix receive/send masks, Christian Borntraeger, 2013/09/18
- [Qemu-devel] [PATCH 01/11] s390/sclpconsole: modify definition of input buffer, Christian Borntraeger, 2013/09/18
- [Qemu-devel] [PATCH 06/11] s390/eventfacility: fix multiple Read Event Data sources, Christian Borntraeger, 2013/09/18
- [Qemu-devel] [PATCH 04/11] s390/event-facility: Add code to support live migration, Christian Borntraeger, 2013/09/18
- [Qemu-devel] [PATCH 10/11] s390/ebcdic: Move conversion tables to header file, Christian Borntraeger, 2013/09/18
- Re: [Qemu-devel] [PATCH 10/11] s390/ebcdic: Move conversion tables to header file,
Alexander Graf <=
- [Qemu-devel] [PATCH 08/11] s390/eventfacility: remove unused event_type variable, Christian Borntraeger, 2013/09/18
- [Qemu-devel] [PATCH 02/11] s390/sclpconsole: Add code to support live migration for sclpconsole, Christian Borntraeger, 2013/09/18
- [Qemu-devel] [PATCH 09/11] s390/eventfacility: allow childs to handle more than 1 event type, Christian Borntraeger, 2013/09/18
- [Qemu-devel] [PATCH 03/11] s390/sclpquiesce: Add code to support live migration, Christian Borntraeger, 2013/09/18
- [Qemu-devel] [PATCH 11/11] s390/sclplmconsole: Add support for SCLP line-mode console, Christian Borntraeger, 2013/09/18
- Re: [Qemu-devel] [PATCH 00/11] sclp related fixes and sclp line mode console, Alexander Graf, 2013/09/19