|
|
@d4a829e
|
8 years |
jakub |
Revert "Reformat copyright messages"
This reverts commit …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@999efa9
|
8 years |
jakub |
Reformat copyright messages
The goal is to have one copyright-holder …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@897fd8f1
|
8 years |
zarevucky.jiri |
Use <errno.h> instead of special ESYNCH_xx error codes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7f11dc6
|
8 years |
zarevucky.jiri |
Numerous minor error code tweaks in kernel.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@219c530
|
8 years |
zarevucky.jiri |
Make as_constructor_arch(), as_destructor_arch(), and as_create_arch() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d0c2beb
|
8 years |
zarevucky.jiri |
Make SYSIPC_OP work regardless of the return type.
Currently, the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@89ea2dc
|
8 years |
zarevucky.jiri |
Functions that return true/false should have bool as a return type.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7565a4b
|
8 years |
zarevucky.jiri |
Return error code from ipc_phone_hangup().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@62ca560
|
8 years |
zarevucky.jiri |
Add str_error() and str_error_name() to kernel, and use it to print …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3529fbf0
|
8 years |
zarevucky.jiri |
Ensure that errno.h constants aren't missing textual descriptions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@09d01f2
|
8 years |
zarevucky.jiri |
Return phones/capabilities separately from error codes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6a32cc5f
|
8 years |
zarevucky.jiri |
Handle allocation failure in task_create().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@90f20cf
|
8 years |
zarevucky.jiri |
Fix pagein. Oops.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6abda242
|
8 years |
zarevucky.jiri |
pagein_request_process() should be pagein_request_preprocess().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b2a1fd92
|
8 years |
jiri |
Separate error code from output parameter in udebug_begin().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c81132d
|
8 years |
zarevucky.jiri |
Replace casts from non-bool to bool with explicit equality check.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bd253241
|
8 years |
zarevucky.jiri |
Revert "Only return error code from udebug_begin()."
This reverts …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0016674
|
8 years |
zarevucky.jiri |
Properly handle errors in SYS_IPC_KBOX.
Also, merge the separate …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@569a51a
|
8 years |
zarevucky.jiri |
Return phone handle in SYS_IPC_CONNECT_KBOX separately from error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9233e9d
|
8 years |
zarevucky.jiri |
Return capability handle in SYS_IPC_IRQ_SUBSCRIBE separately from …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6deb2cd
|
8 years |
zarevucky.jiri |
Return capability handle in SYS_IPC_WAIT via call data structure, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9246016
|
8 years |
zarevucky.jiri |
In SYS_KLOG, pass number of bytes read separately from error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@86bbca4
|
8 years |
zarevucky.jiri |
Only return error code from udebug_begin().
Nobody should ever need …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@addbce4
|
8 years |
jakub |
Remove IPC_CALLID_* macros
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82d515e9
|
8 years |
jakub |
Fix terminology
Objects of slab_cache_t type are caches, not slabs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9ec808b
|
8 years |
jiri |
Niagara console driver buddies should share buffer definition.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d7e245a
|
8 years |
jakub |
Use ordinary errors instead of IPC_CALLRET_FATAL
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@474c68b
|
8 years |
jakub |
Do not leak call address in sys_ipc_call_async_*()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@96258fc
|
8 years |
jakub |
Free up all call capabilities when task exits
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce4a21a0
|
8 years |
jakub |
Mention IPC calls in the comment on capabilities
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@01c3bb4
|
8 years |
jakub |
Convert call-handling syscalls to capabilities
This commit modifies …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@98cb5e0d
|
8 years |
jakub |
Move cap_handle_t to abi/cap.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f571ca49
|
8 years |
jakub |
Add CAP_NIL
Sometimes it is useful to have a capability analogy of NULL.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@503ffce
|
8 years |
jakub |
Return IPC_CALLID_* in call data instead of callid
Callid will be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c0e1f5
|
8 years |
jakub |
Rework userspace call tracking
Setting the address of the userspace …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d51a0d6
|
8 years |
jakub |
Associate a kobject_t with a call_t
Let all the reference counting be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9280dd0
|
8 years |
jakub |
Remove the Simics SMP hack
We haven't had access to Simics for years …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7de5f12
|
8 years |
jiri |
MSIM console driver can use hw_res instead of sysinfo for configuration.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@14741a0
|
8 years |
Hlavaty.Ondrej |
ddi: do not assume arguments are correct
When an uspace app requests …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fe171357
|
8 years |
jakub |
Make assembler warnings fatal again for all architectures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6da15db7
|
8 years |
jakub |
Use %g1 instead of %g0 as a temporary register in setx
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c334805
|
8 years |
jakub |
Allow expansion of macro instructions
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@706b4de
|
8 years |
jakub |
Remove support for IPC_CALLRET_TEMPORARY
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d432c02
|
8 years |
jakub |
Make kernel IPC fail hard if maximum number of calls reached
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c631734
|
8 years |
zarevucky.jiri |
Mostly cleanup in uspace/Makefile.common.
- Pass -MP in addition to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7f881cd8
|
8 years |
zarevucky.jiri |
Simplify make precheck.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@315130c
|
8 years |
zarevucky.jiri |
Strip binaries using a linker option instead of calling a separate program.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c1f68b0
|
8 years |
jakub |
Use recursive mutex to protect task_t::cap_info
This makes it …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@15d9fe6
|
8 years |
jakub |
Implement recursive mutex
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7cf8522
|
8 years |
jakub |
Unpublish and free phone and IRQ capabilities in ipc_cleanup()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3dab10ae
|
8 years |
jakub |
Drop phone kobject reference when slamming the phone in answer_preprocess
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d470ec8
|
8 years |
jakub |
Maintain phone kobject reference for call_t::caller_phone
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d088616
|
8 years |
jakub |
Provide locked versions of cap_unpublish() and cap_free()
This is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dd162f6
|
8 years |
zarevucky.jiri |
Use -fdebug-prefix-map for reproducible debug info.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@37e8c4a
|
8 years |
zarevucky.jiri |
Disallow common symbols. They are never needed.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9f3e7e9
|
8 years |
zarevucky.jiri |
Add <_bits/NULL.h>
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8ddaaac
|
8 years |
zarevucky.jiri |
Support intmax_t in printf ('j' modifier).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@35ebd42
|
8 years |
zarevucky.jiri |
Fix up some type casts and format strings.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b639d56
|
8 years |
zarevucky.jiri |
Remove references to common.h from Makefiles.
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
|
|
|
@4761f54
|
8 years |
zarevucky.jiri |
Get rid of makedepend.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce732e74
|
8 years |
jakub |
Allocate capabilities from a dedicated slab cache
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a4fb8d60
|
8 years |
zarevucky.jiri |
Kill U/INTN_C().
It's only used in one place and its practical …
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
|
|
|
@c46bfbc
|
8 years |
jakub |
Allow caps_task_alloc() to fail
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05913fe7
|
8 years |
jakub |
Allow virtually unlimited number of capabilities per task
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e02bfb4
|
8 years |
zarevucky.jiri |
Remove duplicated label.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@02667d9
|
8 years |
jakub |
Resource arenas should be destructible
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d75dc05
|
8 years |
zarevucky.jiri |
Remove the unmaintained and likely broken ICC support.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ca207e0
|
8 years |
jakub |
Remove unused enums
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82cbf8c6
|
8 years |
jakub |
Replace the old hash table implementation in the kernel with the newer …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a41cda7
|
8 years |
zarevucky.jiri |
Adjust clang arguments.
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
|
|
|
@2c52073
|
8 years |
zarevucky.jiri |
Remove CONFIG_OPTIMIZE_FOR_SIZE and instead directly set OPTIMIZATION …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@68f4671
|
8 years |
zarevucky.jiri |
Revert previous commit. Looks like this was already fixed in the meantime.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@94868e1
|
8 years |
zarevucky.jiri |
Fix return of uninitialized variable.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@300f4c4
|
8 years |
jakub |
Let the resource allocator treat 0 as a valid resource
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@91b60499
|
8 years |
jakub |
Merge support for capabilities from lp:~jakub/helenos/caps
This …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6636fb19
|
8 years |
jakub |
Add comments
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@48bcf49
|
8 years |
jakub |
Introduce reference-counted kobjects
Capabilities are thus reduced to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dd20cbb
|
8 years |
jakub |
Do not return undefined value
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@866a8f3
|
8 years |
jakub |
Remove cap from type list when reclaiming
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6abfd250
|
8 years |
jakub |
Rename caps_apply_to_all to caps_apply_to_type
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9e87562
|
8 years |
jakub |
Make all accesses to capabilites exclusive
This commit makes sure …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e5f5ce0
|
8 years |
jakub |
Create a slab cache for allocating phone_t structures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@431c402
|
8 years |
jakub |
Create a slab cache for allocating irq_t structures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fa32c9f
|
8 years |
jakub |
Fix getting of the kobject address
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63d8f43
|
8 years |
jakub |
Allocate the kobjects referenced by capabilities dynamically
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@30c27e9
|
8 years |
jakub |
Improve comments
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a5d0143
|
8 years |
jakub |
Improve comments
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3422fb6
|
8 years |
jakub |
Do not register IRQs inside of answerboxes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9306cd7
|
8 years |
jakub |
Make IRQ subscribe/unsubscribe thread safe again
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4d6629f
|
8 years |
jakub |
Remove unused connection cloning
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8a45bf09
|
8 years |
jakub |
Improve comments
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d81eb6
|
8 years |
jakub |
Copy entire ipc_data_t to uspace on answer
This is necessary so that …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@295ee02
|
8 years |
martin |
riscv64: disable interrupts when halting the CPU
move all CPU-related …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bb3ba51
|
8 years |
martin |
riscv64: atomic operations
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0a78e4f
|
8 years |
martin |
riscv64: cycle performance counter
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d639eaa
|
8 years |
martin |
riscv64: update linker script, kernel functionality up to scheduling
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7850dda
|
8 years |
martin |
riscv64: temporarily workaround GCC 7.1.0 internal compiler error
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|