Subversion Repositories HelenOS

Rev

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

Rev 2468 Rev 3922
Line 30... Line 30...
30
/** @addtogroup arm32boot
30
/** @addtogroup arm32boot
31
 * @{
31
 * @{
32
 */
32
 */
33
/** @file
33
/** @file
34
 *  @brief Boot related declarations.
34
 *  @brief Boot related declarations.
35
 */
35
 */
36
 
36
 
37
 
37
 
38
#ifndef BOOT_arm32_MAIN_H
38
#ifndef BOOT_arm32_MAIN_H
39
#define BOOT_arm32_MAIN_H
39
#define BOOT_arm32_MAIN_H
40
 
40
 
41
 
41
 
42
/** Aligns to the nearest higher address.
-
 
43
 *
-
 
44
 * @param addr  Address or number to be aligned.
-
 
45
 * @param align Size of alignment, must be power of 2.
-
 
46
 */
-
 
47
#define ALIGN_UP(addr, align) (((addr) + ((align) - 1)) & ~((align) - 1))
-
 
48
 
-
 
49
/** Maximum number of tasks in the #bootinfo_t struct. */
42
/** Maximum number of tasks in the #bootinfo_t struct. */
50
#define TASKMAP_MAX_RECORDS 32
43
#define TASKMAP_MAX_RECORDS 32
51
 
44
 
52
 
45
 
53
/** Struct holding information about single loaded task. */
46
/** Struct holding information about single loaded task. */
Line 72... Line 65...
72
 
65
 
73
#endif
66
#endif
74
 
67
 
75
/** @}
68
/** @}
76
 */
69
 */
77
 
-