|
|
@1ae9c07
|
7 years |
jiri |
iso646.h is ISO C. (A)OFF64_MIN/MAX are neither POSIX nor ISO C.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3b1cc8d
|
7 years |
noreply |
Add notification queue to the async framework. (#40)
Instead of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@587478b
|
7 years |
jiri.zarevucky |
Fix some undefined behaviors.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2f7d77c6
|
7 years |
jiri.zarevucky |
Add rudimentary support for undefined behavior sanitizer.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@be2a20ac
|
7 years |
jiri |
Merge scanf family implementation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@80f345c
|
7 years |
jiri |
Need to carefully pass va_list around by reference to be portable.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f4aa1c8
|
7 years |
jiri |
Add actual test for using range in scanf.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@39f84ce4
|
7 years |
jiri |
Add range support to scanf's set conversion.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a55d76b1
|
7 years |
jiri.zarevucky |
Implement a simple counting semaphore for fibrils.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a6c28d1
|
7 years |
jiri |
Replace libposix scanf with libc scanf.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f47a905
|
7 years |
jiri |
scanf, vscanf, vsscanf.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@01cc7b4
|
7 years |
jiri |
Implement sscanf via virtualizing FILE and implementing string backend …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ed18e14
|
7 years |
jiri |
vfscanf with tests.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@899342e
|
7 years |
jiri.zarevucky |
fibril_futex must be locked during context_swap() .
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8afd5a
|
7 years |
jiri.zarevucky |
Have async_poke() check whether the poke is necessary.
This was …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49a796f1
|
7 years |
jiri.zarevucky |
Split the async framework into several parts.
This segregates …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fda19b8
|
7 years |
jiri.zarevucky |
Deduplicate async_create_port().
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
|
|
|
@ed88c8e
|
7 years |
jiri |
fputc, putchar vs. fputwc, putwchar.
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
|
|
|
@47e00b83
|
7 years |
jiri |
Fix some block comments (found by ccheck).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7473807
|
7 years |
jakub |
Use atomic malloc allocations
We can safely use atomic allocations in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e8975278
|
7 years |
jiri |
A few more cstyle fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae7d03c
|
7 years |
jiri |
Selected ccheck-proposed comment fixes.
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
|
|
|
@349e04ac
|
7 years |
jakub |
Make sure _start is always aligned to 16
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
|
|
|
@888a2c6
|
7 years |
jiri.zarevucky |
Ignore GNU program headers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6e33c2f
|
7 years |
jiri.zarevucky |
Clean up some debris left behind by autogen headers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@742fc98e
|
7 years |
noreply |
Make some effort to allocate the memory area for shared objects. (#33)
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
|
|
|
@4c5f04f
|
7 years |
jiri.zarevucky |
Ensure valid TLS info even if there is no TLS header.
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
|
|
|
@e634684
|
7 years |
jiri.zarevucky |
Don't choke on architecture-specific ELF program headers.
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
|
|
|
@3fafe5e0
|
7 years |
jiri |
Fix incorrectly indented double-slash comments.
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
|
|
|
@8ebe212
|
7 years |
jiri |
ccheck-fix a few files with for loops.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3bacee1
|
7 years |
jiri |
Make ccheck-fix again and commit more good files.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@76d0981d
|
7 years |
jiri |
Use proper boolean constant in while loops.
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
|
|
|
@1abcf1d
|
7 years |
jiri.zarevucky |
puts() should append newline.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae84e38
|
7 years |
jiri.zarevucky |
Remove _gp from sparc linker script.
The global pointer is set by …
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
|
|
|
@57d44dd
|
7 years |
jiri.zarevucky |
Instead of using .interp section, determine loader by name.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3f932a7e
|
7 years |
jiri |
PCUT_INIT declaration also needs a terminating semicolon.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1890f2a2
|
7 years |
martin |
fix linker warnings
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5754c31e
|
7 years |
jiri.zarevucky |
We should not attempt to read sections in the ELF file.
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
|
|
|
@af60409
|
7 years |
jiri |
Modify PADDn macros so that their use is easier to parse.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b752a31
|
7 years |
zarevucky.jiri |
Strip trailing whitespace.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@48974d6
|
7 years |
jiri |
Need declarations to be terminated by semicolon.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eed4139
|
7 years |
jakub |
Fix some comments mentioning 'call IDs'
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a46e56b
|
7 years |
jakub |
Prefer handle over ID in naming handle variables
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3be9d10
|
7 years |
jakub |
Get rid of ipc_callid_t
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eadaeae8
|
7 years |
jakub |
Make capability handles type-safe
Define distinct pointer types for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@013e5d32
|
7 years |
jiri |
More cstyle-related fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@30f1a25
|
7 years |
jakub |
Make hash_table_find_next immune to livelocks
By giving …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@963037b0
|
7 years |
jakub |
Do not consider the bucket head as a table element
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@948222e4
|
7 years |
jiri |
A few more cases of for loops without iteration expression (which …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b61171
|
7 years |
zarevucky.jiri |
Fix riscv64 build, and add a build config for it to prevent future …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b127e4af
|
7 years |
jakub |
ia64: No need to allocate an extra local register
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
|
|
|
@84239b1
|
7 years |
jiri |
And there was much fixing.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@850fd32
|
7 years |
jiri |
Fix mischievious semicolons.
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
|
|
|
@3061bc1
|
7 years |
zarevucky.jiri |
style: Remove trailing whitespace on non-empty lines, remaining files.
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
|
|
|
@39f1c86
|
7 years |
aearsis |
byteorder: move also int variants
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee820ff
|
7 years |
jenda.jzqk73 |
Merge commit 'df368491aa1c0ce3024a51c602b7d0cbe4bd84d3'
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a211838
|
7 years |
martin |
coding style improvements (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2660ee3
|
7 years |
noreply |
Generate files that a third party can use to build software for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2b3dd78
|
7 years |
jenda.jzqk73 |
Merge remote-tracking branch 'upstream/master' into forwardport
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a6cc679
|
7 years |
jenda.jzqk73 |
Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@132ab5d1
|
7 years |
jenda.jzqk73 |
Merge commit '6a5d05bd2551e64111bea4f9332dd7448c26ce84' into …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b0cf63
|
7 years |
jiri |
A round of cstyle fixing (i.e. run make ccheck-fix).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1c7f381
|
8 years |
zarevucky.jiri |
Add nonstandard ftell64() and fseek64().
Currently, the C standard …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@17c14273
|
8 years |
zarevucky.jiri |
Work around SPARC's multiplication insanity.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@33b8d024
|
8 years |
zarevucky.jiri |
Remove const qualifier from the argument of free() and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d39c46e0
|
8 years |
zarevucky.jiri |
Implement the full suite of standard string-to-int conversion …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dbbbe75b
|
8 years |
zarevucky.jiri |
Add missing standard functions to <ctype.h>
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c718bda
|
8 years |
zarevucky.jiri |
Use standard names for rand() and srand().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba29018
|
8 years |
zarevucky.jiri |
Remove non-standard const qualifier from optarg.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@39330200
|
8 years |
zarevucky.jiri |
Rename struct stat and struct statfs to vfs_stat_t and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d8023313
|
8 years |
zarevucky.jiri |
Make sure realloc() behaves correctly when new size is 0.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bc1b297
|
8 years |
zarevucky.jiri |
Hide nonstandard symbols in <stdio.h> behind _HELENOS_SOURCE.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1848f8e
|
8 years |
zarevucky.jiri |
Instead of defining _HELENOS_SOURCE in each individual file, put it in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d6dd2a
|
8 years |
zarevucky.jiri |
Remove unnecessary includes from <stdio.h>.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bd76871
|
8 years |
zarevucky.jiri |
Remove unused nonstandard DEBUG macro.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@09d13c8e
|
8 years |
zarevucky.jiri |
Prefix PRINTF_ATTRIBUTE and NVERIFY_PRINTF macros with _HELENOS_ …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@50f19b7
|
8 years |
noreply |
Merge pull request #14 from Aearsis/master
async_usleep: no need to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|