Subversion Repositories HelenOS

Rev

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

Rev 2356 Rev 2357
Line 28... Line 28...
28
 
28
 
29
/** @addtogroup arm32  
29
/** @addtogroup arm32  
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 *  @brief Included in assembly boot source.
33
 *  @brief Initial kernel start.
34
 */
34
 */
35
 
35
 
36
#ifndef KERN_arm32_ASM_BOOT_H_
36
#ifndef KERN_arm32_ASM_BOOT_H_
37
#define KERN_arm32_ASM_BOOT_H_
37
#define KERN_arm32_ASM_BOOT_H_
38
 
38
 
39
 
39
 
40
/** Size of a temporary stack used for boot process. */
40
/** Size of a temporary stack used for initial kernel start. */
41
#define TEMP_STACK_SIZE 0x100
41
#define TEMP_STACK_SIZE 0x100
42
 
42
 
-
 
43
#ifndef __ASM__
-
 
44
 
-
 
45
/** Kernel entry point.
-
 
46
 *
-
 
47
 * Implemented in assembly. Copies boot_bootinfo (declared as bootinfo in
-
 
48
 * boot/arch/arm32/loader/main.c) to #bootinfo struct. Then jumps to
-
 
49
 * #arch_pre_main and #main_bsp.
-
 
50
 *
-
 
51
 * @param entry          Entry point address (not used).
-
 
52
 * @param boot_bootinfo  Struct holding information about loaded tasks.
-
 
53
 * @param bootinfo_size  Size of the bootinfo structure.
-
 
54
 */
-
 
55
void kernel_image_start(void *entry, void *boot_bootinfo, unsigned int bootinfo_size);
-
 
56
 
-
 
57
 
-
 
58
#endif
-
 
59
 
43
#endif
60
#endif
44
 
61
 
45
/** @}
62
/** @}
46
 */
63
 */