0e9b9edae7
acpi: convert linker from GArray to BIOSLinker structure
...
Patch just changes type of of linker variables to
a structure, there aren't any functional changes.
Converting linker to a structure will allow to extend
it functionality in follow up patch adding sanity blob
checks.
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2016-06-07 15:36:54 +03:00
7bc6fd2464
acpi: add aml_refof()
...
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
2016-06-07 15:36:54 +03:00
e8977414a2
acpi: add aml_debug()
...
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
2016-06-07 15:36:54 +03:00
64b831367b
ACPI: move acpi_build_srat_memory to common place
...
Move acpi_build_srat_memory to common place so that it could be reused
by ARM. Rename it to build_srat_memory.
Cc: Michael S. Tsirkin <mst@redhat.com >
Cc: Igor Mammedov <imammedo@redhat.com >
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org >
Reviewed-by: Andrew Jones <drjones@redhat.com >
Message-id: 1461667229-9216-5-git-send-email-zhaoshenglong@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2016-05-12 13:22:28 +01:00
f203549108
acpi: add build_append_named_dword, returning an offset in buffer
...
This is a very limited form of support for runtime patching -
similar in functionality to what we can do with ACPI_EXTRACT
macros in python, but implemented in C.
This is to allow ACPI code direct access to data tables -
which is exactly what DataTableRegion is there for, except
no known windows release so far implements DataTableRegion.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2016-03-11 14:54:28 +02:00
3f3009c098
acpi: allow using object as offset for OperationRegion
...
Extend aml_operation_region() to use object as offset
Reviewed-by: Igor Mammedov <imammedo@redhat.com >
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2016-03-11 14:54:28 +02:00
9815cba502
acpi: add aml_concatenate()
...
It will be used by nvdimm acpi
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2016-03-11 14:54:28 +02:00
39b6dbd8d7
acpi: add aml_create_field()
...
It will be used by nvdimm acpi
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2016-03-11 14:54:27 +02:00
b54ca0c3df
bios-linker-loader: document+validate input
...
While guest/host ABI is documented in hw/acpi/bios-linker-loader.c,
the API was left undocumented.
This adds documentation for all API functions.
Additionally, input is validated to make sure all
pointers fall within range of provided files.
To allow this validation for checksum commands,
bios_linker_loader_add_checksum is changed to accept GArray * in place
of void *.
Reported-by: Igor Mammedov <imammedo@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2016-02-23 12:55:16 +02:00
5151355898
acpi: expose oem_id and oem_table_id in build_rsdt()
...
Since build_rsdt() is implemented as common utility code (in
"hw/acpi/aml-build.c"), it should expose -- and forward -- the oem_id and
oem_table_id parameters between board code and the generic build_header()
function.
Cc: "Michael S. Tsirkin" <mst@redhat.com > (supporter:ACPI/SMBIOS)
Cc: Igor Mammedov <imammedo@redhat.com > (supporter:ACPI/SMBIOS)
Cc: Shannon Zhao <zhaoshenglong@huawei.com > (maintainer:ARM ACPI Subsystem)
Cc: Paolo Bonzini <pbonzini@redhat.com > (maintainer:X86)
Cc: Richard W.M. Jones <rjones@redhat.com >
Cc: Aleksei Kovura <alex3kov@zoho.com >
Cc: Michael Tokarev <mjt@tls.msk.ru >
Cc: Steven Newbury <steve@snewbury.org.uk >
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1248758
LP: https://bugs.launchpad.net/qemu/+bug/1533848
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org >
2016-02-06 20:44:10 +02:00
37ad223c51
acpi: take oem_id in build_header(), optionally
...
This patch is the continuation of commit 8870ca0e94
("acpi: support
specified oem table id for build_header"). It will allow us to control the
OEM ID field too in the SDT header.
Cc: "Michael S. Tsirkin" <mst@redhat.com > (supporter:ACPI/SMBIOS)
Cc: Igor Mammedov <imammedo@redhat.com > (supporter:ACPI/SMBIOS)
Cc: Xiao Guangrong <guangrong.xiao@linux.intel.com > (maintainer:NVDIMM)
Cc: Shannon Zhao <zhaoshenglong@huawei.com > (maintainer:ARM ACPI Subsystem)
Cc: Paolo Bonzini <pbonzini@redhat.com > (maintainer:X86)
Cc: Richard W.M. Jones <rjones@redhat.com >
Cc: Aleksei Kovura <alex3kov@zoho.com >
Cc: Michael Tokarev <mjt@tls.msk.ru >
Cc: Steven Newbury <steve@snewbury.org.uk >
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1248758
LP: https://bugs.launchpad.net/qemu/+bug/1533848
Signed-off-by: Laszlo Ersek <lersek@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org >
2016-02-06 20:44:10 +02:00
b6a0aa0537
x86: Clean up includes
...
Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.
This commit was created with scripts/clean-includes.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
Message-id: 1453832250-766-11-git-send-email-peter.maydell@linaro.org
2016-01-29 15:07:22 +00:00
5530427f0c
acpi: extend aml_and() to accept target argument
...
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2015-12-22 18:39:21 +02:00
ca3df95df8
acpi: extend aml_or() to accept target argument
...
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
2015-12-22 18:39:21 +02:00
a23b887281
acpi add aml_dma()
...
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2015-12-22 18:39:21 +02:00
25c1432ebe
acpi: add aml_to_buffer()
...
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
2015-12-22 18:39:21 +02:00
6d5ea945ce
acpi: add aml_to_hexstring()
...
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
2015-12-22 18:39:21 +02:00
36de884a13
acpi: extend aml_field() to support LockRule
...
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2015-12-22 18:39:21 +02:00
dabad78b0d
acpi: add aml_lgreater()
...
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
2015-12-22 18:39:21 +02:00
df241999b6
acpi: add aml_lor()
...
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
2015-12-22 18:39:21 +02:00
0073518dd7
acpi: add aml_sleep()
...
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
2015-12-22 18:39:21 +02:00
67a5c0faa6
acpi: add aml_alias()
...
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
2015-12-22 18:39:21 +02:00
c360639aee
acpi: extend aml_shiftright() to accept target argument
...
it allows to express ShiftRight(A,B,C) syntax
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
2015-12-22 18:39:21 +02:00
f411199de7
acpi: add aml_to_integer()
...
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
2015-12-22 18:39:21 +02:00
7b38ba9cb6
acpi: add aml_call0() helper
...
it will help to call a method with 0 arguments
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
2015-12-22 18:39:21 +02:00
7059eb4262
acpi: add aml_decrement() and aml_subtract()
...
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
2015-12-22 18:39:21 +02:00
20ca520884
acpi: extend aml_add() to accept target argument
...
it allows to express following ASL expression:
Add(arg1, arg2, result)
usecases that do not need to store result
should pass NULL as 3rd arg that would express
Add(arg1, arg2,)
construct.
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
2015-12-22 18:39:21 +02:00
439e2a6e10
acpi: aml: add helper for Opcode Arg2 Arg2 [Dst] AML pattern
...
Currently AML API doesn't compose terms in form of
following pattern:
Opcode Arg2 Arg2 [Dst]
but ASL used in piix4/q35 DSDT ACPI tables uses that
form, so for clean conversion of it, AML API should
be able to handle an optional 'Dst' argumet used there.
Since above pattern is used by arithmetic/bit ops,
introduce helper that they could reuse.
It reduces code duplication in existing 5 aml_foo()
functions and also will prevent more duplication
when exiting functions are extended to support
optional 'Dst' argument.
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org >
2015-12-22 18:39:20 +02:00
7e192a383b
acpi: add aml_create_qword_field()
...
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
2015-12-22 18:39:20 +02:00
6e1db3f263
acpi: add aml_mutex(), aml_acquire(), aml_release()
...
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com >
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2015-12-22 18:39:20 +02:00
2d3f667dc6
acpi: add aml_lgreater_equal()
...
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com >
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org >
2015-12-22 18:39:20 +02:00
52483d147b
acpi: add aml_sizeof
...
Implement SizeOf term which is used by NVDIMM _DSM method in later patch
Reviewed-by: Igor Mammedov <imammedo@redhat.com >
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com >
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2015-12-22 18:39:20 +02:00
95cb066190
acpi: add aml_derefof
...
Implement DeRefOf term which is used by NVDIMM _DSM method in later patch
Reviewed-by: Igor Mammedov <imammedo@redhat.com >
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2015-12-22 18:39:20 +02:00
8870ca0e94
acpi: support specified oem table id for build_header
...
Let build_header() support specified OEM table id so that we can build
multiple SSDT later
If the oem table id is not specified (aka, NULL), we use the default id
instead as the previous behavior
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com >
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2015-12-22 18:39:20 +02:00
37d0e98006
ACPI: Add aml_gpio_int() wrapper for GPIO Interrupt Connection
...
Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com >
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org >
Tested-by: Wei Huang <wei@redhat.com >
Reviewed-by: Igor Mammedov <imammedo@redhat.com >
Message-id: 1449804086-3464-8-git-send-email-zhaoshenglong@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2015-12-17 13:37:14 +00:00
4ecdc746e9
ACPI: Add GPIO Connection Descriptor
...
Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com >
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org >
Tested-by: Wei Huang <wei@redhat.com >
Reviewed-by: Igor Mammedov <imammedo@redhat.com >
Message-id: 1449804086-3464-7-git-send-email-zhaoshenglong@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2015-12-17 13:37:14 +00:00
45fcf53940
acpi: extend aml_interrupt() to support multiple irqs
...
ASL Interrupt() macro translates to Extended Interrupt Descriptor
which supports variable number of IRQs. It will be used for
conversion of ASL code for pc/q35 machines that use it for
returning several IRQs in _PSR object.
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org >
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org >
Message-id: 1449804086-3464-3-git-send-email-zhaoshenglong@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2015-12-17 13:37:13 +00:00
4dbfc88149
acpi: support serialized method
...
Add serialized method support so that explicit Mutex can be
avoided
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com >
Signed-off-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org >
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org >
Message-id: 1449804086-3464-2-git-send-email-zhaoshenglong@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2015-12-17 13:37:13 +00:00
3c15d3a450
hw/acpi/aml-build: remove useless glib version check
...
2.22 is the minimum version required
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru >
2015-11-06 15:42:37 +03:00
32d9ca15ba
acpi: add implementation of aml_while() term
...
Commit 68e6b0af7
(acpi: add aml_while() term) added
the definition of aml_while without the actual implementation.
Implement the term.
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Acked-by: Laszlo Ersek <lersek@redhat.com >
2015-06-03 18:19:16 +02:00
afcf905cff
hw/acpi/aml-build: Fix memory leak
...
Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com >
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Igor Mammedov <imammedo@redhat.com >
2015-06-01 14:18:54 +02:00
af39d5363f
acpi: add aml_increment() term
...
Add encoding for ACPI DefIncrement Opcode.
Reviewed-by: Shannon Zhao <zhaoshenglong@huawei.com >
Reviewed-by: Igor Mammedov <imammedo@redhat.com >
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2015-06-01 14:18:54 +02:00
f7bd7b8eb6
acpi: add aml_shiftright() term
...
Add encoding for ACPI DefShiftRight Opcode.
Reviewed-by: Igor Mammedov <imammedo@redhat.com >
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org >
2015-06-01 14:18:54 +02:00
a57dddddd2
acpi: add aml_shiftleft() term
...
Add encoding for ACPI DefShiftLeft Opcode.
Reviewed-by: Igor Mammedov <imammedo@redhat.com >
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org >
2015-06-01 14:18:54 +02:00
928b899657
acpi: add aml_index() term
...
Add encoding for ACPI DefIndex Opcode.
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org >
2015-06-01 14:18:54 +02:00
96396e2858
acpi: add aml_lless() term
...
Add encoding for ACPI DefLLess Opcode.
Reviewed-by: Shannon Zhao <zhaoshenglong@huawei.com >
Reviewed-by: Igor Mammedov <imammedo@redhat.com >
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
2015-06-01 14:18:54 +02:00
c08cf07042
acpi: add aml_add() term
...
Add encoding for ACPI DefAdd Opcode.
Reviewed-by: Igor Mammedov <imammedo@redhat.com >
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org >
2015-06-01 14:18:54 +02:00
c3bdc56c18
acpi: Simplify printing to dynamic string
...
build_append_namestringv() and aml_string() first calculate the
resulting string's length with vsnprintf(NULL, ...), then allocate,
then print for real. Simply use g_strdup_vprintf() or g_vasprintf()
instead.
Signed-off-by: Markus Armbruster <armbru@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: Michael S. Tsirkin <mst@redhat.com >
Reviewed-by: John Snow <jsnow@redhat.com >
Reviewed-by: Igor Mammedov <imammedo@redhat.com >
2015-05-31 20:24:07 +02:00
e1f776c434
hw/acpi/aml-build: Add Unicode macro
...
Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com >
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org >
Reviewed-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Message-id: 1432522520-8068-22-git-send-email-zhaoshenglong@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2015-05-29 11:28:59 +01:00
616ef329ad
hw/acpi/aml-build: Add aml_dword_io() term
...
Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com >
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org >
Reviewed-by: Alex Bennée <alex.bennee@linaro.org >
Reviewed-by: Igor Mammedov <imammedo@redhat.com >
Reviewed-by: Michael S. Tsirkin <mst@redhat.com >
Message-id: 1432522520-8068-21-git-send-email-zhaoshenglong@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2015-05-29 11:28:58 +01:00