Rev 1899 | Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1899 | Rev 1978 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | /* |
1 | /* |
| 2 | * Copyright (C) 2006 Martin Decky |
2 | * Copyright (C) 2006 Martin Decky |
| - | 3 | * Copyright (C) 2006 Jakub Jermar |
|
| 3 | * All rights reserved. |
4 | * All rights reserved. |
| 4 | * |
5 | * |
| 5 | * Redistribution and use in source and binary forms, with or without |
6 | * Redistribution and use in source and binary forms, with or without |
| 6 | * modification, are permitted provided that the following conditions |
7 | * modification, are permitted provided that the following conditions |
| 7 | * are met: |
8 | * are met: |
| Line 27... | Line 28... | ||
| 27 | */ |
28 | */ |
| 28 | 29 | ||
| 29 | #ifndef BOOT_sparc64_ASM_H_ |
30 | #ifndef BOOT_sparc64_ASM_H_ |
| 30 | #define BOOT_sparc64_ASM_H_ |
31 | #define BOOT_sparc64_ASM_H_ |
| 31 | 32 | ||
| - | 33 | #include "types.h" |
|
| - | 34 | #include "main.h" |
|
| - | 35 | ||
| 32 | #define PAGE_SIZE 8192 |
36 | #define PAGE_SIZE 8192 |
| 33 | #define PAGE_WIDTH 13 |
37 | #define PAGE_WIDTH 13 |
| 34 | 38 | ||
| 35 | #define memcpy(dst, src, cnt) __builtin_memcpy((dst), (src), (cnt)) |
39 | #define memcpy(dst, src, cnt) __builtin_memcpy((dst), (src), (cnt)) |
| 36 | 40 | ||
| 37 | extern void halt(void); |
41 | extern void halt(void); |
| 38 | extern void jump_to_kernel(void *entry, int bsp, void *bootinfo, unsigned int bootinfo_size) __attribute__((noreturn)); |
42 | extern void jump_to_kernel(void *entry, uint64_t cfg, bootinfo_t *bootinfo, |
| - | 43 | unsigned int bootinfo_size) __attribute__((noreturn)); |
|
| 39 | 44 | ||
| 40 | #endif |
45 | #endif |