Rev 2353 | Rev 3922 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2353 | Rev 2409 | ||
---|---|---|---|
Line 46... | Line 46... | ||
46 | * @param cnt Count of bytes to be copied. |
46 | * @param cnt Count of bytes to be copied. |
47 | */ |
47 | */ |
48 | #define memcpy(dst, src, cnt) __builtin_memcpy((dst), (src), (cnt)) |
48 | #define memcpy(dst, src, cnt) __builtin_memcpy((dst), (src), (cnt)) |
49 | 49 | ||
50 | 50 | ||
- | 51 | /** Called when the CPU is switched on. |
|
- | 52 | * |
|
- | 53 | * This function is placed to the 0x0 address where ARM CPU starts execution. |
|
- | 54 | * Jumps to the #bootstrap only. |
|
- | 55 | */ |
|
- | 56 | extern void start(void); |
|
- | 57 | ||
- | 58 | ||
51 | /** Jumps to the kernel entry point. |
59 | /** Jumps to the kernel entry point. |
52 | * |
60 | * |
53 | * @param entry Kernel entry point address. |
61 | * @param entry Kernel entry point address. |
54 | * @param bootinfo Structure holding information about loaded tasks. |
62 | * @param bootinfo Structure holding information about loaded tasks. |
55 | * @param bootinfo_size Size of the bootinfo structure. |
63 | * @param bootinfo_size Size of the bootinfo structure. |
56 | */ |
64 | */ |
57 | void jump_to_kernel(void *entry, void *bootinfo, unsigned int bootinfo_size) __attribute__((noreturn)); |
65 | extern void jump_to_kernel(void *entry, void *bootinfo, unsigned int bootinfo_size) __attribute__((noreturn)); |
58 | 66 | ||
59 | 67 | ||
60 | #endif |
68 | #endif |
61 | 69 | ||
62 | 70 |