Changeset a3ac9a7 in mainline for arch/amd64/include/asm.h


Ignore:
Timestamp:
2005-12-10T12:12:09Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6e716a59
Parents:
208189f
Message:

Small debug changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/include/asm.h

    r208189f ra3ac9a7  
    218218}
    219219
     220static inline __address * get_ip()
     221{
     222        __address *ip;
     223
     224        __asm__ volatile (
     225                "mov %%rip, %0"
     226                : "=r" (ip)
     227                );
     228        return ip;
     229}
     230
     231
    220232extern size_t interrupt_handler_size;
    221233extern void interrupt_handlers(void);
Note: See TracChangeset for help on using the changeset viewer.