Changeset 8844e70 in mainline for kernel/arch/ia32/src/delay.S


Ignore:
Timestamp:
2016-04-11T17:03:47Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3b0f1b9a
Parents:
3a34852
Message:

ia32: use asmtool.h macros for defining symbols

File:
1 moved

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/delay.S

    r3a34852 r8844e70  
    3131#
    3232
     33#include <abi/asmtool.h>
     34
    3335.text
    3436
    35 .global asm_delay_loop
    36 .global asm_fake_loop
    37 
    38 asm_delay_loop:
     37FUNCTION_BEGIN(asm_delay_loop)
    3938        movl 4(%esp),%ecx       # move argument to %ecx
    40390:      lahf
     
    4241        jnz 0b
    4342        ret
     43FUNCTION_END(asm_delay_loop)
    4444
    45 asm_fake_loop:
     45FUNCTION_BEGIN(asm_fake_loop)
    4646        movl 4(%esp),%ecx       # move argument to %ecx
    47470:      lahf
     
    4949        jz 0b
    5050        ret
     51FUNCTION_END(asm_fake_loop)
     52
Note: See TracChangeset for help on using the changeset viewer.