summaryrefslogtreecommitdiff
path: root/com32/lib/sys
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-19 16:52:36 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-19 16:52:36 -0800
commitbc7ea9c422f98f969dca78b4736718e3c44edd9b (patch)
tree0f4587c25fb8260511c9b7fb899555ce1510ffbe /com32/lib/sys
parentfe7dbcbaec8b5210604f942f322cecf55a37abe0 (diff)
downloadsyslinux-bc7ea9c422f98f969dca78b4736718e3c44edd9b.tar.gz
Whitespace cleanup...syslinux-3.62-pre11
Diffstat (limited to 'com32/lib/sys')
-rw-r--r--com32/lib/sys/entry.S2
-rw-r--r--com32/lib/sys/vesa/background.c2
-rw-r--r--com32/lib/sys/vesa/initvesa.c2
-rw-r--r--com32/lib/sys/vesa/screencpy.c10
4 files changed, 8 insertions, 8 deletions
diff --git a/com32/lib/sys/entry.S b/com32/lib/sys/entry.S
index 0e3a80be..5834d5d5 100644
--- a/com32/lib/sys/entry.S
+++ b/com32/lib/sys/entry.S
@@ -29,7 +29,7 @@
/* Number of arguments in our version of the entry structure */
#define COM32_ARGS 6
-
+
.section ".init","ax"
.globl _start
.type _start, @function
diff --git a/com32/lib/sys/vesa/background.c b/com32/lib/sys/vesa/background.c
index 941d155d..3bdda208 100644
--- a/com32/lib/sys/vesa/background.c
+++ b/com32/lib/sys/vesa/background.c
@@ -54,7 +54,7 @@ static void draw_background_line(int line, int start, int npixels)
uint32_t *bgptr = &__vesacon_background[line][start];
unsigned int bytes_per_pixel = __vesacon_bytes_per_pixel;
size_t fbptr = line*__vesa_info.mi.logical_scan + start*bytes_per_pixel;
-
+
__vesacon_copy_to_screen(fbptr, bgptr, npixels);
}
diff --git a/com32/lib/sys/vesa/initvesa.c b/com32/lib/sys/vesa/initvesa.c
index 7032bb94..0c2574db 100644
--- a/com32/lib/sys/vesa/initvesa.c
+++ b/com32/lib/sys/vesa/initvesa.c
@@ -164,7 +164,7 @@ static int vesacon_set_mode(void)
continue;
/* We don't support multibank (interlaced memory) modes */
- /*
+ /*
* Note: The Bochs VESA BIOS (vbe.c 1.58 2006/08/19) violates the
* specification which states that banks == 1 for unbanked modes;
* fortunately it does report bank_size == 0 for those.
diff --git a/com32/lib/sys/vesa/screencpy.c b/com32/lib/sys/vesa/screencpy.c
index a3043fd4..a63a1ccf 100644
--- a/com32/lib/sys/vesa/screencpy.c
+++ b/com32/lib/sys/vesa/screencpy.c
@@ -1,5 +1,5 @@
/* ----------------------------------------------------------------------- *
- *
+ *
* Copyright 2008 H. Peter Anvin - All Rights Reserved
*
* Permission is hereby granted, free of charge, to any person
@@ -10,10 +10,10 @@
* sell copies of the Software, and to permit persons to whom
* the Software is furnished to do so, subject to the following
* conditions:
- *
+ *
* The above copyright notice and this permission notice shall
* be included in all copies or substantial portions of the Software.
- *
+ *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
@@ -61,13 +61,13 @@ void __vesacon_init_copy_to_screen(void)
wi.win_num = -1; /* Not a window */
} else {
/* Paged frame buffer */
-
+
/* We have already tested that *one* of these is usable */
if ((mi->win_attr[0] & 0x05) == 0x05 && mi->win_seg[0])
winn = 0;
else
winn = 1;
-
+
wi.win_num = winn;
wi.win_base = (char *)(mi->win_seg[winn] << 4);
wi.win_size = mi->win_size << 10;