Changeset f2ea5d8 in mainline for boot/arch/sparc64/loader/asm.h


Ignore:
Timestamp:
2006-11-17T20:21:25Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f18cc64
Parents:
282f2c9c
Message:

sparc64 code to support physical memory that starts on non-zero addresses.
Still needs to be tested on systems with such setup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/sparc64/loader/asm.h

    r282f2c9c rf2ea5d8  
    11/*
    22 * Copyright (C) 2006 Martin Decky
     3 * Copyright (C) 2006 Jakub Jermar
    34 * All rights reserved.
    45 *
     
    3031#define BOOT_sparc64_ASM_H_
    3132
    32 #define PAGE_SIZE 8192
    33 #define PAGE_WIDTH 13
     33#include "types.h"
     34#include "main.h"
     35
     36#define PAGE_SIZE       8192
     37#define PAGE_WIDTH      13
    3438
    3539#define memcpy(dst, src, cnt)  __builtin_memcpy((dst), (src), (cnt))
    3640
    3741extern void halt(void);
    38 extern void jump_to_kernel(void *entry, int bsp, void *bootinfo, unsigned int bootinfo_size) __attribute__((noreturn));
     42extern void jump_to_kernel(void *entry, uint64_t cfg, bootinfo_t *bootinfo,
     43        unsigned int bootinfo_size) __attribute__((noreturn));
    3944
    4045#endif
Note: See TracChangeset for help on using the changeset viewer.