Changeset 22c3444 in mainline


Ignore:
Timestamp:
2010-07-06T23:27:57Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
09b859c, 62b20f1
Parents:
97bdb4a
Message:

improve early printout scrolling speed

Location:
kernel/arch
Files:
4 edited

Legend:

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

    r97bdb4a r22c3444  
    445445                movq $(PA2KA(0xb80a0)), %rsi
    446446                movq $(PA2KA(0xb8000)), %rdi
    447                 movq $1920, %rcx
    448                 rep movsw
     447                movq $480, %rcx
     448                rep movsq
    449449               
    450450                /* Clear the 24th row */
    451451                xorq %rax, %rax
    452                 movq $80, %rcx
    453                 rep stosw
     452                movq $20, %rcx
     453                rep stosq
    454454               
    455455                /* Go to row 24 */
  • kernel/arch/amd64/src/boot/boot.S

    r97bdb4a r22c3444  
    247247                movl $0xb80a0, %esi
    248248                movl $0xb8000, %edi
    249                 movl $1920, %ecx
    250                 rep movsw
     249                movl $960, %ecx
     250                rep movsl
    251251               
    252252                /* Clear the 24th row */
    253253                xorl %eax, %eax
    254                 movl $80, %ecx
    255                 rep stosw
     254                movl $40, %ecx
     255                rep stosl
    256256               
    257257                /* Go to row 24 */
     
    357357                movl $0xb80a0, %esi
    358358                movl $0xb8000, %edi
    359                 movl $1920, %ecx
    360                 rep movsw
     359                movl $960, %ecx
     360                rep movsl
    361361               
    362362                /* Clear the 24th row */
    363363                xorl %eax, %eax
    364                 movl $80, %ecx
    365                 rep stosw
     364                movl $40, %ecx
     365                rep stosl
    366366               
    367367                /* Go to row 24 */
     
    516516                movq $(PA2KA(0xb80a0)), %rsi
    517517                movq $(PA2KA(0xb8000)), %rdi
    518                 movq $1920, %rcx
    519                 rep movsw
     518                movq $480, %rcx
     519                rep movsq
    520520               
    521521                /* Clear the 24th row */
    522522                xorq %rax, %rax
    523                 movq $80, %rcx
    524                 rep stosw
     523                movq $20, %rcx
     524                rep stosq
    525525               
    526526                /* Go to row 24 */
  • kernel/arch/ia32/src/asm.S

    r97bdb4a r22c3444  
    527527                movl $(PA2KA(0xb80a0)), %esi
    528528                movl $(PA2KA(0xb8000)), %edi
    529                 movl $1920, %ecx
    530                 rep movsw
     529                movl $960, %ecx
     530                rep movsl
    531531               
    532532                /* Clear the 24th row */
    533533                xorl %eax, %eax
    534                 movl $80, %ecx
    535                 rep stosw
     534                movl $40, %ecx
     535                rep stosl
    536536               
    537537                /* Go to row 24 */
  • kernel/arch/ia32/src/boot/boot.S

    r97bdb4a r22c3444  
    240240                movl $0xb80a0, %esi
    241241                movl $0xb8000, %edi
    242                 movl $1920, %ecx
    243                 rep movsw
     242                movl $960, %ecx
     243                rep movsl
    244244               
    245245                /* Clear the 24th row */
    246246                xorl %eax, %eax
    247                 movl $80, %ecx
    248                 rep stosw
     247                movl $40, %ecx
     248                rep stosl
    249249               
    250250                /* Go to row 24 */
     
    348348                movl $0xb80a0, %esi
    349349                movl $0xb8000, %edi
    350                 movl $1920, %ecx
    351                 rep movsw
     350                movl $960, %ecx
     351                rep movsl
    352352               
    353353                /* Clear the 24th row */
    354354                xorl %eax, %eax
    355                 movl $80, %ecx
    356                 rep stosw
     355                movl $40, %ecx
     356                rep stosl
    357357               
    358358                /* Go to row 24 */
     
    463463                movl $(PA2KA(0xb80a0)), %esi
    464464                movl $(PA2KA(0xb8000)), %edi
    465                 movl $1920, %ecx
    466                 rep movsw
     465                movl $960, %ecx
     466                rep movsl
    467467               
    468468                /* Clear the 24th row */
    469469                xorl %eax, %eax
    470                 movl $80, %ecx
    471                 rep stosw
     470                movl $40, %ecx
     471                rep stosl
    472472               
    473473                /* Go to row 24 */
Note: See TracChangeset for help on using the changeset viewer.