Ignore:
File:
1 edited

Legend:

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

    r96e0748d r4872160  
    2727 */
    2828
    29 /** @addtogroup sparc64 
     29/** @addtogroup sparc64
    3030 * @{
    3131 */
    3232/**
    3333 * @file
    34  * @brief       Various sparc64-specific macros.
     34 * @brief Various sparc64-specific macros.
    3535 */
    3636
     
    3838#define KERN_sparc64_ARCH_H_
    3939
    40 #define ASI_AIUP                0x10    /** Access to primary context with user privileges. */
    41 #define ASI_AIUS                0x11    /** Access to secondary context with user privileges. */
    42 #define ASI_NUCLEUS_QUAD_LDD    0x24    /** ASI for 16-byte atomic loads. */
    43 #define ASI_DCACHE_TAG          0x47    /** ASI D-Cache Tag. */
    44 #define ASI_ICBUS_CONFIG                0x4a    /** ASI of the UPA_CONFIG/FIREPLANE_CONFIG register. */
     40#include <arch/boot/boot.h>
    4541
    46 #define NWINDOWS                8       /** Number of register window sets. */
     42#if defined (SUN4U)
     43#include <arch/sun4u/arch.h>
     44#elif defined (SUN4V)
     45#include <arch/sun4v/arch.h>
     46#endif
     47
     48#define ASI_AIUP  0x10  /** Access to primary context with user privileges. */
     49#define ASI_AIUS  0x11  /** Access to secondary context with user privileges. */
     50
     51#define NWINDOWS  8  /** Number of register window sets. */
    4752
    4853#ifndef __ASM__
    4954
    50 extern void arch_pre_main(void);
     55extern void arch_pre_main(bootinfo_t *);
    5156
    5257#endif /* __ASM__ */
Note: See TracChangeset for help on using the changeset viewer.