Changes in kernel/arch/ia32/src/asm.S [ed88c8e:28a5ebd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/asm.S
red88c8e r28a5ebd 451 451 * 452 452 */ 453 FUNCTION_BEGIN(early_put wchar)453 FUNCTION_BEGIN(early_putuchar) 454 454 455 455 #if ((defined(CONFIG_EGA)) && (!defined(CONFIG_FB))) … … 484 484 /* Sanity check for the cursor on screen */ 485 485 cmp $2000, %ax 486 jb early_put wchar_cursor_ok486 jb early_putuchar_cursor_ok 487 487 488 488 movw $1998, %ax 489 489 490 early_put wchar_cursor_ok:490 early_putuchar_cursor_ok: 491 491 492 492 movw %ax, %bx … … 497 497 498 498 cmp $0x0a, %al 499 jne early_put wchar_backspace499 jne early_putuchar_backspace 500 500 501 501 /* Interpret newline */ … … 511 511 subw %dx, %bx 512 512 513 jmp early_put wchar_skip514 515 early_put wchar_backspace:513 jmp early_putuchar_skip 514 515 early_putuchar_backspace: 516 516 517 517 cmp $0x08, %al 518 jne early_put wchar_print518 jne early_putuchar_print 519 519 520 520 /* Interpret backspace */ 521 521 522 522 cmp $0x0000, %bx 523 je early_put wchar_skip523 je early_putuchar_skip 524 524 525 525 dec %bx 526 jmp early_put wchar_skip527 528 early_put wchar_print:526 jmp early_putuchar_skip 527 528 early_putuchar_print: 529 529 530 530 /* Print character */ … … 534 534 inc %bx 535 535 536 early_put wchar_skip:536 early_putuchar_skip: 537 537 538 538 /* Sanity check for the cursor on the last line */ 539 539 cmp $2000, %bx 540 jb early_put wchar_no_scroll540 jb early_putuchar_no_scroll 541 541 542 542 /* Scroll the screen (24 rows) */ … … 554 554 movw $1920, %bx 555 555 556 early_put wchar_no_scroll:556 early_putuchar_no_scroll: 557 557 558 558 /* Write bits 8 - 15 of the cursor address */ … … 583 583 584 584 ret 585 FUNCTION_END(early_put wchar)586 585 FUNCTION_END(early_putuchar) 586
Note:
See TracChangeset
for help on using the changeset viewer.