Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/asm.S

    r28a5ebd r3bdcf57  
    409409 *
    410410 */
    411 FUNCTION_BEGIN(early_putuchar)
     411FUNCTION_BEGIN(early_putwchar)
    412412
    413413#if (defined(CONFIG_L4RE_UVMM_EARLY_PRINT))
     
    447447        /* Sanity check for the cursor on screen */
    448448        cmp $2000, %ax
    449         jb early_putuchar_cursor_ok
     449        jb early_putwchar_cursor_ok
    450450
    451451                movw $1998, %ax
    452452
    453         early_putuchar_cursor_ok:
     453        early_putwchar_cursor_ok:
    454454
    455455        movw %ax, %bx
     
    460460
    461461        cmp $0x0a, %al
    462         jne early_putuchar_backspace
     462        jne early_putwchar_backspace
    463463
    464464                /* Interpret newline */
     
    474474                subw %dx, %bx
    475475
    476                 jmp early_putuchar_skip
    477 
    478         early_putuchar_backspace:
     476                jmp early_putwchar_skip
     477
     478        early_putwchar_backspace:
    479479
    480480                cmp $0x08, %al
    481                 jne early_putuchar_print
     481                jne early_putwchar_print
    482482
    483483                /* Interpret backspace */
    484484
    485485                cmp $0x0000, %bx
    486                 je early_putuchar_skip
     486                je early_putwchar_skip
    487487
    488488                dec %bx
    489                 jmp early_putuchar_skip
    490 
    491         early_putuchar_print:
     489                jmp early_putwchar_skip
     490
     491        early_putwchar_print:
    492492
    493493                /* Print character */
     
    497497                inc %bx
    498498
    499         early_putuchar_skip:
     499        early_putwchar_skip:
    500500
    501501        /* Sanity check for the cursor on the last line */
    502502        cmp $2000, %bx
    503         jb early_putuchar_no_scroll
     503        jb early_putwchar_no_scroll
    504504
    505505                /* Scroll the screen (24 rows) */
     
    517517                movw $1920, %bx
    518518
    519         early_putuchar_no_scroll:
     519        early_putwchar_no_scroll:
    520520
    521521        /* Write bits 8 - 15 of the cursor address */
     
    544544
    545545        ret
    546 FUNCTION_END(early_putuchar)
     546FUNCTION_END(early_putwchar)
Note: See TracChangeset for help on using the changeset viewer.