4291c1f839
native: support add periph/pm support
2017-01-12 11:24:15 +01:00
0194091673
remove obsolete lpm code
2017-01-12 11:24:15 +01:00
Ludwig Ortmann
83886d61c7
native: start with interrupts disabled
2016-10-15 07:50:44 +02:00
Ludwig Ortmann
3b6d0595ef
native: indicate interrupt status in ISR context
2016-10-15 07:50:44 +02:00
Ludwig Ortmann
535eda8805
native: improve comments, coding style
2016-10-15 07:40:49 +02:00
Joakim Nohlgård
b02e0eca47
ps: Add current stack pointer and start of stack to isr_stack ps output (DEVELHELP)
2016-07-12 10:17:49 +02:00
Yonezawa-T2
1ce140d910
debug: fix compilation error for %p formatter
2016-03-29 11:46:29 +09:00
DipSwitch
0bb4748a94
core: Fix/refactor function naming in core/incude/irq.h
2016-03-20 16:47:34 +01:00
effb15a2cc
Merge pull request #3313 from gebart/pr/eINT-fixes
...
eINT/dINT fixes
2015-09-29 12:39:16 +02:00
Ludwig Knüpfer
eda6328e21
documentation: update my name (Ortmann -> Knüpfer)
2015-09-27 18:58:30 +02:00
Joakim Gebart
27565a655e
cpu/native: remove dINT/eINT definitions
2015-09-19 10:38:18 +02:00
Oleg Hahm
49917a5797
core: cpu: fix check for DEVELHELP
2015-09-12 12:43:15 +02:00
Benoît Canet
ced541cc67
native: irq_cpu: Rewrite IRQs (de)registration
2015-07-09 02:43:04 +02:00
Benoît Canet
4832a1a6b0
native: irq_cpu: Whitelist signals
2015-07-09 02:43:03 +02:00
Benoît Canet
a035d27414
native: irq_cpu: Make IRQ enabling/disabling safe
2015-07-09 02:43:01 +02:00
Ludwig Ortmann
015f5598e4
native: cleanup irq_cpu, native_cpu debug output
2014-12-04 10:48:15 +01:00
Ludwig Ortmann
eb2cc522cd
native: forced debug message for SIGUSR1
2014-12-04 10:38:12 +01:00
Ludwig Ortmann
a1b530a98d
native: shutdown -> native_shutdown
2014-11-14 20:51:34 +01:00
Oleg Hahm
eb40993d8b
native: remove obsolete line
2014-10-30 16:37:10 +01:00
Oleg Hahm
9a61d8cf1c
core: move optional tcb members to DEVELHELP
2014-10-30 16:37:10 +01:00
Ludwig Ortmann
7bcf896ec6
native: add and use callback type
2014-10-30 12:11:22 +01:00
Ludwig Ortmann
3d29a9e3d3
native: add support for Linux on ARM
2014-09-04 16:39:33 +02:00
René Kijewski
a79d9c8562
native: remove redeclarations of sched_active_thread
2014-08-14 13:21:17 +02:00
Ludwig Ortmann
3ca4f18479
doc: use lgplv2.1-short license header instead of lgpl-short-riot
2014-07-31 22:57:20 +02:00
Ludwig Ortmann
bea563d1da
Fix a few cppcheck findings
2014-07-25 08:17:06 +02:00
René Kijewski
2e9a1773e9
native: use real_pipe()
and read_close()
2014-06-14 00:39:02 +02:00
Oleg Hahm
ef5ec344fd
core: prefix API functions correctly
...
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
2014-05-18 08:53:20 +02:00
Ludwig Ortmann
98bbb80571
documentation: append my email to my name everywhere
2014-05-15 18:07:17 +02:00
Ludwig Ortmann
e0a1217f20
native: refactor one debug/errx use in irq_cpu.c
2014-05-15 11:37:18 +02:00
René Kijewski
9a9caf2c68
Exterminate old-style function definitions
2014-05-12 21:57:09 +02:00
Ludwig Ortmann
42aa3d9f5b
native: update support for FreeBSD
...
works with FreeBSD 10.0 amd64/i386
fixes : #505
2014-04-20 07:31:40 +02:00
Ludwig Ortmann
176f379c7a
dont err() but warn() if no thread exists in native_isr_entry
2014-01-29 18:44:42 +01:00
Ludwig Ortmann
796b656e31
force-debug (eINT && in_isr) in DEVELHELP
2014-01-29 18:44:42 +01:00
Ludwig Ortmann
6f5d4dcdb4
block all signals per default
2014-01-29 18:44:42 +01:00
Ludwig Ortmann
0766b92f7b
Don't unblock signals again.
...
A late signal could kill the process otherwise.
2014-01-29 18:44:42 +01:00
Ludwig Ortmann
2c80f68d62
handle more errors and remove race condition in native_isr_entry
2014-01-29 18:44:42 +01:00
Ludwig Ortmann
855eea6a53
add missing newlines
2014-01-22 18:26:53 +01:00
Ludwig Ortmann
2b4a323a18
unclutter native_isr_entry a bit
...
remove heap_address - hopefully superflous, does not work in valgrind
remove stale TODO
2014-01-21 17:39:43 +01:00
Ludwig Ortmann
98a2d554b5
osx fixes
2014-01-21 12:30:53 +01:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Ludwig Ortmann
2f53c0d32f
rework sigmasks
...
only mask signals actively being used
always enable shutdown
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
0c6050a814
mask all signals in signal handler
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
5e1eadc353
add in_isr sighndl safeguard
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
3a04671912
replace 1 with EXIT_FAILURE in all err calls
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
3ca8181c73
reset context before makecontext call, check
...
check return value of swapcontext
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
2c7070bf0c
disable interrupts for sighnd ctx switch
2013-11-13 00:01:42 +01:00
Ludwig Ortmann
9f080c54c6
fix race in thread_yield, cpu_switch_context_exit
...
call *context only with interrupts disabled, use isr trampoline for
this if necessary
2013-11-13 00:01:42 +01:00
Ludwig Ortmann
7b9d199ec8
make system calls safer/clean up headers
...
wrap some libc functions that do system calls (terminal output)
wrap read/write with syscall guard
define real_read/write (next dynamic linker find for read/write)
guard system calls in remaining code
introduce native_internhal.h
throw out some debug statements that break things
clean up includes a bit
declare board_init in native_internhal.h
add -ldl to LINKFLAGS for cpu/syscalls
2013-11-13 00:01:42 +01:00
Ludwig Ortmann
45c9f92b5e
implement graceful shutdown in native
2013-10-23 23:16:45 +02:00
Ludwig Ortmann
4c5273211b
fix signal handler context switch
2013-10-18 14:23:58 +02:00