OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [sysdep/] [powerpc/] [descriptor.h] - Blame information for rev 764

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 764 jeremybenn
// Given a function pointer, return the code address.
2
 
3
#ifdef _CALL_AIX
4
// The function descriptor is actually multiple words,
5
// but we don't care about anything except the first.
6
# define UNWRAP_FUNCTION_DESCRIPTOR(X)  (*(void **)(X))
7
#else
8
# define UNWRAP_FUNCTION_DESCRIPTOR(X)  (X)
9
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.