Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 2468 | ||
---|---|---|---|
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__ |
29 | #ifndef BOOT_mips32_ASM_H_ |
30 | #define __ASM_H__ |
30 | #define BOOT_mips32_ASM_H_ |
31 | 31 | ||
32 | #define PAGE_SIZE 16384 |
32 | #define PAGE_SIZE 16384 |
33 | #define PAGE_WIDTH 14 |
33 | #define PAGE_WIDTH 14 |
34 | 34 | ||
35 | #define memcpy(dst, src, cnt) __builtin_memcpy((dst), (src), (cnt)) |
35 | #define memcpy(dst, src, cnt) __builtin_memcpy((dst), (src), (cnt)) |
36 | 36 | ||
37 | void jump_to_kernel(void *entry, void *bootinfo, unsigned int bootinfo_size) __attribute__((noreturn)); |
37 | void jump_to_kernel(void *entry, void *bootinfo, unsigned int bootinfo_size) __attribute__((noreturn)); |
38 | 38 | ||
39 | #endif |
39 | #endif |