Fork us on GitHub Follow us on Facebook Follow us on Twitter

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


Ignore:
Timestamp:
2010-11-02T20:02:07Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
b5e68c8, e06ef614
Parents:
c75698b
Message:

Use shorter 32-bit instructions where possible.

File:
1 edited

Legend:

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

    rc75698b re80329d6  
    516516                movq $(PA2KA(0xb80a0)), %rsi
    517517                movq $(PA2KA(0xb8000)), %rdi
    518                 movq $480, %rcx
     518                movl $480, %ecx
    519519                rep movsq
    520520               
    521521                /* Clear the 24th row */
    522                 xorq %rax, %rax
    523                 movq $20, %rcx
     522                xorl %eax, %eax
     523                movl $20, %ecx
    524524                rep stosq
    525525               
Note: See TracChangeset for help on using the changeset viewer.