We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 210a1ce commit 0da6458Copy full SHA for 0da6458
arch/m68k/kernel/head.S
@@ -3533,19 +3533,16 @@ func_start console_putc,%a0/%a1/%d0-%d7
3533
tstl %pc@(L(console_font))
3534
jeq L(console_exit)
3535
3536
+ lea %pc@(L(console_globals)),%a0
3537
+
3538
/* Output character in d7 on console.
3539
*/
3540
movel ARG1,%d7
3541
cmpib #'\n',%d7
- jbne 1f
3542
+ jne L(console_not_lf)
3543
- /* A little safe recursion is good for the soul */
- console_putc #'\r'
3544
-1:
3545
- lea %pc@(L(console_globals)),%a0
+ clrl %a0@(Lconsole_struct_cur_column) /* implicit \r */
3546
3547
- cmpib #10,%d7
3548
- jne L(console_not_lf)
3549
movel %a0@(Lconsole_struct_cur_row),%d0
3550
movel %a0@(Lconsole_struct_num_rows),%d1
3551
cmpl %d1,%d0
0 commit comments