]> rtime.felk.cvut.cz Git - jailhouse.git/commitdiff
tools: root cell template: add delay IO port to root cell whitelist
authorHenning Schild <henning.schild@siemens.com>
Tue, 19 May 2015 17:03:26 +0000 (19:03 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 22 May 2015 04:53:42 +0000 (06:53 +0200)
Port 0x80 is used by some device drivers to delay IO operations, put it
on the default whitelist in our root-cell template.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
tools/root-cell-config.c.tmpl

index 4b6029604b0a6fb11fa234bc5f413238cc10093e..51f2f47e93d8b6f9b51a4180d1000bca627a73bf 100644 (file)
@@ -125,7 +125,9 @@ struct {
                [  0x60/8 ...   0x67/8] = 0xec, /* HACK: NMI status/control */
                [  0x68/8 ...   0x6f/8] = -1,
                [  0x70/8 ...   0x77/8] = 0xfc, /* RTC */
-               [  0x78/8 ...  0x3af/8] = -1,
+               [  0x78/8 ...   0x7f/7] = -1,
+               [  0x80/8 ...   0x87/8] = 0xfe, /* Linux: native_io_delay() */
+               [  0x88/8 ...  0x3af/8] = -1,
                [ 0x3b0/8 ...  0x3df/8] = 0x00, /* VGA */
                [ 0x3e0/8 ...  0xcff/8] = -1,
                [ 0xd00/8 ... 0xffff/8] = 0, /* HACK: PCI bus */