From 14e22779625de673569c7b950ecc2753fb915b31 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 27 Apr 2010 06:56:47 +0000 Subject: Since some people disapprove of white space cleanups mixed in regular commits while others dislike them being extra commits, let's clean them up once and for all for the existing code. If it's ugly, let it only be ugly once :-) Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5507 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/vgabios/testbios.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'util/vgabios/testbios.c') diff --git a/util/vgabios/testbios.c b/util/vgabios/testbios.c index 2646a29ffd..c12e72187e 100644 --- a/util/vgabios/testbios.c +++ b/util/vgabios/testbios.c @@ -267,7 +267,7 @@ int main(int argc, char **argv) } } } - + if (absegname) { abseg = mapitin(absegname, (off_t) 0xa0000, 0x20000); if (!abseg) @@ -302,7 +302,7 @@ int main(int argc, char **argv) if (devfn) { printf("Loading ax with BusDevFn = %x\n",devfn); } - + current->ax = devfn ? devfn : 0xff; current->dx = 0x80; // current->ip = 0; @@ -359,7 +359,7 @@ unsigned short get_device(char *arg_val) unsigned short devfn=0; long bus=0,dev=0,fn=0,need_pack=0; char *tok; - + tok = strsep(&arg_val,":"); if (arg_val != NULL) { bus = strtol(tok,0,16); @@ -377,10 +377,10 @@ unsigned short get_device(char *arg_val) } else { if (need_pack ==1 && (strlen(tok))) { - dev = strtol(tok,0,16); + dev = strtol(tok,0,16); } } - + if ( need_pack == 1) { devfn = bus<<8 | (dev<<3) | fn; } -- cgit v1.2.3