diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2016-08-21 18:28:17 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-08-28 18:27:52 +0200 |
commit | f772f9c6d2a3abc196fcc76cfaaa96f8381902b0 (patch) | |
tree | a1027e46ec626611128664bce34f63f13275c880 /src/device/oprom/x86emu/prim_ops.c | |
parent | 11fc8015bd77c9b4212d2eac6e8254599a24bfed (diff) |
src/device: Add required space before opening parenthesis '('
Change-Id: I48477c2917ab1be14d3cedf25e8b97dae1c1d309
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/16289
Tested-by: build bot (Jenkins)
Reviewed-by: Omar Pakker
Diffstat (limited to 'src/device/oprom/x86emu/prim_ops.c')
-rw-r--r-- | src/device/oprom/x86emu/prim_ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/oprom/x86emu/prim_ops.c b/src/device/oprom/x86emu/prim_ops.c index 08a22bd356..8b2c38a5ad 100644 --- a/src/device/oprom/x86emu/prim_ops.c +++ b/src/device/oprom/x86emu/prim_ops.c @@ -2295,7 +2295,7 @@ Implements the IN string instruction and side effects. static void single_in(int size) { - if(size == 1) + if (size == 1) store_data_byte_abs(M.x86.R_ES, M.x86.R_DI,(*sys_inb)(M.x86.R_DX)); else if (size == 2) store_data_word_abs(M.x86.R_ES, M.x86.R_DI,(*sys_inw)(M.x86.R_DX)); @@ -2337,7 +2337,7 @@ Implements the OUT string instruction and side effects. static void single_out(int size) { - if(size == 1) + if (size == 1) (*sys_outb)(M.x86.R_DX,fetch_data_byte_abs(M.x86.R_ES, M.x86.R_SI)); else if (size == 2) (*sys_outw)(M.x86.R_DX,fetch_data_word_abs(M.x86.R_ES, M.x86.R_SI)); |