|
|
@a1538cd
|
5 years |
Thierry Delisle |
Implemented part of the same C api for threads as libfibre.
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@dddb3dd0
|
5 years |
Thierry Delisle |
Changed io to use ring per kernel threads.
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@78da4ab
|
5 years |
Thierry Delisle |
New implementation of io based on instance burrowing.
Trying to avoid …
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@da3963a
|
5 years |
Thierry Delisle |
Moved bin_sem_t out of kernel.hfa since it's not needed.
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@454f478
|
5 years |
Thierry Delisle |
Re-arranged and commented low-level headers.
Main goal was for better …
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@28c35e2
|
5 years |
Thierry Delisle |
Fixed startup to use proper protections
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@7a70fb2
|
5 years |
Thierry Delisle |
Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@72a3aff
|
5 years |
Thierry Delisle |
restore the the protection of the heap on destroy pthread
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@dd92fe9
|
5 years |
pabuhr |
switch to page_size and map_prot
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@97229d6
|
5 years |
Thierry Delisle |
Changed stack creation to toggle between mmap and malloc based on the …
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@bfcf6b9
|
5 years |
Thierry Delisle |
Stacks are always created with mmap to control page permission
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@fe9468e2
|
5 years |
Thierry Delisle |
Added function thread_rand as a tls-safe version of tls_rand()
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@ac12f1f
|
5 years |
Thierry Delisle |
canary is now a void * so it prints in hexa in gdb
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@1b033b8
|
5 years |
Thierry Delisle |
Alarm loop now has it's own stats block
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@82a2fed
|
5 years |
Thierry Delisle |
Changed preemption to use code sections rather than atomic access to TLS.
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@8fc652e0
|
5 years |
Thierry Delisle |
Change usage of TLS to more strongly segregate in kernel and out of …
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@e873838
|
5 years |
Thierry Delisle |
Removed unpark and added support for unpark from the kernel …
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@6a77224
|
5 years |
Thierry Delisle |
Changed park/unpark ticket to be -1,0,1 instead of 0,1,2 because it's …
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@5afb49a
|
5 years |
Thierry Delisle |
Split thread_leave so backend is called from the kernel once the …
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@b4b63e8
|
5 years |
Thierry Delisle |
Fixed missing changes to park/unpark.
Added canary to threads to check …
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@e235429
|
5 years |
Thierry Delisle |
Removed last parker/unparker information is it was not particularly useful
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@7ab28b69
|
5 years |
Thierry Delisle |
Removed unnecessary line causing a warning
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@58d64a4
|
5 years |
Thierry Delisle |
processor_id_t now have a bool to state if it is a full processor. …
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@772411a
|
5 years |
Thierry Delisle |
Moved bias to it's own function.
Fixed minor assertions triggering.
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@e67a82d
|
5 years |
pabuhr |
fix conflicts
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@88cafe7
|
5 years |
pabuhr |
add CtxGet routine for ARM 64-bit
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@442b624
|
5 years |
pabuhr |
temporarily disable ARM disable/enable_global_interrupts()
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@f2384c9a
|
5 years |
Thierry Delisle |
Added forward/reverse rng for later use in the ready queue
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@62502cc4
|
5 years |
Thierry Delisle |
Fixed deadlock where threads could acquire the central scheduler lock …
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@1eb239e4
|
5 years |
Thierry Delisle |
Removed snzi and replaced it with a fast/slow path
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@3e2b9c9
|
5 years |
Thierry Delisle |
More restructuring of translation units
Unclear if it improves …
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
|
|
@e660761
|
5 years |
Thierry Delisle |
First attempt at reducing complation time by restructuring the code. …
ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|