Changeset 66e08d02 in mainline


Ignore:
Timestamp:
2009-11-03T19:53:19Z (15 years ago)
Author:
Pavel Rimsky <pavel@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b4655da
Parents:
f238e86
Message:

Output in kernel now possible, init phase passes to cpu_init.

Files:
4 added
5 edited

Legend:

Unmodified
Added
Removed
  • defaults/sparc64/sun4v/Makefile.config

    rf238e86 r66e08d02  
    66
    77CONFIG_RD_EXTERNAL = n
     8
     9CONFIG_LOG = y
  • kernel/arch/sparc64/Makefile.inc

    rf238e86 r66e08d02  
    9292        arch/$(KARCH)/src/drivers/fhc.c
    9393
     94ifeq ($(USARCH),sun4v)
     95        ARCH_SOURCES += \
     96                arch/$(KARCH)/src/drivers/niagara.c
     97endif
     98
    9499ifeq ($(CONFIG_FB),y)
    95100        ARCH_SOURCES += \
  • kernel/arch/sparc64/include/trap/sun4v/mmu.h

    rf238e86 r66e08d02  
    7979.macro FAST_DATA_ACCESS_MMU_MISS_HANDLER tl
    8080//MH
     81        save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp
    8182        set 0x8000, %o0
    8283        set 0x0, %o1
     
    8485        set 0x3, %o3
    8586        ta 0x83
     87        restore %g0, 0, %g0
    8688        retry
    8789#if 0
  • kernel/arch/sparc64/src/mm/sun4v/tlb.c

    rf238e86 r66e08d02  
    7575         * Invalidate all non-locked DTLB and ITLB entries.
    7676         */
    77         tlb_invalidate_all();
     77        //MH
     78        //tlb_invalidate_all();
    7879
    7980        /*
    8081         * Clear both SFSRs.
    8182         */
    82         dtlb_sfsr_write(0);
    83         itlb_sfsr_write(0);
     83        //MH
     84        //dtlb_sfsr_write(0);
     85        //itlb_sfsr_write(0);
    8486}
    8587
  • kernel/generic/src/main/version.c

    rf238e86 r66e08d02  
    5858void version_print(void)
    5959{
    60         asm volatile ("sethi 0x41923, %g0");
    6160        printf("%s, release %s (%s)%s\nBuilt%s for %s\n%s\n",
    6261                project, release, name, revision, timestamp, arch, copyright);
Note: See TracChangeset for help on using the changeset viewer.