Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset e0cb57b in mainline


Ignore:
Timestamp:
2010-02-20T12:18:55Z (12 years ago)
Author:
Pavel Rimsky <pavel@…>
Branches:
lfn, master
Children:
8c2214e
Parents:
cf843906
Message:

MH cleanup

Location:
kernel/arch/sparc64
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/mm/sun4v/frame.h

    rcf843906 re0cb57b  
    6868typedef union frame_address frame_address_t;
    6969
    70 extern uintptr_t last_frame;
    71 //MH
    72 //extern uintptr_t end_of_identity;
    73 
    7470extern void frame_arch_init(void);
    7571#define physmem_print()
  • kernel/arch/sparc64/src/cpu/sun4v/cpu.c

    rcf843906 re0cb57b  
    5151        __hypercall_fast_ret1(0, 0, 0, 0, 0, CPU_MYID, &myid);
    5252
    53         //MH
    54         //CPU->arch.id = myid;
     53        CPU->arch.id = myid;
    5554
    5655        md_node_t node = md_get_root();
  • kernel/arch/sparc64/src/mm/sun4v/frame.c

    rcf843906 re0cb57b  
    4141#include <macros.h>
    4242
    43 uintptr_t last_frame = NULL;
    44 
    4543/** Create memory zones according to information stored in bootinfo.
    4644 *
     
    6866                            SIZE2FRAMES(ALIGN_DOWN(size, FRAME_SIZE)),
    6967                            confdata, 0);
    70                         last_frame = max(last_frame, start + ALIGN_UP(size,
    71                             FRAME_SIZE));
    7268                }
    7369
     
    8076                frame_mark_unavailable(ADDR2PFN(KA2PA(PFN2ADDR(0))), 1);
    8177        }
    82 
    83 //MH
    84 //      end_of_identity = PA2KA(last_frame);
    8578}
    8679
  • kernel/arch/sparc64/src/sun4v/sparc64.c

    rcf843906 re0cb57b  
    5050#include <ddi/irq.h>
    5151#include <string.h>
    52 
    53 //MH
    5452#include <arch/drivers/niagara.h>
    5553
  • kernel/arch/sparc64/src/trap/exception.c

    rcf843906 re0cb57b  
    162162        fault_if_from_uspace(istate, "%s.", __func__);
    163163        dump_istate(istate);
    164 //MH
    165 //      dump_sfsr_and_sfar();
     164        describe_dmmu_fault();
    166165        panic("%s.", __func__);
    167166}
Note: See TracChangeset for help on using the changeset viewer.