Subversion Repositories HelenOS

Rev

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

Rev 2128 Rev 2465
Line 1... Line 1...
1
/*
1
/*
2
 * Copyright (c) 2005 Jakub Jermar
2
 * Copyright (c) 2007 Michal Kebrt
3
 * All rights reserved.
3
 * All rights reserved.
4
 *
4
 *
5
 * Redistribution and use in source and binary forms, with or without
5
 * Redistribution and use in source and binary forms, with or without
6
 * modification, are permitted provided that the following conditions
6
 * modification, are permitted provided that the following conditions
7
 * are met:
7
 * are met:
Line 27... Line 27...
27
 */
27
 */
28
 
28
 
29
/** @addtogroup libcarm32  
29
/** @addtogroup libcarm32  
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
-
 
33
 *  @brief Function address conversion.
33
 */
34
 */
34
 
35
 
35
#ifndef LIBC_arm32_FADDR_H_
36
#ifndef LIBC_arm32_FADDR_H_
36
#define LIBC_arm32_FADDR_H_
37
#define LIBC_arm32_FADDR_H_
37
 
38
 
38
#include <libarch/types.h>
39
#include <libarch/types.h>
39
 
40
 
40
/**
-
 
41
 *
-
 
42
 * Calculate absolute address of function
41
/** Calculate absolute address of function referenced by fptr pointer.
43
 * referenced by fptr pointer.
-
 
44
 *
42
 *
45
 * @param f Function pointer.
43
 * @param f Function pointer.
46
 *
-
 
47
 */
44
 */
48
#define FADDR(f)     (f)
45
#define FADDR(f)     (f)
49
 
46
 
50
#endif
47
#endif
51
 
48