Rev 2198 | Rev 2349 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2198 | Rev 2323 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | #ifndef __ASM_H__ |
- | |
30 | #define __ASM_H__ |
- | |
31 | 29 | ||
- | 30 | /** @addtogroup arm32boot |
|
- | 31 | * @{ |
|
- | 32 | */ |
|
- | 33 | /** @file |
|
- | 34 | */ |
|
- | 35 | ||
- | 36 | ||
- | 37 | #ifndef BOOT_arm32_ASM_H |
|
- | 38 | #define BOOT_arm32_ASM_H |
|
- | 39 | ||
- | 40 | ||
- | 41 | /** Copies #cnt bytes from #dst to #src. |
|
- | 42 | * |
|
- | 43 | * @param dst Destination address. |
|
- | 44 | * @param src Source address. |
|
- | 45 | * @param cnt Count of bytes to be copied. |
|
- | 46 | */ |
|
32 | #define memcpy(dst, src, cnt) __builtin_memcpy((dst), (src), (cnt)) |
47 | #define memcpy(dst, src, cnt) __builtin_memcpy((dst), (src), (cnt)) |
33 | 48 | ||
- | 49 | ||
- | 50 | /** Jumps to the kernel. |
|
- | 51 | * |
|
34 | /*void memcpy(void *dst, void *src, int cnt);*/ |
52 | * @param entry Kernel entry point address. |
- | 53 | * @param bootinfo Structure holding information about loaded tasks. |
|
- | 54 | * @param bootinto_size Size of the #bootinfo structure. |
|
- | 55 | */ |
|
35 | void jump_to_kernel(void *entry, void *bootinfo, unsigned int bootinfo_size) __attribute__((noreturn)); |
56 | void jump_to_kernel(void *entry, void *bootinfo, unsigned int bootinfo_size) __attribute__((noreturn)); |
36 | 57 | ||
- | 58 | ||
37 | #endif |
59 | #endif |
- | 60 | ||
- | 61 | ||
- | 62 | /** @} |
|
- | 63 | */ |
|
- | 64 |