Changeset 7a9364c in mainline


Ignore:
Timestamp:
2007-09-13T12:50:16Z (17 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c952465d
Parents:
0f78e74
Message:

Pack ski version of HelenOS to image.boot loader

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/ia64/Makefile.inc

    r0f78e74 r7a9364c  
    2727#
    2828
    29 ifeq ($(MACHINE),ski)
     29#ifeq ($(MACHINE),ski)
    3030
    3131
    3232
    33 VMAXLMA_SRC = tools/ia64/vmaxlma.c
    34 build: $(BASE)/kernel.bin
    35 echo Building SKI
     33#VMAXLMA_SRC = tools/ia64/vmaxlma.c
     34#build: $(BASE)/kernel.bin
     35#echo Building SKI
    3636#$(BASE)/kernel.bin: $(KERNELDIR)/kernel.bin vmaxlma
    3737#       cp $(KERNELDIR)/kernel.bin $(BASE)/kernel.bin
     
    4343
    4444
    45 else
     45#else
    4646
    4747
     
    6262
    6363
    64 endif
     64#endif
  • boot/arch/ia64/loader/Makefile

    r0f78e74 r7a9364c  
    8080COMPONENTS = \
    8181        $(KERNELDIR)/kernel.bin \
    82        
    83 #       $(USPACEDIR)/srv/ns/ns \
    84 #       $(USPACEDIR)/srv/fb/fb \
    85 #       $(USPACEDIR)/srv/kbd/kbd \
    86 #       $(USPACEDIR)/srv/console/console \
    87 #       $(USPACEDIR)/app/init/init \
    88 #       $(USPACEDIR)/app/tetris/tetris \
    89 #       $(USPACEDIR)/app/tester/tester \
    90 #       $(USPACEDIR)/app/klog/klog
     82        $(USPACEDIR)/srv/ns/ns \
     83        $(USPACEDIR)/srv/fb/fb \
     84        $(USPACEDIR)/srv/kbd/kbd \
     85        $(USPACEDIR)/srv/console/console \
     86        $(USPACEDIR)/app/init/init \
     87        $(USPACEDIR)/app/tetris/tetris \
     88        $(USPACEDIR)/app/tester/tester \
     89        $(USPACEDIR)/app/klog/klog
     90
    9191
    9292OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
  • boot/arch/ia64/loader/asm.S

    r0f78e74 r7a9364c  
    3232.text
    3333
    34 .global halt
    35 .global memcpy
    3634.global jump_to_kernel
    37 
    38 halt:
    39        
    40 memcpy:
    4135
    4236jump_to_kernel:
  • boot/arch/ia64/loader/boot.S

    r0f78e74 r7a9364c  
    3737        mov ar.rsc = r0
    3838#       movl r8 = (VRN_KERNEL << VRN_SHIFT) ;;
    39         movl r1 = 0x100000
     39        movl r1 = 0x4400000
    4040        movl r8 = initial_stack ;;
    4141        mov ar.bspstore = r8
  • kernel/arch/ia64/Makefile.inc

    r0f78e74 r7a9364c  
    8888        ARCH_SOURCES += arch/$(ARCH)/src/ski/ski.c
    8989        DEFS += -DSKI
    90         BFD = elf64-ia64-little
     90#       BFD = elf64-ia64-little
     91        BFD = binary
    9192endif
    9293
  • kernel/arch/ia64/src/ia64.c

    r0f78e74 r7a9364c  
    6262        /* Setup usermode init tasks. */
    6363
    64 #ifdef I460GX
     64//#ifdef I460GX
    6565        int i;
    6666        init.cnt = bootinfo->taskmap.count;
     
    7070            init.tasks[i].size = bootinfo->taskmap.tasks[i].size;
    7171        }
     72/*
    7273#else   
    7374        init.cnt = 8;
     
    8889        init.tasks[7].addr = INIT0_ADDRESS + 0x1c00000;
    8990        init.tasks[7].size = INIT0_SIZE;
    90 #endif
     91#endif*/
    9192}
    9293
  • kernel/arch/ia64/src/start.S

    r0f78e74 r7a9364c  
    108108
    109109        # initialize gp (Global Pointer) register
    110         mov r20 = r1 ;;
     110        movl r20 = (VRN_KERNEL << VRN_SHIFT);;
     111        or r20 = r20,r1;;
    111112        movl r1 = _hardcoded_load_address
    112 
     113       
    113114        /*
    114115         * Initialize hardcoded_* variables.
Note: See TracChangeset for help on using the changeset viewer.