Changeset d51db07 in mainline
- Timestamp:
- 2008-06-03T15:06:18Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6c89f20
- Parents:
- 82405266
- Location:
- uspace/lib/libc/arch
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/arch/amd64/src/entry.s
r82405266 rd51db07 32 32 33 33 .globl __entry 34 .globl __entry_driver35 34 36 35 ## User-space task entry point … … 39 38 __entry: 40 39 call __main 41 call __io_init42 40 call main 43 41 call __exit 44 45 __entry_driver:46 call __main47 call main48 call __exit -
uspace/lib/libc/arch/ia32/include/config.h
r82405266 rd51db07 37 37 38 38 #define PAGE_WIDTH 12 39 #define PAGE_SIZE (1 <<PAGE_WIDTH)39 #define PAGE_SIZE (1 << PAGE_WIDTH) 40 40 #define PAGE_COLOR_BITS 0 /* dummy */ 41 41 -
uspace/lib/libc/arch/ia32/src/entry.s
r82405266 rd51db07 32 32 33 33 .globl __entry 34 .globl __entry_driver35 34 36 35 ## User-space task entry point … … 45 44 46 45 call __main 47 call __io_init48 46 call main 49 47 call __exit 50 51 __entry_driver:52 mov %ss, %ax53 mov %ax, %ds54 mov %ax, %es55 mov %ax, %fs56 # Do not set %gs, it contains descriptor that can see TLS57 58 call __main59 call main60 call __exit -
uspace/lib/libc/arch/ia32/src/syscall.S
r82405266 rd51db07 54 54 popl %ebx 55 55 ret 56 -
uspace/lib/libc/arch/ppc32/src/entry.s
r82405266 rd51db07 32 32 33 33 .globl __entry 34 .globl __entry_driver35 34 36 35 ## User-space task entry point … … 39 38 __entry: 40 39 bl __main 41 bl __io_init42 40 bl main 43 41 bl __exit 44 45 __entry_driver:46 bl __main47 bl main48 bl __exit -
uspace/lib/libc/arch/sparc64/src/entry.s
r82405266 rd51db07 32 32 33 33 .globl __entry 34 .globl __entry_driver35 34 36 35 ## User-space task entry point … … 41 40 call __main 42 41 or %l7, %lo(_gp), %l7 43 call __io_init44 nop45 42 call main 46 43 nop 47 44 call __exit 48 45 nop 49 50 __entry_driver:51 sethi %hi(_gp), %l752 call __main53 or %l7, %lo(_gp), %l754 call main55 nop56 call __exit57 nop
Note:
See TracChangeset
for help on using the changeset viewer.