]> xenbits.xensource.com Git - people/royger/xen.git/commit
tools/firmware: add ACPI device for Windows laptop/slate mode switch
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 28 Mar 2017 08:42:26 +0000 (09:42 +0100)
committerWei Liu <wei.liu2@citrix.com>
Wed, 29 Mar 2017 17:27:31 +0000 (18:27 +0100)
commit4c8153d97efe087f139a28c096f825e8069a3931
treee8a7f20ba0b426f962be8812ece622b4fa58c940
parentb988e88cc041f630dcfa735dcf9c895310103629
tools/firmware: add ACPI device for Windows laptop/slate mode switch

Microsoft have defined an ACPI device to support switching Windows 10
between laptop/desktop mode and slate/tablet mode [1].

This patch adds an SSDT containing such a device. The presence of the
device is controlled by a new 'acpi_laptop_slate' boolean in xl.cfg.
The new device will not be present by default.

[1] https://msdn.microsoft.com/en-us/windows/hardware/commercialize/design/device-experiences/continuum

Signed-off-by: Owen Smith <owen.smith@citrix.com>
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
docs/man/xl.cfg.pod.5.in
tools/firmware/hvmloader/util.c
tools/libacpi/Makefile
tools/libacpi/build.c
tools/libacpi/libacpi.h
tools/libacpi/ssdt_laptop_slate.asl [new file with mode: 0644]
tools/libxl/libxl.h
tools/libxl/libxl_create.c
tools/libxl/libxl_types.idl
tools/xl/xl_parse.c