Changeset 09b859c in mainline for kernel/arch/amd64/src/boot/boot.S


Ignore:
Timestamp:
2010-07-07T18:37:44Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
77385fe
Parents:
e2ea4ab1 (diff), 22c3444 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from mainline.

File:
1 edited

Legend:

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

    re2ea4ab1 r09b859c  
    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 */
     
    605605.align 4096
    606606ptl_2_4g:
    607         ptl2gen 512 3
     607        ptl2gen 512 4
    608608
    609609/* Page table for pages in the 6th gigabyte. */
    610610.align 4096
    611611ptl_2_5g:
    612         ptl2gen 512 3
     612        ptl2gen 512 5
    613613
    614614/* Page table for pages in the 7th gigabyte. */
    615615.align 4096
    616616ptl_2_6g:
    617         ptl2gen 512 3
     617        ptl2gen 512 6
    618618
    619619/* Page table for pages in the 8th gigabyte. */
    620620.align 4096
    621621ptl_2_7g:
    622         ptl2gen 512 3
     622        ptl2gen 512 7
    623623
    624624.align 4096
Note: See TracChangeset for help on using the changeset viewer.