Changeset aa85487 in mainline for kernel/arch/sparc64/src/cpu/sun4v/cpu.c
- Timestamp:
- 2010-03-07T15:11:56Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aadf01e
- Parents:
- 2e99277 (diff), 137691a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/cpu/sun4v/cpu.c
r2e99277 raa85487 1 1 /* 2 2 * Copyright (c) 2005 Jakub Jermar 3 * Copyright (c) 2009 Pavel Rimsky 3 4 * All rights reserved. 4 5 * … … 40 41 #include <arch/sun4v/md.h> 41 42 #include <arch/sun4v/hypercall.h> 42 43 //#include <arch/trap/sun4v/interrupt.h> 43 #include <arch/trap/sun4v/interrupt.h> 44 44 45 45 /** Perform sparc64 specific initialization of the processor structure for the … … 51 51 __hypercall_fast_ret1(0, 0, 0, 0, 0, CPU_MYID, &myid); 52 52 53 //MH 54 //CPU->arch.id = myid; 53 CPU->arch.id = myid; 55 54 56 55 md_node_t node = md_get_root(); … … 74 73 75 74 tick_init(); 76 //MH - uncomment later 77 //sun4v_ipi_init();75 76 sun4v_ipi_init(); 78 77 } 79 78 … … 96 95 { 97 96 printf("cpu%d: Niagara (%d MHz)\n", m->id, 98 97 m->arch.clock_frequency / 1000000); 99 98 } 100 99
Note:
See TracChangeset
for help on using the changeset viewer.