Changes in kernel/arch/sparc64/src/sun4u/start.S [36df4109:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/sun4u/start.S
r36df4109 r9d58539 27 27 # 28 28 29 #include <abi/asmtool.h>30 31 29 #include <arch/arch.h> 32 30 #include <arch/cpu.h> … … 41 39 42 40 #ifdef CONFIG_SMP 43 #include <arch/context_ struct.h>41 #include <arch/context_offset.h> 44 42 #endif 45 43 … … 78 76 */ 79 77 80 SYMBOL(kernel_image_start) 78 .global kernel_image_start 79 kernel_image_start: 81 80 mov BSP_FLAG, %l0 82 81 and %o0, %l0, %l7 ! l7 <= bootstrap processor? … … 292 291 293 292 /* 294 * Call sparc64_pre_main(bootinfo)295 */ 296 call sparc64_pre_main293 * Call arch_pre_main(bootinfo) 294 */ 295 call arch_pre_main 297 296 mov %o1, %o0 298 297 … … 357 356 */ 358 357 set ctx, %g1 359 add %g1, CONTEXT_OFFSET_SP, %g1358 add %g1, OFFSET_SP, %g1 360 359 ldx [%g1], %o6 361 360 … … 397 396 398 397 .align 8 399 SYMBOL(physmem_base) ! copy of the physical memory base address 398 .global physmem_base ! copy of the physical memory base address 399 physmem_base: 400 400 .quad 0 401 401 402 402 /* 403 * The fast_data_access_mmu_miss_data_hi label, the end_of_identity, 404 * kernel_8k_tlb_data_template and tlb_tag_access_context_mask variables 405 * are meant to stay together, aligned on a 32B boundary. 406 */ 407 408 .align 32 403 * The fast_data_access_mmu_miss_data_hi label and the end_of_identity and 404 * kernel_8k_tlb_data_template variables are meant to stay together, 405 * aligned on 16B boundary. 406 */ 407 .global fast_data_access_mmu_miss_data_hi 408 .global end_of_identity 409 .global kernel_8k_tlb_data_template 410 411 .align 16 409 412 /* 410 413 * This label is used by the fast_data_access_MMU_miss trap handler. 411 414 */ 412 SYMBOL(fast_data_access_mmu_miss_data_hi) 415 fast_data_access_mmu_miss_data_hi: 413 416 /* 414 417 * This variable is used by the fast_data_access_MMU_miss trap handler. … … 416 419 * memory. 417 420 */ 418 SYMBOL(end_of_identity) 421 end_of_identity: 419 422 .quad -1 420 423 /* … … 423 426 * physical memory. 424 427 */ 425 SYMBOL(kernel_8k_tlb_data_template) 428 kernel_8k_tlb_data_template: 426 429 #ifdef CONFIG_VIRT_IDX_DCACHE 427 430 .quad ((1 << TTE_V_SHIFT) | (PAGESIZE_8K << TTE_SIZE_SHIFT) | TTE_CP | \ … … 432 435 #endif /* CONFIG_VIRT_IDX_DCACHE */ 433 436 434 /*435 * This variable is used by the fast_data_access_MMU_miss trap handler.436 * It allows us to save one precious instruction slot of this handler.437 */438 SYMBOL(tlb_tag_access_context_mask)439 .quad TLB_TAG_ACCESS_CONTEXT_MASK440
Note:
See TracChangeset
for help on using the changeset viewer.