Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: sys-boot/syslinux/files/syslinux-3.83-disable_banner.patch

Issue 1748010: Add syslinux patches to disable banner and blinking cursor. (Closed)
Patch Set: Force rebuild of all of syslinux. Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 diff -U5 -r syslinux-3.82-orig/core/diskstart.inc syslinux-3.82/core/diskstart.i nc
2 --- syslinux-3.82-orig/core/diskstart.inc 2009-06-09 10:19:25.000000000 -0 700
3 +++ syslinux-3.82/core/diskstart.inc 2009-06-17 17:49:03.000000000 -0700
4 @@ -506,12 +506,12 @@
5 sti ; In case of broken INT 13h BIOSes
6
7 ;
8 ; Tell the user we got this far
9 ;
10 - mov si,syslinux_banner
11 - call writestr_early
12 + ;mov si,syslinux_banner
13 + ;call writestr_early
14
15 ;
16 ; Tell the user if we're using EBIOS or CBIOS
17 ;
18 print_bios:
19 @@ -519,11 +519,11 @@
20 cmp byte [getlinsec.jmp+1],(getlinsec_ebios-(getlinsec.jmp+2))
21 jne .cbios
22 mov si,ebios_name
23 .cbios:
24 mov [BIOSName],si
25 - call writestr_early
26 + ;call writestr_early
27
28 section .bss
29 %define HAVE_BIOSNAME 1
30 BIOSName resw 1
31
32 @@ -659,12 +659,12 @@
33 all_read:
34 ;
35 ; Let the user (and programmer!) know we got this far. This used to be
36 ; in Sector 1, but makes a lot more sense here.
37 ;
38 - mov si,copyright_str
39 - call writestr_early
40 + ;mov si,copyright_str
41 + ;call writestr_early
42
43
44 ;
45 ; Insane hack to expand the DOS superblock to dwords
46 ;
47 diff -U5 -r syslinux-3.82-orig/core/isolinux.asm syslinux-3.82/core/isolinux.asm
48 --- syslinux-3.82-orig/core/isolinux.asm 2009-06-09 10:19:25.000000000 -0 700
49 +++ syslinux-3.82/core/isolinux.asm 2009-06-17 17:49:03.000000000 -0700
50 @@ -284,18 +284,18 @@
51 mov [BIOSType],si
52 mov eax,[si]
53 mov [GetlinsecPtr],eax
54
55 ; Show signs of life
56 - mov si,syslinux_banner
57 - call writestr_early
58 + ;mov si,syslinux_banner
59 + ;call writestr_early
60 %ifdef DEBUG_MESSAGES
61 - mov si,copyright_str
62 + ;mov si,copyright_str
63 %else
64 - mov si,[BIOSName]
65 + ;mov si,[BIOSName]
66 %endif
67 - call writestr_early
68 + ;call writestr_early
69
70 ;
71 ; Before modifying any memory, get the checksum of bytes
72 ; 64-2048
73 ;
74 @@ -679,17 +679,17 @@
75 .norge: jmp short .norge
76
77 ; Information message (DS:SI) output
78 ; Prefix with "isolinux: "
79 ;
80 -writemsg: push ax
81 - push si
82 - mov si,isolinux_str
83 - call writestr_early
84 - pop si
85 - call writestr_early
86 - pop ax
87 +writemsg: ;push ax
88 + ;push si
89 + ;mov si,isolinux_str
90 + ;call writestr_early
91 + ;pop si
92 + ;call writestr_early
93 + ;pop ax
94 ret
95
96 ;
97 ; Write a character to the screen. There is a more "sophisticated"
98 ; version of this in the subsequent code, so we patch the pointer
99 diff -U5 -r syslinux-3.82-orig/core/localboot.inc syslinux-3.82/core/localboot.i nc
100 --- syslinux-3.82-orig/core/localboot.inc 2009-06-09 10:19:25.000000000 -0 700
101 +++ syslinux-3.82/core/localboot.inc 2009-06-17 17:49:03.000000000 -0700
102 @@ -27,13 +27,13 @@
103 local_boot:
104 call vgaclearmode
105 RESET_STACK_AND_SEGS dx ; dx <- 0
106 mov fs,dx
107 mov gs,dx
108 - mov si,localboot_msg
109 - call writestr
110 + ;mov si,localboot_msg
111 + ;call writestr
112 call cleanup_hardware
113 cmp ax,-1
114 je .int18
115
116 ; Load boot sector from the specified BIOS device and jump to it .
117 mov dl,al
118 diff -U5 -r syslinux-3.82-orig/core/ui.inc syslinux-3.82/core/ui.inc
119 --- syslinux-3.82-orig/core/ui.inc 2009-06-09 10:19:25.000000000 -0700
120 +++ syslinux-3.82/core/ui.inc 2009-06-17 17:49:03.000000000 -0700
121 @@ -240,28 +240,28 @@
122 call get_msg_file
123 jmp short fk_wrcmd
124
125 print_version:
126 push di ; Command line write pointer
127 - mov si,syslinux_banner
128 - call writestr
129 + ;mov si,syslinux_banner
130 + ;call writestr
131 %ifdef HAVE_BIOSNAME
132 mov si,[BIOSName]
133 call writestr
134 %endif
135 - mov si,copyright_str
136 - call writestr
137 + ;mov si,copyright_str
138 + ;call writestr
139
140 ; ... fall through ...
141
142 ; Write the boot prompt and command line again and
143 ; wait for input. Note that this expects the cursor
144 ; to already have been CRLF'd, and that the old value
145 ; of DI (the command line write pointer) is on the stack.
146 fk_wrcmd:
147 - mov si,boot_prompt
148 - call writestr
149 + ;mov si,boot_prompt
150 + ;call writestr
151 pop di ; Command line write pointer
152 push di
153 mov byte [di],0 ; Null-terminate command line
154 mov si,command_line
155 call writestr ; Write command line so far
OLDNEW
« no previous file with comments | « profiles/default/linux/package.mask ('k') | sys-boot/syslinux/files/syslinux-3.83-disable_cursor.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698