Changeset c9b8c5c in mainline for arch/ia32/src/asm.s


Ignore:
Timestamp:
2005-04-24T21:59:33Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ad36bd6
Parents:
f07bba5
Message:

APIC changes and fixes.
Be more robust during MP configuration.

Do not use APIC ID as CPU_ID_ARCH anymore.
Changing APIC ID's is not a good idea.
Use dr0 register instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/asm.s

    rf07bba5 rc9b8c5c  
    5353.global memsetw
    5454.global memcmp
     55.global write_dr0
     56.global read_dr0
     57
     58write_dr0:
     59        pushl %eax
     60        movl 8(%esp),%eax
     61        movl %eax,%dr0
     62        popl %eax
     63        ret
     64       
     65read_dr0:
     66        movl %dr0,%eax
     67        ret
    5568
    5669#
Note: See TracChangeset for help on using the changeset viewer.