Changeset 36b209a in mainline for arch/amd64/src/delay.S


Ignore:
Timestamp:
2005-09-03T07:11:10Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
82a80d3
Parents:
89344d85
Message:

Added volatile to inb/outb, so that it does not optimeze
lot of things out anymore.
Working delay loop.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/src/delay.S

    r89344d85 r36b209a  
    3737
    3838asm_delay_loop:
    39 0:      lahf
    40         dec %edi
     390:      dec %rdi
    4140        jnz 0b
    4241        ret
    4342
    4443asm_fake_loop:
    45 0:      lahf
    46         dec %edi
     440:      dec %rdi
    4745        jz 0b
    4846        ret
Note: See TracChangeset for help on using the changeset viewer.