Changes in kernel/arch/amd64/src/asm.S [28a5ebd:3bdcf57] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/asm.S
r28a5ebd r3bdcf57 409 409 * 410 410 */ 411 FUNCTION_BEGIN(early_put uchar)411 FUNCTION_BEGIN(early_putwchar) 412 412 413 413 #if (defined(CONFIG_L4RE_UVMM_EARLY_PRINT)) … … 447 447 /* Sanity check for the cursor on screen */ 448 448 cmp $2000, %ax 449 jb early_put uchar_cursor_ok449 jb early_putwchar_cursor_ok 450 450 451 451 movw $1998, %ax 452 452 453 early_put uchar_cursor_ok:453 early_putwchar_cursor_ok: 454 454 455 455 movw %ax, %bx … … 460 460 461 461 cmp $0x0a, %al 462 jne early_put uchar_backspace462 jne early_putwchar_backspace 463 463 464 464 /* Interpret newline */ … … 474 474 subw %dx, %bx 475 475 476 jmp early_put uchar_skip477 478 early_put uchar_backspace:476 jmp early_putwchar_skip 477 478 early_putwchar_backspace: 479 479 480 480 cmp $0x08, %al 481 jne early_put uchar_print481 jne early_putwchar_print 482 482 483 483 /* Interpret backspace */ 484 484 485 485 cmp $0x0000, %bx 486 je early_put uchar_skip486 je early_putwchar_skip 487 487 488 488 dec %bx 489 jmp early_put uchar_skip490 491 early_put uchar_print:489 jmp early_putwchar_skip 490 491 early_putwchar_print: 492 492 493 493 /* Print character */ … … 497 497 inc %bx 498 498 499 early_put uchar_skip:499 early_putwchar_skip: 500 500 501 501 /* Sanity check for the cursor on the last line */ 502 502 cmp $2000, %bx 503 jb early_put uchar_no_scroll503 jb early_putwchar_no_scroll 504 504 505 505 /* Scroll the screen (24 rows) */ … … 517 517 movw $1920, %bx 518 518 519 early_put uchar_no_scroll:519 early_putwchar_no_scroll: 520 520 521 521 /* Write bits 8 - 15 of the cursor address */ … … 544 544 545 545 ret 546 FUNCTION_END(early_put uchar)546 FUNCTION_END(early_putwchar)
Note:
See TracChangeset
for help on using the changeset viewer.