Changeset 2b50d7c in mainline for arch/ia64/src


Ignore:
Timestamp:
2005-05-28T20:13:25Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
747a2476
Parents:
87cb9e2
Message:

IA-64 work.
Redefine FRAME_SIZE to "(16*1024)" instead of "2*4096". Note that the latter definition was wrong because of the lack of "()".
Take panic_printf(), cpu_halt() and memsetb() out of fake.s and implement them properly in asm.S.
Move ski_init_console() from arch_post_mm_init() to arch_pre_mm_init().
In start.S, write r0 to ar.bspstore.

Janitorial fixes.
Add count_t type.
Replace several occurrences of int and u32 by count_t or size_t.
Shorten several panic strings.

Location:
arch/ia64/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/src/asm.S

    r87cb9e2 r2b50d7c  
    4343memcopy:
    4444        br _memcopy
     45
     46.global memsetb
     47memsetb:
     48        br _memsetb
     49
     50.global cpu_halt
     51cpu_halt:
     52        br cpu_halt
     53
     54.global panic_printf
     55panic_printf:
     56        {
     57                br.call.sptk.many b0=printf
     58        }
     59        br cpu_halt
  • arch/ia64/src/fake.s

    r87cb9e2 r2b50d7c  
    3535.global arch_late_init
    3636.global cpu_arch_init
    37 .global cpu_halt
    3837.global cpu_identify
    3938.global cpu_print_report
     
    4544.global frame_arch_init
    4645.global map_page_to_frame
    47 .global memsetb
    48 .global panic_printf
    4946
    5047before_thread_runs_arch:
     
    5451arch_late_init:
    5552cpu_arch_init:
    56 cpu_halt:
    5753cpu_identify:
    5854cpu_print_report:
     
    6460frame_arch_init:
    6561map_page_to_frame:
    66 memsetb:
    67 panic_printf:
    6862        br.ret.sptk.many b0
    6963
  • arch/ia64/src/ia64.c

    r87cb9e2 r2b50d7c  
    3232void arch_pre_mm_init(void)
    3333{
     34        ski_init_console();
    3435}
    3536
    3637void arch_post_mm_init(void)
    3738{
    38         ski_init_console();
    3939}
  • arch/ia64/src/start.S

    r87cb9e2 r2b50d7c  
    4141        # initialize register stack
    4242        mov ar.rsc = r0
     43        mov ar.bspstore = r0
    4344        loadrs
    4445
Note: See TracChangeset for help on using the changeset viewer.