]> xenbits.xensource.com Git - pvdrivers/win/xencons.git/commit
Hide console access behind an interface
authorOwen Smith <owen.smith@citrix.com>
Thu, 1 Mar 2018 17:21:34 +0000 (17:21 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Fri, 2 Mar 2018 11:45:45 +0000 (11:45 +0000)
commit277fa6e471b10610a9ee30d4099d0dd2bcb38eb2
treec0610456102a88cb5e1ff02ac2f34b0fb2170a47
parent2d71daf03483dbe5e074f18e546e942116234984
Hide console access behind an interface

* Allows a different implementation of the console protocol for
  non-default consoles.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
* Re-worked create/destroy and renamed some items.
* Left IsDefault as a flag on the Pdo.
* Fail to create the PDO in the non-default case.
* ASSERT the Pdo is default before attempting to use the ABI, since it
  is only valid in this case.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xencons/console.c
src/xencons/console.h
src/xencons/console_abi.h [new file with mode: 0644]
src/xencons/pdo.c