Changeset 0f250f9 in mainline for arch/ia64/include/faddr.h


Ignore:
Timestamp:
2006-03-17T18:07:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
69f293e
Parents:
6c6a19e6
Message:

Improved uspace threads.
ia64 needs fixing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/include/faddr.h

    r6c6a19e6 r0f250f9  
    3232#include <arch/types.h>
    3333
    34 static __address FADDR(void (* fptr)(void));
    35 
    3634/**
    3735 *
     
    4240 *
    4341 */
    44 inline __address FADDR(void (* fptr)(void)) {
     42static inline __address FADDR(void (* fptr)()) {
    4543        __address faddr;
    46 
    47         /*Deprecated assembler version*/
    48         /*     
    49         __asm__(
    50                 "ld8 %0 = [%1]\n\t"
    51                 : "=r" (faddr)
    52                 : "r" (fptr)
    53         );
    54         */
    5544
    5645        faddr = *((__address *)(fptr));;
Note: See TracChangeset for help on using the changeset viewer.