diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-05-29 15:10:23 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-29 15:10:23 -0700 |
commit | 88a2699b38db0c312a2076054a50554996743f2e (patch) | |
tree | c0d46ce91d19e6ef119ab46d7a9d1b5bf1908e97 /com32 | |
parent | 2987130d1052046f1c498ed03c213fe265c7b636 (diff) | |
download | syslinux.git-88a2699b38db0c312a2076054a50554996743f2e.tar.gz syslinux.git-88a2699b38db0c312a2076054a50554996743f2e.tar.xz syslinux.git-88a2699b38db0c312a2076054a50554996743f2e.zip |
Run Nindent on com32/lib/pci/readbios.c
Automatically reformat com32/lib/pci/readbios.c using Nindent.
Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32')
-rw-r--r-- | com32/lib/pci/readbios.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/com32/lib/pci/readbios.c b/com32/lib/pci/readbios.c index 34f593c0..f8ff3bff 100644 --- a/com32/lib/pci/readbios.c +++ b/com32/lib/pci/readbios.c @@ -4,12 +4,12 @@ uint32_t __pci_read_bios(uint32_t call, pciaddr_t a) { - com32sys_t rs; - memset(&rs, 0, sizeof rs); - rs.eax.w[0] = call; - rs.ebx.w[0] = a >> 8; /* bus:device:function */ - rs.edi.b[0] = a; /* address:reg */ - __intcall(0x1a, &rs, &rs); + com32sys_t rs; + memset(&rs, 0, sizeof rs); + rs.eax.w[0] = call; + rs.ebx.w[0] = a >> 8; /* bus:device:function */ + rs.edi.b[0] = a; /* address:reg */ + __intcall(0x1a, &rs, &rs); - return (rs.eflags.l & EFLAGS_CF) ? ~(uint32_t)0 : rs.ecx.l; + return (rs.eflags.l & EFLAGS_CF) ? ~(uint32_t) 0 : rs.ecx.l; } |