Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
a2b705cd
Commit
a2b705cd
authored
Jul 23, 2002
by
Geert Uytterhoeven
Committed by
Linus Torvalds
Jul 23, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] M68k update (part 19)
Fix Mac build if no fonts are selected
parent
0c16974d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
8 deletions
+16
-8
arch/m68k/kernel/head.S
arch/m68k/kernel/head.S
+16
-8
No files found.
arch/m68k/kernel/head.S
View file @
a2b705cd
...
@@ -3270,14 +3270,16 @@ console_clear_loop:
...
@@ -3270,14 +3270,16 @@ console_clear_loop:
/
*
Calculate
font
size
*/
/
*
Calculate
font
size
*/
#if defined(FONT_8x8)
#if defined(FONT_8x8)
&& defined(CONFIG_FONT_8x8)
lea
%
pc
@
(
font_vga_8x8
),
%a0
lea
%
pc
@
(
font_vga_8x8
),
%a0
#elif defined(FONT_8x16)
#elif defined(FONT_8x16)
&& defined(CONFIG_FONT_8x16)
lea
%
pc
@
(
font_vga_8x16
),
%a0
lea
%
pc
@
(
font_vga_8x16
),
%a0
#elif defined(FONT_6x11)
#elif defined(FONT_6x11)
&& defined(CONFIG_FONT_6x11)
lea
%
pc
@
(
font_vga_6x11
),
%a0
lea
%
pc
@
(
font_vga_6x11
),
%a0
#else /* (FONT_8x8) default */
#elif defined(CONFIG_FONT_8x8) /* default */
lea
%
pc
@
(
font_vga_8x8
),
%a0
lea
%
pc
@
(
font_vga_8x8
),
%a0
#else /* no compiled-in font */
lea
0
,
%a0
#endif
#endif
/
*
/
*
...
@@ -3286,6 +3288,8 @@ console_clear_loop:
...
@@ -3286,6 +3288,8 @@ console_clear_loop:
*/
*/
lea
%
pc
@
(
L
(
console_font
)),
%a1
lea
%
pc
@
(
L
(
console_font
)),
%a1
movel
%a0
,
%a1
@
/*
store
pointer
to
struct
fbcon_font_desc
in
Lconsole_font
*/
movel
%a0
,
%a1
@
/*
store
pointer
to
struct
fbcon_font_desc
in
Lconsole_font
*/
tstl
%a0
jeq
1
f
/
*
/
*
*
Calculate
global
maxs
*
Calculate
global
maxs
...
@@ -3313,7 +3317,7 @@ console_clear_loop:
...
@@ -3313,7 +3317,7 @@ console_clear_loop:
/
*
/
*
*
Initialization
is
complete
*
Initialization
is
complete
*/
*/
moveml
%
sp
@
+,
%a0
-
%a4
/%
d0
-%
d7
1
:
moveml
%
sp
@
+,
%a0
-
%a4
/%
d0
-%
d7
rts
rts
L
(
console_put_stats
):
L
(
console_put_stats
):
...
@@ -3399,6 +3403,8 @@ console_scroll:
...
@@ -3399,6 +3403,8 @@ console_scroll:
lea
%
pc
@
(
L
(
mac_rowbytes
)),
%a0
lea
%
pc
@
(
L
(
mac_rowbytes
)),
%a0
movel
%a0
@
,%
d5
movel
%a0
@
,%
d5
movel
%
pc
@
(
L
(
console_font
)),
%a0
movel
%
pc
@
(
L
(
console_font
)),
%a0
tstl
%a0
jeq
1
f
mulul
%a0
@
(
FBCON_FONT_DESC_HEIGHT
),%
d5
/*
account
for
#
scan
lines
per
character
*/
mulul
%a0
@
(
FBCON_FONT_DESC_HEIGHT
),%
d5
/*
account
for
#
scan
lines
per
character
*/
addal
%
d5
,
%a2
addal
%
d5
,
%a2
...
@@ -3453,13 +3459,15 @@ console_scroll_clear_loop:
...
@@ -3453,13 +3459,15 @@ console_scroll_clear_loop:
movel
%
d0
,
%a1
@
+
movel
%
d0
,
%a1
@
+
dbra
%
d6
,
console_scroll_clear_loop
dbra
%
d6
,
console_scroll_clear_loop
moveml
%
sp
@
+,
%a0
-
%a4
/%
d0
-%
d7
1
:
moveml
%
sp
@
+,
%a0
-
%a4
/%
d0
-%
d7
rts
rts
func_start
console_putc
,%
a0
/%
a1
/%
d0
-%
d7
func_start
console_putc
,%
a0
/%
a1
/%
d0
-%
d7
is_not_mac
(
console_exit
)
is_not_mac
(
console_exit
)
tstl
%
pc
@
(
L
(
console_font
))
jeq
console_exit
/
*
Output
character
in
d7
on
console
.
/
*
Output
character
in
d7
on
console
.
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment