Changeset d51db07 in mainline


Ignore:
Timestamp:
2008-06-03T15:06:18Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c89f20
Parents:
82405266
Message:

remove io_init and entry_driver

Location:
uspace/lib/libc/arch
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/arch/amd64/src/entry.s

    r82405266 rd51db07  
    3232
    3333.globl __entry
    34 .globl __entry_driver
    3534
    3635## User-space task entry point
     
    3938__entry:
    4039        call __main
    41         call __io_init
    4240        call main
    4341        call __exit
    44 
    45 __entry_driver:
    46         call __main
    47         call main
    48         call __exit
  • uspace/lib/libc/arch/ia32/include/config.h

    r82405266 rd51db07  
    3737
    3838#define PAGE_WIDTH      12
    39 #define PAGE_SIZE       (1<<PAGE_WIDTH)
     39#define PAGE_SIZE       (1 << PAGE_WIDTH)
    4040#define PAGE_COLOR_BITS 0               /* dummy */
    4141
  • uspace/lib/libc/arch/ia32/src/entry.s

    r82405266 rd51db07  
    3232
    3333.globl __entry
    34 .globl __entry_driver
    3534
    3635## User-space task entry point
     
    4544       
    4645        call __main
    47         call __io_init
    4846        call main
    4947        call __exit
    50        
    51 __entry_driver:
    52         mov %ss, %ax
    53         mov %ax, %ds
    54         mov %ax, %es
    55         mov %ax, %fs
    56         # Do not set %gs, it contains descriptor that can see TLS
    57        
    58         call __main
    59         call main
    60         call __exit
  • uspace/lib/libc/arch/ia32/src/syscall.S

    r82405266 rd51db07  
    5454        popl %ebx
    5555        ret
    56 
  • uspace/lib/libc/arch/ppc32/src/entry.s

    r82405266 rd51db07  
    3232
    3333.globl __entry
    34 .globl __entry_driver
    3534
    3635## User-space task entry point
     
    3938__entry:
    4039        bl __main
    41         bl __io_init
    4240        bl main
    4341        bl __exit
    44 
    45 __entry_driver:
    46         bl __main
    47         bl main
    48         bl __exit
  • uspace/lib/libc/arch/sparc64/src/entry.s

    r82405266 rd51db07  
    3232
    3333.globl __entry
    34 .globl __entry_driver
    3534
    3635## User-space task entry point
     
    4140        call __main
    4241        or %l7, %lo(_gp), %l7
    43         call __io_init
    44         nop
    4542        call main
    4643        nop
    4744        call __exit
    4845        nop
    49 
    50 __entry_driver:
    51         sethi %hi(_gp), %l7
    52         call __main
    53         or %l7, %lo(_gp), %l7
    54         call main
    55         nop
    56         call __exit
    57         nop
Note: See TracChangeset for help on using the changeset viewer.