|
|
@c21d4d6
|
6 years |
zarevucky.jiri |
Add copyright headers for new files
Most are a copy of the headers …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63660a3
|
6 years |
zarevucky.jiri |
shuffle some variables around
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2fff3c4
|
6 years |
zarevucky.jiri |
Build kernel using meson
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5fd05862
|
6 years |
zarevucky.jiri |
Convert uspace to meson
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cd9531d3
|
6 years |
zarevucky.jiri |
Make mips32 and mips32eb the same UARCH, same as is with KARCH and BARCH
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@687108b
|
6 years |
zarevucky.jiri |
Remove unused makefile variables
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f3f4149
|
6 years |
zarevucky.jiri |
Rename entry.[cS] files to match their export names
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4805495
|
6 years |
zarevucky.jiri |
Make sure libc and abi header guards are reserved identifiers
It's …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b4f1171
|
6 years |
zarevucky.jiri |
Rename setjmp/longjmp to context_save/context_restore
Once …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a5c78a18
|
6 years |
zarevucky.jiri |
Rename context_t to context_t
<libarch/fibril_context.h> is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e5ace7d7
|
7 years |
vojtech.horky |
mips32: clobber memory on sycall (thx Adam Frey)
As the syscall may …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e344422
|
7 years |
zarevucky.jiri |
Move kernel/arch/*/include/arch/elf.h to abi/
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@09ab0a9a
|
7 years |
jiri |
Fix vertical spacing with new Ccheck revision.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ffa73c6
|
7 years |
jiri.zarevucky |
Use compiler builtins for uspace atomics
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d51cca8
|
7 years |
jiri.zarevucky |
Use <stdatomic.h> to implement uspace barriers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82d9087
|
7 years |
jiri.zarevucky |
Use default linker scripts (as provided by the linker) in uspace.
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b05082
|
7 years |
jiri.zarevucky |
Adds
- tcb_raw_get(), which returns the value of the TP register …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2eadda9
|
7 years |
jiri.zarevucky |
Remove undefined references to main program from shared libc.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c2c4127
|
7 years |
jiri.zarevucky |
Do not set STARTUP() in the linker script. Add the file to build …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d4475a44
|
7 years |
martin |
use uint8_t * instead of char *
Technically, there should be no …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@be0f5e4
|
7 years |
martin |
cstyle (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6419c6e
|
7 years |
jakub |
Don't use GCC C extension in -std=c++17 code
Pointer arithmetics on …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8e2154e7
|
7 years |
Jaroslav Jindrak |
cpp: restructured build system to fix ia64 errors, renamed CPP* macros …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6f025a8
|
7 years |
Jaroslav Jindrak |
cpp: fixed arm32 compilation of libcpp (and hopefully mips32eb too)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4fb8163
|
7 years |
Jaroslav Jindrak |
cpp: float is now specified for mips
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@09553a0
|
7 years |
Jaroslav Jindrak |
cpp+c: added missing linker script modifications and fixed some …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc0b2a8
|
7 years |
jiri.zarevucky |
Revert "Don't use custom ldscripts in uspace. (#38)"
This reverts …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a05ec66
|
7 years |
noreply |
Don't use custom ldscripts in uspace. (#38)
Even with the *-linux-gnu …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ff23ff
|
7 years |
jiri |
More comment fixing (ccheck).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c3fb9b
|
7 years |
jiri |
Fix block comment formatting (ccheck).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f3fdecc
|
7 years |
jakub |
Revert "Don't use custom ldscripts in uspace."
This reverts commit …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@66262a1b
|
7 years |
jiri.zarevucky |
Don't use custom ldscripts in uspace.
Even with the *-linux-gnu …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@009c485
|
7 years |
jiri.zarevucky |
Always use CC for linking.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@66855b2
|
7 years |
jiri.zarevucky |
Fix a linker script issue I introduced.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4c4b53c
|
7 years |
jiri.zarevucky |
Rename __entry to the usual _start .
Except for MIPS, where the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7148abf
|
7 years |
jiri.zarevucky |
Rename main to libc_main, to avoid conflict with libgcc.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4f205248
|
7 years |
jiri.zarevucky |
Honor TLS alignment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d2f75eb
|
7 years |
noreply |
Replace autogen.py with something simpler. (#30)
Instead of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@18b6a88
|
7 years |
jiri |
More ccheck fixes, sometimes with manual intervention.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a69d42e
|
7 years |
jiri.zarevucky |
Define _end , and use it instead of the address of __entry in C code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@20287223
|
7 years |
jiri.zarevucky |
Instead of having a special linker script for loader, move its base …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2c4e1cc
|
7 years |
jiri.zarevucky |
Define TLS consistently in linker scripts, and remove nonstandard …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1433ecda
|
7 years |
jiri |
Fix cstyle: make ccheck-fix and commit only files where all the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@47b2d7e3
|
7 years |
zarevucky.jiri |
Always load ELF headers as part of the text segment.
This forces us …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a35a3d8
|
7 years |
noreply |
Turn context_save/context_restore into standard setjmp/longjmp. (#24)
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e0a4686
|
7 years |
zarevucky.jiri |
Introduce context_swap() and use it to simplify fibril implementation. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f1380b7
|
7 years |
zarevucky.jiri |
style: Remove trailing whitespace on _all_ lines, including empty …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a35b458
|
7 years |
zarevucky.jiri |
style: Remove trailing whitespace on _all_ lines, including empty …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b20da0
|
7 years |
zarevucky.jiri |
style: Remove trailing whitespace on non-empty lines, in certain file …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7fd2a0
|
8 years |
zarevucky.jiri |
Use errno_t in all uspace and kernel code.
Change type of every …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@02b3d101
|
8 years |
jakub |
Properly end functions started via .ent
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee98e81
|
8 years |
zarevucky.jiri |
Don't include entry.o in libc.a
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d2e7a51
|
8 years |
zarevucky.jiri |
Link libsoftfloat unconditionally on all architectures.
It doesn't …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aa537a5a
|
8 years |
jakub |
Add 64-bit PIO functions
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eca820c
|
8 years |
zarevucky.jiri |
Revert change to the way startup file is referenced.
The path is not …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@584121d
|
8 years |
zarevucky.jiri |
Move reference to the startup object file (entry.o) out of the linker …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@002fd5f
|
8 years |
zarevucky.jiri |
Replace parts of system headers with <_bits/…>.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cf13b17
|
8 years |
zarevucky.jiri |
Rename <sys/types.h> to <types/common.h>
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2a7749d7
|
8 years |
zarevucky.jiri |
Add <sys/types.h> as a wrapper for <libarch/types.h>, and eliminate …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@33f86a3
|
8 years |
zarevucky.jiri |
Add PRI*PTR macros and correct a few printfs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b1018a29
|
8 years |
zarevucky.jiri |
Fix all copypasted include guard typos.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a0a273e
|
8 years |
zarevucky.jiri |
Unify compiler handling a bit.
Most compiler flags have been changed …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@23c8acd9
|
8 years |
jakub |
Move off64_t and aoff64_t into offset.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9780584
|
8 years |
jakub |
Use -ffunction-sections and —gc-sections
This change results in vast …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2628642
|
8 years |
martin |
generate inlined binary data via assembler
this is much faster and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ee7e6a
|
8 years |
jakub |
Further reduce the number of inclusions of sys/types.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d2dd7f2
|
8 years |
jakub |
Reduce the number of files that include <sys/types.h>
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@58563585
|
9 years |
martin |
code review and cstyle cleanup (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0407636
|
9 years |
jakub |
mips32: use asmtool.h macros for defining symbols
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fbf4dc1
|
10 years |
jiri |
size_t and ptrdiff_t belong in libc's stddef.h.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6c98451
|
10 years |
jiri |
Move (u)intmax_t to libc. Some stdint.h work.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@309a894
|
11 years |
jakub |
Do not link to missing autogenerated headers.
Do not weirdly link to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4b334fd6
|
11 years |
jakub |
Autogenerate mips32 and mip32eb fibril context_t and its offsets.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@996df189
|
11 years |
jakub |
Autogenerate mips32 istate_t and its offsets.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45f7449
|
12 years |
jakub |
Revert to the state of mainline,1783.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@26346bd
|
12 years |
martin |
mips32: implement memset() and memcpy()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b696cbf
|
12 years |
jakub |
Generate code exactly for the CPU used on the machine.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e4d96e9
|
12 years |
jakub |
Improvements of stack and istate_get() definitions.
- Make sure each …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@850235d
|
12 years |
vojtechhorky |
Merge mainline changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@31399f3
|
12 years |
jiri |
alloc_tls, maketls and free_tls are not …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3e6a98c5
|
13 years |
jiri |
Standards-compliant boolean type.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b5c2f56
|
13 years |
jano.vesely |
libc: Make pio_read_* accept const ioports.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aebcd42
|
13 years |
vojtechhorky |
Prevent compile-time symlinks in userspace
Continuation of the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ecf5b8
|
13 years |
vojtechhorky |
Prevent compile-time symlinks in kernel
So far, architecture specific …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3218648
|
13 years |
jano.vesely |
ddi: Add libc wrappers and prefix arch specific functions with "arch_"
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fedac2f
|
13 years |
m.lombardi85 |
merge mainline changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0783634
|
13 years |
martin |
place the .interp section behind the other sections in the text …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6cd626
|
13 years |
m.lombardi85 |
link libc to the libsoftfloat in arm32, mips32, mips32eb, mips64 and ppc32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@74fec95
|
13 years |
sucha14 |
Add signed native integer definition to uspace types.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9bcdbc5
|
13 years |
martin |
make sure the code in .init is always aligned reasonably
(despite …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fbe89af
|
13 years |
martin |
mips: do not generate FPU code
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e1c0260
|
13 years |
martin |
improve loader .interp fix
* suppress the assembler warning by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6d123b3
|
13 years |
martin |
respect the o32 ABI when calling C functions from assembler and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@df366b5e
|
13 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a69cb9a
|
13 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@34f0448
|
13 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8df9290
|
13 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@78a9e5ab
|
13 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b74e5893
|
13 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bb74dabe
|
14 years |
petr.koupy |
Removed duplicated declarations of intptr_t.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|