Changeset 2a0047fc in mainline


Ignore:
Timestamp:
2005-05-02T19:49:46Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2217ac3
Parents:
30ef8ce
Message:

More IA-64 work.

Location:
arch/ia64
Files:
3 added
6 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/Makefile.inc

    r30ef8ce r2a0047fc  
    1717arch_sources= \
    1818        arch/start.S \
    19         arch/fake.s
     19        arch/fake.s \
     20        arch/putchar.c \
     21        arch/ia64.c
  • arch/ia64/_link.ld

    r30ef8ce r2a0047fc  
    33
    44SECTIONS {
    5     .image 0x8000000000000000: AT (0x8000000000000000) {
     5    .image 0x0000000000001000: AT (0x0000000000001000) {
    66            *(.text .stub .text.* .gnu.linkonce.t.*)
    77            *(.interp)
  • arch/ia64/boot/_link.ld

    r30ef8ce r2a0047fc  
    33
    44SECTIONS {
    5     .image 0xf000000000000000: AT (0xf000000000000000) {
     5    .image 0x0000000000000000: AT (0x0000000000000000) {
    66            *(.text .stub .text.* .gnu.linkonce.t.*)
    77            *(.interp)
  • arch/ia64/boot/boot.s

    r30ef8ce r2a0047fc  
    3131.global start
    3232start:
    33     brl -0x7000000000000000
     33    brl 0x0000000001000000
  • arch/ia64/src/fake.s

    r30ef8ce r2a0047fc  
    5151.global memsetb
    5252.global panic
    53 .global putchar
    5453
    5554before_thread_runs:
     
    7574memsetb:
    7675panic:
    77 putchar:
    78         brl 0x0
     76        br.ret.sptk.many rp
    7977
  • arch/ia64/src/start.S

    r30ef8ce r2a0047fc  
    2727#
    2828
     29#include <arch/ski/ski.h>
     30
    2931.text
    3032
     
    3234
    3335kernel_image_start:
    34         brl 0x0
     36        # initialize gp (Global Pointer) register
     37        mov r1=0x1000
     38
     39        # initialize Ski console using SSC (Simulator System Sall)
     40        mov r15=SKI_CONSOLE_INIT
     41        break 0x80000
     42
     430:
     44        mov r15=SKI_CONSOLE_PUTC
     45        mov r32='.'
     46        break 0x80000
     47
     48        br 0b
Note: See TracChangeset for help on using the changeset viewer.