summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:27 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:27 -0700
commit22f5eb8399b3fec80891aa259ebb3c47a36cac13 (patch)
tree84ecd83f201ea67bd6b794fa6149484fd39fba51
parent9fb3f4eaa797acef9ab18e6d5e769b4e57c229e4 (diff)
downloadsyslinux-22f5eb8399b3fec80891aa259ebb3c47a36cac13.tar.gz
Run Nindent on com32/lib/syslinux/runimage.c
Automatically reformat com32/lib/syslinux/runimage.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>
-rw-r--r--com32/lib/syslinux/runimage.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/com32/lib/syslinux/runimage.c b/com32/lib/syslinux/runimage.c
index 9055526f..0184df37 100644
--- a/com32/lib/syslinux/runimage.c
+++ b/com32/lib/syslinux/runimage.c
@@ -39,27 +39,27 @@
void syslinux_run_kernel_image(const char *filename, const char *cmdline,
uint32_t ipappend_flags, uint32_t type)
{
- static com32sys_t ireg;
- char *bbfilename, *bbcmdline, *bbptr;
- int bytes;
+ static com32sys_t ireg;
+ char *bbfilename, *bbcmdline, *bbptr;
+ int bytes;
- bbptr = __com32.cs_bounce;
+ bbptr = __com32.cs_bounce;
- bytes = strlen(filename)+1;
- memcpy(bbfilename = bbptr, filename, bytes);
- bbptr += bytes;
+ bytes = strlen(filename) + 1;
+ memcpy(bbfilename = bbptr, filename, bytes);
+ bbptr += bytes;
- bytes = strlen(cmdline)+1;
- memcpy(bbcmdline = bbptr, filename, bytes);
- bbptr += bytes;
+ bytes = strlen(cmdline) + 1;
+ memcpy(bbcmdline = bbptr, filename, bytes);
+ bbptr += bytes;
- ireg.eax.w[0] = 0x0016;
- ireg.ds = SEG(bbfilename);
- ireg.esi.w[0] = OFFS(bbfilename);
- ireg.es = SEG(bbcmdline);
- ireg.ebx.w[0] = OFFS(bbcmdline);
- ireg.ecx.l = ipappend_flags;
- ireg.edx.l = type;
+ ireg.eax.w[0] = 0x0016;
+ ireg.ds = SEG(bbfilename);
+ ireg.esi.w[0] = OFFS(bbfilename);
+ ireg.es = SEG(bbcmdline);
+ ireg.ebx.w[0] = OFFS(bbcmdline);
+ ireg.ecx.l = ipappend_flags;
+ ireg.edx.l = type;
- __intcall(0x22, &ireg, 0);
+ __intcall(0x22, &ireg, 0);
}