Subversion Repositories HelenOS-historic

Rev

Rev 534 | Rev 597 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 534 Rev 581
Line 215... Line 215...
215
        :
215
        :
216
        :"%eax","%ecx","%edx"
216
        :"%eax","%ecx","%edx"
217
        );
217
        );
218
}
218
}
219
 
219
 
-
 
220
static 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
 
220
extern size_t interrupt_handler_size;
232
extern size_t interrupt_handler_size;
221
extern void interrupt_handlers(void);
233
extern void interrupt_handlers(void);
222
 
234
 
223
#endif
235
#endif