diff options
author | Stuart Bennett <sb476@cam.ac.uk> | 2008-01-11 22:12:00 +0000 |
---|---|---|
committer | Stuart Bennett <sb476@cam.ac.uk> | 2008-01-11 22:12:00 +0000 |
commit | 81df93cab0843ec2653b13e5bf5f777a90c272c2 (patch) | |
tree | 5e07e724fddc9887597e425dd8c058d6d0b5b60a | |
parent | 9307d8cd89e83b4012e2be9349802449fb9766e6 (diff) |
32 bit write support for ioreplay
-rw-r--r-- | extrautils/ioreplay.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extrautils/ioreplay.c b/extrautils/ioreplay.c index d848cdd..9ad5294 100644 --- a/extrautils/ioreplay.c +++ b/extrautils/ioreplay.c @@ -52,8 +52,9 @@ int main(int argc, char *argv[]) sscanf(line, "%*x:%*x W%*d port: %x data: %x", &port, &data); - /* don't handle 32 bit writes yet */ - if (line[11] == '1') + if (line[11] == '3') + outl_local(port, data); + else if (line[11] == '1') outw_local(port, data); else outb_local(port, data); |