Sean McBride
|
fa8e8628eb
|
fix: correct interrupt logic on sandbox switch
|
5 years ago |
Sean McBride
|
b381077b13
|
docs: cleanup comments
|
5 years ago |
Sean McBride
|
19c862c92a
|
chore: add error handling code to module loader
|
5 years ago |
Sean McBride
|
e70a5809be
|
feat: improve json error handling
|
5 years ago |
Sean McBride
|
948947dec8
|
chore: merge changes from other branch
|
5 years ago |
Sean McBride
|
02d60a740d
|
chore: add trailing newlines
|
5 years ago |
Sean McBride
|
f116e4030d
|
docs: add info on module table init refactor
|
5 years ago |
Sean McBride
|
324253095d
|
refactor: clarify interval duration is not macro
|
5 years ago |
Sean McBride
|
95f339de94
|
refactor: clarify assert in switch_to_sandbox
|
5 years ago |
Sean McBride
|
47f24b6952
|
fix: namespace sandbox states
|
5 years ago |
Sean McBride
|
b4fe9a537e
|
refactor: cleanup wakeup sandbox logic
|
5 years ago |
Sean McBride
|
ba31db340b
|
fix: panic on completed run loop
|
5 years ago |
Sean McBride
|
0d1d73018a
|
docs: remove redundant comments in types.h
|
5 years ago |
Sean McBride
|
50c46ae8e9
|
docs: better comment wasm init funcs
|
5 years ago |
Sean McBride
|
58a38016b1
|
chore: sandbox member cache->sandbox context cache
|
5 years ago |
Sean McBride
|
fbea46b84f
|
chore: add newline to panic function
|
5 years ago |
Sean McBride
|
613ed72ee5
|
chore: flatten x64 mcontext restore else
|
5 years ago |
Sean McBride
|
5c4bd98f54
|
chore: Improve munmap error handling
|
5 years ago |
Sean McBride
|
39fea2db44
|
tests: Improve debug script
|
5 years ago |
Sean McBride
|
f3c037475c
|
docs: fix incoherent comment
|
5 years ago |
Sean McBride
|
788ba6909b
|
docs: Replace printfs with debuglog
|
5 years ago |
Sean McBride
|
0465099cfb
|
docs: improve documentation
|
5 years ago |
Sean McBride
|
4742a86d39
|
chore: replace exists with panics
|
5 years ago |
Sean McBride
|
9eb5541afa
|
feat: propagate dequeue and remove return codes
|
5 years ago |
Sean McBride
|
d36b28bf21
|
chore: local_runqueue add cleanup
|
5 years ago |
Sean McBride
|
5ccf8bbd87
|
chore: organize preprocessor includes
|
5 years ago |
Sean McBride
|
f45b450360
|
chore: DRY up current_sandbox funcs
|
5 years ago |
Sean McBride
|
dfb1c65e93
|
fix: push PQ error handling to caller
|
5 years ago |
Sean McBride
|
7384b2de1e
|
fix: harden panic logic
|
5 years ago |
Sean McBride
|
50b4ab1b6c
|
fix: correct leak in error handling
|
5 years ago |
Sean McBride
|
68e91a8853
|
chore: combine thread locals into struct
|
5 years ago |
Sean McBride
|
b822f82584
|
chore: remove problematic caches
|
5 years ago |
Sean McBride
|
b3c97462df
|
chore: fix no endline
|
5 years ago |
Sean McBride
|
1c2aa448cd
|
chore: rename scheduler interfaces and variants
|
5 years ago |
Sean McBride
|
0eb474a8d7
|
chore: replace app header guards w pragma once
|
5 years ago |
Sean McBride
|
f7e472a8d9
|
chore: rename get_priority to get_priority_fn
|
5 years ago |
Sean McBride
|
46881a0f26
|
chore: suffix fn typedefs with _fn_t
|
5 years ago |
Sean McBride
|
ab41672359
|
docs: remove extraneous comment
|
5 years ago |
Sean McBride
|
08fecb21d1
|
docs: fixing additional multiline comment
|
5 years ago |
Sean McBride
|
3dd4a6857d
|
docs: fix multi-line comment
|
5 years ago |
Sean McBride
|
7c36d4ef00
|
chore: cleanup test infrastructure
|
5 years ago |
Sean McBride
|
06180781f6
|
chore: refactor ternary statements
|
5 years ago |
Sean McBride
|
bfe19dce69
|
fix: assorted small priority queue fixes
|
5 years ago |
Sean McBride
|
2d03fe390b
|
chore: remove blank line to clarify unit
|
5 years ago |
Sean McBride
|
bd584b164c
|
chore: clean up ternary
|
5 years ago |
Sean McBride
|
3bfb3859c1
|
docs: Improved description of context switch
|
5 years ago |
Sean McBride
|
29201f737d
|
docs: Use style guide format for comments
|
5 years ago |
Sean McBride
|
cf42133127
|
chore: add explicit curly braces
|
5 years ago |
Sean McBride
|
da0588ea32
|
chore: make demo workloads more realistic
|
5 years ago |
Sean McBride
|
94f69a912c
|
docs: better inline comment
|
5 years ago |
Sean McBride
|
5327e6d18b
|
chore: rename module function
|
5 years ago |
Sean McBride
|
b8a0e28d11
|
chore: cleanup sandbox logic
|
5 years ago |
Sean McBride
|
ebfe8856bc
|
docs: minor comment improvements
|
5 years ago |
Sean McBride
|
c0d82db22b
|
fix: Correct memory leak and general cleanup
|
5 years ago |
Sean McBride
|
0e6c77d923
|
chore: align lifetimes for shortcuts
|
5 years ago |
Sean McBride
|
fa5f254af1
|
chore: remove extraneous log
|
5 years ago |
Sean McBride
|
06dbd3cd21
|
chore: remove redudant typedef
|
5 years ago |
Sean McBride
|
653af014a7
|
fix: cleanly handling preemption
|
5 years ago |
Sean McBride
|
218893ed3b
|
feat: Non-crashing demo state
|
5 years ago |
Sean McBride
|
3caecadefe
|
feat: Implement peek in ps
|
5 years ago |
Sean McBride
|
eef45c5983
|
chore: correct endif comment
|
5 years ago |
Sean McBride
|
996c147928
|
fix: correct runqueue cleanup bug
|
5 years ago |
Sean McBride
|
83ee42e89b
|
chore: break up runtime and worker_thread
|
5 years ago |
Sean McBride
|
4d29585236
|
chore: demonstrate priority
|
5 years ago |
Sean McBride
|
61c7ccea0c
|
feat: implement PQ-based runqueue
|
5 years ago |
Sean McBride
|
f5f9c168c6
|
chore: Simplify worker scheduling
|
5 years ago |
Sean McBride
|
db2372f02f
|
chore: make signal handler more verbose
|
5 years ago |
Sean McBride
|
307f7c0d59
|
chore: encapsulte http_parser_settings
|
5 years ago |
Sean McBride
|
d08e3b7f54
|
chore: refactore flags to bools
|
5 years ago |
Sean McBride
|
321e26577d
|
chore: replace in_interrupt with bool
|
5 years ago |
Sean McBride
|
82f79b1ed4
|
chore: simplify event loop
|
5 years ago |
Sean McBride
|
d42370c357
|
chore: simplify sandbox_allocate
|
5 years ago |
Sean McBride
|
c2c6332bc1
|
chore: encapsulate completion queue
|
5 years ago |
Sean McBride
|
0de94ed7c2
|
chore: cleanup additional run_queue logic
|
5 years ago |
Sean McBride
|
dafa257273
|
chore: encapsulate current_sandbox
|
5 years ago |
Sean McBride
|
403b167a7e
|
chore: refactor out sandbox_run_queue
|
5 years ago |
Sean McBride
|
f8d74bdfed
|
chore: small refactors
|
5 years ago |
Sean McBride
|
828b368a7c
|
chore: remove zombie comment
|
5 years ago |
Sean McBride
|
1999a97c8f
|
feat: Implement basic ps for sandbox requests
|
5 years ago |
Sean McBride
|
6a7bbc2e97
|
feat: add deadline logic
|
5 years ago |
Sean McBride
|
6478ff9b84
|
feat: WIP ps
|
5 years ago |
Sean McBride
|
4386b00479
|
chore: fix zombie comment
|
5 years ago |
Sean McBride
|
6eb5825b55
|
refactor: implement sandbox request interface
|
5 years ago |
Sean McBride
|
34d91cfa21
|
refactor: wrap existing request queue
|
5 years ago |
Sean McBride
|
d14af73c30
|
chore: remove unused types
|
5 years ago |
Sean McBride
|
2cb302a27e
|
chore: fix tests to use proper wrapped call
|
5 years ago |
Sean McBride
|
13deee2531
|
chore: remove cycle time printf
|
5 years ago |
Sean McBride
|
0ace3119e6
|
chore: revert to __getcycles
|
5 years ago |
Sean McBride
|
a949cbebe3
|
chore: refactor double underscores
|
5 years ago |
phani
|
a72e702c77
|
update env.c to use ck api
|
5 years ago |
phani
|
cfa458c5b9
|
moved jsmn, http-parser to thirdparty/ and pulled in ck submodule there too
|
5 years ago |
phani
|
37db945637
|
TODO: use CK? for env.c
|
5 years ago |
Phani
|
3b8711b95c
|
fix standalone compilation
|
5 years ago |
phani
|
7ff05b9d73
|
making it work for aarch64 - seem to work on RPi
* changes to be fully tested!
* cas etc needs to be implemented for aarch64
|
5 years ago |
Sean McBride
|
178bef818f
|
feat: add relative_deadline_us to json and module
|
5 years ago |
Sean McBride
|
0bd22a2e9c
|
chore: de-dunder module_database
|
5 years ago |
Sean McBride
|
a70a83326c
|
chore: de-dunder worker_thread
|
5 years ago |
Sean McBride
|
a771b78a92
|
chore: de-dunder software_interrupt
|
5 years ago |
Sean McBride
|
fefd80d6a9
|
chore: de-dunder sandbox
|
5 years ago |
Sean McBride
|
ba032a5905
|
chore: de-dunder runtime
|
5 years ago |