Changes in / [40cb845e:26b50cb] in mainline
- Location:
- uspace
- Files:
-
- 11 deleted
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/Makefile.build
r40cb845e r26b50cb 49 49 fault/fault1.c \ 50 50 fault/fault2.c \ 51 fault/fault3.c \52 51 vfs/vfs1.c \ 53 52 ipc/ping_pong.c \ -
uspace/app/tester/tester.c
r40cb845e r26b50cb 56 56 #include "fault/fault1.def" 57 57 #include "fault/fault2.def" 58 #include "fault/fault3.def"59 58 #include "vfs/vfs1.def" 60 59 #include "ipc/ping_pong.def" -
uspace/app/tester/tester.h
r40cb845e r26b50cb 73 73 extern char *test_fault1(void); 74 74 extern char *test_fault2(void); 75 extern char *test_fault3(void);76 75 extern char *test_vfs1(void); 77 76 extern char *test_ping_pong(void); -
uspace/lib/libc/Makefile.build
r40cb845e r26b50cb 87 87 generic/udebug.c \ 88 88 generic/vfs/vfs.c \ 89 generic/vfs/canonify.c \ 90 generic/stacktrace.c 89 generic/vfs/canonify.c 91 90 92 91 ARCH_SOURCES += \ -
uspace/lib/libc/arch/amd64/Makefile.inc
r40cb845e r26b50cb 36 36 ARCH_SOURCES += arch/$(UARCH)/src/syscall.S \ 37 37 arch/$(UARCH)/src/fibril.S \ 38 arch/$(UARCH)/src/tls.c \ 39 arch/$(UARCH)/src/stacktrace.S 38 arch/$(UARCH)/src/tls.c 40 39 41 GCC_CFLAGS += -fno-omit-frame-pointer42 40 LFLAGS += -N 43 41 -
uspace/lib/libc/arch/amd64/include/fibril.h
r40cb845e r26b50cb 44 44 #define SP_DELTA 16 45 45 46 #define context_set(c, _pc, stack, size, ptls) \47 do { \48 (c)->pc = (sysarg_t) (_pc); \49 (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \50 (c)->tls = (sysarg_t) (ptls); \51 (c)->rbp = 0; \52 } while (0)53 54 46 /* We include only registers that must be preserved 55 47 * during function call -
uspace/lib/libc/arch/amd64/src/entry.s
r40cb845e r26b50cb 38 38 # 39 39 __entry: 40 #41 # Create the first stack frame.42 #43 pushq $044 mov %rsp, %rbp45 46 40 # %rdi was deliberately chosen as the first argument is also in %rdi 47 41 # Pass PCB pointer to __main (no operation) -
uspace/lib/libc/arch/amd64/src/thread_entry.s
r40cb845e r26b50cb 36 36 __thread_entry: 37 37 # 38 # Create the first stack frame.39 #40 pushq $041 movq %rsp, %rbp42 43 #44 38 # RAX contains address of uarg 45 39 # -
uspace/lib/libc/arch/arm32/Makefile.inc
r40cb845e r26b50cb 37 37 arch/$(UARCH)/src/fibril.S \ 38 38 arch/$(UARCH)/src/tls.c \ 39 arch/$(UARCH)/src/eabi.S \ 40 arch/$(UARCH)/src/stacktrace.S 39 arch/$(UARCH)/src/eabi.S 41 40 42 41 GCC_CFLAGS += -ffixed-r9 -mtp=soft -
uspace/lib/libc/arch/ia32/Makefile.inc
r40cb845e r26b50cb 37 37 arch/$(UARCH)/src/fibril.S \ 38 38 arch/$(UARCH)/src/tls.c \ 39 arch/$(UARCH)/src/setjmp.S \ 40 arch/$(UARCH)/src/stacktrace.S 39 arch/$(UARCH)/src/setjmp.S 41 40 42 41 GCC_CFLAGS += -march=pentium -
uspace/lib/libc/arch/ia32/include/fibril.h
r40cb845e r26b50cb 44 44 #define SP_DELTA (12) 45 45 46 #define context_set(c, _pc, stack, size, ptls) \47 do { \48 (c)->pc = (sysarg_t) (_pc); \49 (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \50 (c)->tls = (sysarg_t) (ptls); \51 (c)->ebp = 0; \52 } while (0)53 54 46 /* We include only registers that must be preserved 55 47 * during function call -
uspace/lib/libc/arch/ia32/src/entry.s
r40cb845e r26b50cb 55 55 movl $__syscall_fast, (%eax) 56 56 0: 57 #58 # Create the first stack frame.59 #60 pushl $061 movl %esp, %ebp62 57 63 58 # Pass the PCB pointer to __main as the first argument -
uspace/lib/libc/arch/ia32/src/thread_entry.s
r40cb845e r26b50cb 42 42 43 43 # 44 # Create the first stack frame.45 #46 pushl $047 mov %esp, %ebp48 49 #50 44 # EAX contains address of uarg. 51 45 # -
uspace/lib/libc/arch/ia64/Makefile.inc
r40cb845e r26b50cb 36 36 arch/$(UARCH)/src/fibril.S \ 37 37 arch/$(UARCH)/src/tls.c \ 38 arch/$(UARCH)/src/ddi.c \ 39 arch/$(UARCH)/src/stacktrace.S 38 arch/$(UARCH)/src/ddi.c 40 39 41 40 GCC_CFLAGS += -fno-unwind-tables -
uspace/lib/libc/arch/mips32/Makefile.inc
r40cb845e r26b50cb 35 35 ARCH_SOURCES += arch/$(UARCH)/src/syscall.c \ 36 36 arch/$(UARCH)/src/fibril.S \ 37 arch/$(UARCH)/src/tls.c \ 38 arch/$(UARCH)/src/stacktrace.S 37 arch/$(UARCH)/src/tls.c 39 38 40 39 GCC_CFLAGS += -mips3 -
uspace/lib/libc/arch/ppc32/Makefile.inc
r40cb845e r26b50cb 35 35 ARCH_SOURCES += arch/$(UARCH)/src/syscall.c \ 36 36 arch/$(UARCH)/src/fibril.S \ 37 arch/$(UARCH)/src/tls.c \ 38 arch/$(UARCH)/src/stacktrace.S 37 arch/$(UARCH)/src/tls.c 39 38 40 39 GCC_CFLAGS += -mcpu=powerpc -msoft-float -m32 -
uspace/lib/libc/arch/sparc64/Makefile.inc
r40cb845e r26b50cb 34 34 35 35 ARCH_SOURCES += arch/$(UARCH)/src/fibril.S \ 36 arch/$(UARCH)/src/tls.c \ 37 arch/$(UARCH)/src/stacktrace.S 36 arch/$(UARCH)/src/tls.c 38 37 39 38 GCC_CFLAGS += -mcpu=ultrasparc -m64 -
uspace/lib/libc/arch/sparc64/include/fibril.h
r40cb845e r26b50cb 46 46 #endif 47 47 48 #define context_set(c, _pc, stack, size, ptls) \ 49 do { \ 50 (c)->pc = ((uintptr_t) _pc) - 8; \ 51 (c)->sp = ((uintptr_t) stack) + ALIGN_UP((size), \ 52 STACK_ALIGNMENT) - (STACK_BIAS + SP_DELTA); \ 53 (c)->fp = -STACK_BIAS; \ 54 (c)->tp = ptls; \ 55 } while (0) 48 #define context_set(c, _pc, stack, size, ptls) \ 49 (c)->pc = ((uintptr_t) _pc) - 8; \ 50 (c)->sp = ((uintptr_t) stack) + ALIGN_UP((size), \ 51 STACK_ALIGNMENT) - (STACK_BIAS + SP_DELTA); \ 52 (c)->fp = -STACK_BIAS; \ 53 (c)->tp = ptls 56 54 57 55 /* -
uspace/lib/libc/arch/sparc64/src/entry.s
r40cb845e r26b50cb 39 39 # 40 40 __entry: 41 #42 # Create the first stack frame.43 #44 save %sp, -176, %sp45 flushw46 add %g0, -0x7ff, %fp47 48 41 # Pass pcb_ptr as the first argument to __main() 49 mov % i1, %o042 mov %o1, %o0 50 43 sethi %hi(_gp), %l7 51 44 call __main -
uspace/lib/libc/arch/sparc64/src/thread_entry.s
r40cb845e r26b50cb 35 35 # 36 36 __thread_entry: 37 #38 # Create the first stack frame.39 #40 save %sp, -176, %sp41 flushw42 add %g0, -0x7ff, %fp43 44 37 sethi %hi(_gp), %l7 45 38 call __thread_main ! %o0 contains address of uarg -
uspace/lib/libc/include/stdlib.h
r40cb845e r26b50cb 38 38 #include <unistd.h> 39 39 #include <malloc.h> 40 #include <stacktrace.h>41 40 42 #define abort() \ 43 do { \ 44 stack_trace(); \ 45 _exit(1); \ 46 } while (0) 47 41 #define abort() _exit(1) 48 42 #define exit(status) _exit((status)) 49 43
Note:
See TracChangeset
for help on using the changeset viewer.