Subversion Repositories HelenOS

Rev

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

Rev 2198 Rev 2349
Line 56... Line 56...
56
		*(.reginfo);
56
		*(.reginfo);
57
 
57
 
58
		. = ALIGN(16384);
58
		. = ALIGN(16384);
59
		*(PT);			/* page table */" > "$LINK"
59
		*(PT);			/* page table */" > "$LINK"
60
 
60
 
-
 
61
echo '
-
 
62
/** @addtogroup arm32boot
-
 
63
 * @{
-
 
64
 */
-
 
65
/** @file
-
 
66
 *  @brief Components (kernel + tasks) related declarations.
-
 
67
 *
-
 
68
 *  Generated by the <code>pack</code> script. This script packs all the
-
 
69
 *  components (kernel + tasks) into one image (image.boot) and generates
-
 
70
 *  a code that initializes an array of #component_t structs.
-
 
71
 */
-
 
72
 
61
echo '#ifndef ___COMPONENTS_H__
73
#ifndef ___COMPONENTS_H__
62
#define ___COMPONENTS_H__
74
#define ___COMPONENTS_H__
63
 
75
 
-
 
76
/** Holds information about components packed to one image (kernel + tasks). */
64
typedef struct {
77
typedef struct {
-
 
78
	/** Name. */
65
	char *name;
79
	char *name;
66
	
80
	/** Start address. */
67
	void *start;
81
	void *start;
-
 
82
	/** End address. */
68
	void *end;
83
	void *end;
-
 
84
	/** Size (in bytes). */
69
	unsigned int size;
85
	unsigned int size;
70
} component_t;' > "$HEADER"
86
} component_t;
-
 
87
 
-
 
88
/** @}
-
 
89
*/
-
 
90
 
-
 
91
' > "$HEADER"
71
 
92
 
72
COUNT="0"
93
COUNT="0"
73
DATA=""
94
DATA=""
74
 
95
 
75
for TASK in "$@" ; do
96
for TASK in "$@" ; do
Line 111... Line 132...
111
{
132
{
112
$DATA
133
$DATA
113
}
134
}
114
 
135
 
115
#endif
136
#endif
-
 
137
 
116
" >> "$HEADER"
138
" >> "$HEADER"