|
|
@dd50aa19
|
5 months |
zarevucky.jiri |
Allocation function tweaks
- Add reallocarray() from POSIX 2024 for …
|
|
|
@44e8541
|
16 months |
zarevucky.jiri |
Move stdlib.h and some of its function into /common
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ffccdff0
|
5 years |
martin |
Unify alignment handling
Use the C11 alignof() operator. Make sure …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@94e75cf
|
5 years |
martin |
Compute the memory area overhead more precisely
The memory area not …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@25f6bddb
|
6 years |
jakub |
Deallocate waitq's used by the loader
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45c8eea
|
6 years |
jakub |
Preallocate waitq handle during initialization
Do not clutter …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f787c8e
|
7 years |
jiri.zarevucky |
Move some internal interfaces to private headers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9bde0d5
|
7 years |
jiri.zarevucky |
Replace a bunch of direct uses of futex_t.
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
|
|
|
@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
|
|
|
@33b8d024
|
7 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
|
|
|
@d8023313
|
7 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
|
|
|
@1848f8e
|
7 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
|
|
|
@b7fd2a0
|
7 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
|
|
|
@e8d3c6f5
|
7 years |
zarevucky.jiri |
Align <assert.h> with standards, remove it from libposix,
and do not …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@582a0b8
|
8 years |
jakub |
Remove unistd.h
- Rename usleep() and sleep() to thread_usleep() and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b46ec8
|
8 years |
jakub |
realloc() should try harder to avoid relocating the buffer
(Thanks to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6aeca0d
|
8 years |
jakub |
Make as_area_create() accept phone to external pager
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b1c57a8
|
10 years |
jakub |
Merge from lp:~adam-hraska+lp/helenos/rcu/.
Only merge from the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@21799398
|
10 years |
jakub |
Fix typos.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@af5dfa5b
|
12 years |
adam.hraska+hos |
Turned malloc's futex semaphore into a lock upgradable from a light …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@156b6406
|
12 years |
adam.hraska+hos |
Differentiated futexes when used with mutex semantics from those with …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d54b303
|
12 years |
adam.hraska+hos |
Initial version of nop futexes that are upgradable to proper futexes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9a3b469
|
12 years |
adam.hraska+hos |
malloc avoids using futexes during initialization of the main thread …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3e6a98c5
|
12 years |
jiri |
Standards-compliant boolean type.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9727b92
|
12 years |
jano.vesely |
Set AS_AREA_CACHEABLE flag for malloc heap areas and tests
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c828803
|
13 years |
martin |
add comment describing the motivation for the alignment
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@da287d1
|
13 years |
martin |
cstyle (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b078a42
|
13 years |
martin |
it is imperative that the _size_ of the allocated block is at least …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e7c3fa0
|
13 years |
jakub |
Detect integer overflow in lcm() when cumputing alignment in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7aafdb86
|
13 years |
jakub |
When growing heap to satisfy an allocation request of s bytes aligned …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@faba839
|
13 years |
martin |
use symbolic values for address space constants
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fbcdeb8
|
13 years |
martin |
Remove the two-phase way of creating virtual memory areas (first …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3019612
|
13 years |
martin |
free(NULL) should be a no-op by convention
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@207533f
|
14 years |
martin |
make the code slightly more readable (no change in actual functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e06e2716
|
14 years |
jakub |
Passing stringified LINE does not conserve space very well,
pass …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@13f2461
|
14 years |
jakub |
Merge the functionality of assert_abort() and assert_static_abort() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1b3e854
|
14 years |
martin |
add library function for explicit heap structure consistency check
use …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@955f2a5
|
14 years |
martin |
implement assert_static() as a safer replacement to malloc_assert()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c33b1d5
|
14 years |
jakub |
The malloc_futex should be up'ed when an assert is hit inside malloc().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6eee2b
|
14 years |
martin |
tiny improvement
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@013a5d7
|
14 years |
martin |
add proper heap shrinking implementation
add malloc3 test (a …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d161715
|
14 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b37882
|
14 years |
martin |
memory management work
* implement as_get_mappable_page() as a new …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@47b7006
|
14 years |
martin |
improve run-time termination
* get rid of exit()
* get rid of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3292623
|
15 years |
martin |
thread-safe heap allocator
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63f8966
|
15 years |
martin |
rename library directories (the common "lib" prefix is already in the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|