diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-09-20 16:05:47 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-20 16:05:47 +0000 |
commit | 5e77fa91bcc4b1ea7ba1a55c988e9094afb92bdf (patch) | |
tree | c638b6c2a483794e5fdb9a520c31337d6178acad /target-i386 | |
parent | 249f4f5761df38615e390bbf83b4129b1bd89798 (diff) | |
download | qemu-5e77fa91bcc4b1ea7ba1a55c988e9094afb92bdf.tar.gz qemu-5e77fa91bcc4b1ea7ba1a55c988e9094afb92bdf.tar.bz2 qemu-5e77fa91bcc4b1ea7ba1a55c988e9094afb92bdf.zip |
ioports: remove unused env parameter and compile only once
The CPU state parameter is not used, remove it and adjust callers. Now we
can compile ioport.c once for all targets.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/op_helper.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c index c3f5af69b5..33d44b0037 100644 --- a/target-i386/op_helper.c +++ b/target-i386/op_helper.c @@ -558,32 +558,32 @@ void helper_check_iol(uint32_t t0) void helper_outb(uint32_t port, uint32_t data) { - cpu_outb(env, port, data & 0xff); + cpu_outb(port, data & 0xff); } target_ulong helper_inb(uint32_t port) { - return cpu_inb(env, port); + return cpu_inb(port); } void helper_outw(uint32_t port, uint32_t data) { - cpu_outw(env, port, data & 0xffff); + cpu_outw(port, data & 0xffff); } target_ulong helper_inw(uint32_t port) { - return cpu_inw(env, port); + return cpu_inw(port); } void helper_outl(uint32_t port, uint32_t data) { - cpu_outl(env, port, data); + cpu_outl(port, data); } target_ulong helper_inl(uint32_t port) { - return cpu_inl(env, port); + return cpu_inl(port); } static inline unsigned int get_sp_mask(unsigned int e2) |