Changeset ef0aa999 in mainline


Ignore:
Timestamp:
2005-12-20T23:18:23Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cf4a823
Parents:
e649dfa
Message:

user space init working

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • init/init.c

    re649dfa ref0aa999  
    3333{
    3434        puts("Hello world\n");
     35        while (1) ;
    3536        return 0;
    3637}
  • libc/_link.ld.in

    re649dfa ref0aa999  
    44
    55SECTIONS {
    6  .text 0x00000000 : {
     6 .text 0x00001000 : {
    77 }
    88}
  • libc/arch/ia32/src/entry.s

    re649dfa ref0aa999  
    3737#
    3838__entry:
     39        mov %ss, %ax
     40        mov %ax, %ds
     41        mov %ax, %es
     42        mov %ax, %fs
     43        mov %ax, %gs
    3944       
    4045        call main
  • libc/arch/ia32/src/syscall.c

    re649dfa ref0aa999  
    3434       
    3535        asm volatile (
    36                 "int $0x80\n"
     36                "int $0x30\n"
    3737                : "=a" (ret)
    3838                : "a" (id),
Note: See TracChangeset for help on using the changeset viewer.