Changeset d5a89a3 in mainline for uspace/lib/c/arch/mips32/include/libarch
- Timestamp:
- 2019-02-11T22:31:04Z (6 years ago)
- Children:
- aaf9789c
- Parents:
- e3272101 (diff), 4805495 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- uspace/lib/c/arch/mips32/include/libarch
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/mips32/include/libarch/config.h
re3272101 rd5a89a3 33 33 */ 34 34 35 #ifndef LIBC_mips32_CONFIG_H_36 #define LIBC_mips32_CONFIG_H_35 #ifndef _LIBC_mips32_CONFIG_H_ 36 #define _LIBC_mips32_CONFIG_H_ 37 37 38 38 #define PAGE_WIDTH 14 -
uspace/lib/c/arch/mips32/include/libarch/ddi.h
re3272101 rd5a89a3 31 31 */ 32 32 33 #ifndef LIBC_mips32_DDI_H_34 #define LIBC_mips32_DDI_H_33 #ifndef _LIBC_mips32_DDI_H_ 34 #define _LIBC_mips32_DDI_H_ 35 35 36 36 #include <ddi.h> -
uspace/lib/c/arch/mips32/include/libarch/elf_linux.h
re3272101 rd5a89a3 33 33 */ 34 34 35 #ifndef LIBC_mips32_ELF_LINUX_H_36 #define LIBC_mips32_ELF_LINUX_H_35 #ifndef _LIBC_mips32_ELF_LINUX_H_ 36 #define _LIBC_mips32_ELF_LINUX_H_ 37 37 38 38 #include <libarch/istate.h> -
uspace/lib/c/arch/mips32/include/libarch/faddr.h
re3272101 rd5a89a3 33 33 */ 34 34 35 #ifndef LIBC_mips32_FADDR_H_36 #define LIBC_mips32_FADDR_H_35 #ifndef _LIBC_mips32_FADDR_H_ 36 #define _LIBC_mips32_FADDR_H_ 37 37 38 38 #include <types/common.h> -
uspace/lib/c/arch/mips32/include/libarch/fibril.h
re3272101 rd5a89a3 34 34 */ 35 35 36 #ifndef LIBC_mips32_FIBRIL_H_37 #define LIBC_mips32_FIBRIL_H_36 #ifndef _LIBC_mips32_FIBRIL_H_ 37 #define _LIBC_mips32_FIBRIL_H_ 38 38 39 39 #include <stdint.h> -
uspace/lib/c/arch/mips32/include/libarch/fibril_context.h
re3272101 rd5a89a3 27 27 */ 28 28 29 #ifndef LIBC_ARCH_FIBRIL_CONTEXT_H_30 #define LIBC_ARCH_FIBRIL_CONTEXT_H_29 #ifndef _LIBC_ARCH_FIBRIL_CONTEXT_H_ 30 #define _LIBC_ARCH_FIBRIL_CONTEXT_H_ 31 31 32 #define CONTEXT_OFFSET_SP 0x0033 #define CONTEXT_OFFSET_PC 0x0434 #define CONTEXT_OFFSET_S0 0x0835 #define CONTEXT_OFFSET_S1 0x0c36 #define CONTEXT_OFFSET_S2 0x1037 #define CONTEXT_OFFSET_S3 0x1438 #define CONTEXT_OFFSET_S4 0x1839 #define CONTEXT_OFFSET_S5 0x1c40 #define CONTEXT_OFFSET_S6 0x2041 #define CONTEXT_OFFSET_S7 0x2442 #define CONTEXT_OFFSET_S8 0x2843 #define CONTEXT_OFFSET_GP 0x2c44 #define CONTEXT_OFFSET_TLS 0x3045 #define CONTEXT_OFFSET_F20 0x3446 #define CONTEXT_OFFSET_F21 0x3847 #define CONTEXT_OFFSET_F22 0x3c48 #define CONTEXT_OFFSET_F23 0x4049 #define CONTEXT_OFFSET_F24 0x4450 #define CONTEXT_OFFSET_F25 0x4851 #define CONTEXT_OFFSET_F26 0x4c52 #define CONTEXT_OFFSET_F27 0x5053 #define CONTEXT_OFFSET_F28 0x5454 #define CONTEXT_OFFSET_F29 0x5855 #define CONTEXT_OFFSET_F30 0x5c56 #define CONTEXT_SIZE 0x6032 #define __CONTEXT_OFFSET_SP 0x00 33 #define __CONTEXT_OFFSET_PC 0x04 34 #define __CONTEXT_OFFSET_S0 0x08 35 #define __CONTEXT_OFFSET_S1 0x0c 36 #define __CONTEXT_OFFSET_S2 0x10 37 #define __CONTEXT_OFFSET_S3 0x14 38 #define __CONTEXT_OFFSET_S4 0x18 39 #define __CONTEXT_OFFSET_S5 0x1c 40 #define __CONTEXT_OFFSET_S6 0x20 41 #define __CONTEXT_OFFSET_S7 0x24 42 #define __CONTEXT_OFFSET_S8 0x28 43 #define __CONTEXT_OFFSET_GP 0x2c 44 #define __CONTEXT_OFFSET_TLS 0x30 45 #define __CONTEXT_OFFSET_F20 0x34 46 #define __CONTEXT_OFFSET_F21 0x38 47 #define __CONTEXT_OFFSET_F22 0x3c 48 #define __CONTEXT_OFFSET_F23 0x40 49 #define __CONTEXT_OFFSET_F24 0x44 50 #define __CONTEXT_OFFSET_F25 0x48 51 #define __CONTEXT_OFFSET_F26 0x4c 52 #define __CONTEXT_OFFSET_F27 0x50 53 #define __CONTEXT_OFFSET_F28 0x54 54 #define __CONTEXT_OFFSET_F29 0x58 55 #define __CONTEXT_OFFSET_F30 0x5c 56 #define __CONTEXT_SIZE 0x60 57 57 58 58 #ifndef __ASSEMBLER__ … … 61 61 #include <stdint.h> 62 62 63 typedef struct context {63 typedef struct __context { 64 64 uint32_t sp; 65 65 uint32_t pc; … … 87 87 uint32_t f29; 88 88 uint32_t f30; 89 } context_t;89 } __context_t; 90 90 91 91 #endif -
uspace/lib/c/arch/mips32/include/libarch/stack.h
re3272101 rd5a89a3 33 33 */ 34 34 35 #ifndef LIBC_mips32_STACK_H_36 #define LIBC_mips32_STACK_H_35 #ifndef _LIBC_mips32_STACK_H_ 36 #define _LIBC_mips32_STACK_H_ 37 37 38 38 #define STACK_ITEM_SIZE 4 -
uspace/lib/c/arch/mips32/include/libarch/syscall.h
re3272101 rd5a89a3 34 34 */ 35 35 36 #ifndef LIBC_mips32_SYSCALL_H_37 #define LIBC_mips32_SYSCALL_H_36 #ifndef _LIBC_mips32_SYSCALL_H_ 37 #define _LIBC_mips32_SYSCALL_H_ 38 38 39 39 #define LIBARCH_SYSCALL_GENERIC -
uspace/lib/c/arch/mips32/include/libarch/thread.h
re3272101 rd5a89a3 34 34 */ 35 35 36 #ifndef LIBC_mips32_THREAD_H_37 #define LIBC_mips32_THREAD_H_36 #ifndef _LIBC_mips32_THREAD_H_ 37 #define _LIBC_mips32_THREAD_H_ 38 38 39 39 #endif -
uspace/lib/c/arch/mips32/include/libarch/tls.h
re3272101 rd5a89a3 36 36 /* TLS for MIPS is described in http://www.linux-mips.org/wiki/NPTL */ 37 37 38 #ifndef LIBC_mips32_TLS_H_39 #define LIBC_mips32_TLS_H_38 #ifndef _LIBC_mips32_TLS_H_ 39 #define _LIBC_mips32_TLS_H_ 40 40 41 41 /*
Note:
See TracChangeset
for help on using the changeset viewer.