Changeset 63cda71 in mainline for kernel


Ignore:
Timestamp:
2006-07-13T14:58:57Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
94d614e
Parents:
eda7bf81
Message:

Fix ofw_memmap() in boot infrastructure.
The cell size is 32-bit and not equal sizeof(ofw_arg_t).
Define architecture dependant #address-cells and #size-cells for cases
the respective properties are missing in the OpenFirmware device tree.
The algorithm now works both for ppc32 and sparc64.

Add memmap_t, screen_t and keyboard_t to sparc64 bootinfo structure.
Be more verbose during sparc64 boot.

Move ALIGN_UP to generic part of boot/.

Change header guards in several places so that they don't contain double underscore.

Location:
kernel/arch/sparc64
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/register.h

    reda7bf81 r63cda71  
    3636#define KERN_sparc64_REGISTER_H_
    3737
    38 #ifdef __ASM__
    39 #define PSTATE_IE_BIT   2
    40 #define PSTATE_AM_BIT   8
    41 #else
    42 
     38#include <arch/regdef.h>
    4339#include <arch/types.h>
    4440
     
    112108#endif
    113109
    114 #endif
    115 
    116110/** @}
    117111 */
  • kernel/arch/sparc64/src/asm.S

    reda7bf81 r63cda71  
    2828
    2929#include <arch/stack.h>
    30 #include <arch/register.h>
     30#include <arch/regdef.h>
    3131
    3232.text
  • kernel/arch/sparc64/src/start.S

    reda7bf81 r63cda71  
    2828
    2929#include <arch/boot/boot.h>
    30 #include <arch/register.h>
     30#include <arch/regdef.h>
    3131
    3232.register %g2, #scratch
     
    3838
    3939/*
    40  * Here is where the kernel is passed control.
     40 * Here is where the kernel is passed control
     41 * from the boot loader.
    4142 */
    4243
Note: See TracChangeset for help on using the changeset viewer.