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
Ludwig Ortmann
81f3ddde44
free reference pointer, fix indentation
2013-10-13 20:45:35 +02:00
Ludwig Ortmann
21a0f39867
valgrind support
2013-10-09 15:20:59 +02:00
Ludwig Ortmann
47b6e62982
fix native ctxt switches
...
fix disableIRQ (remove context switch)
fix enableIRQ (make context switch delay-safe)
change interrupts-off signal-catch behaviour from error to warning
add context switch memory location warning
2013-10-04 10:44:39 +02:00
Ludwig Ortmann
24b2cfd95a
general clean up
...
make some variables volatile
remove rx_buffer_next from header
more DEBUG output
fix warnings
coding conventions
change puts to DEBUG
rename end-context/stack
2013-09-30 18:03:53 +02:00
Ludwig Ortmann
747d33e666
fix warning for sa.sa_sigaction assignments
2013-08-21 15:13:09 +02:00
Ludwig Ortmann
52b4370e7d
fix register_interrupt callback parameter
2013-08-18 11:25:43 +02:00
Ludwig Ortmann
708ece68cc
cc1100 -> nativenet
2013-08-15 14:05:26 +02:00
Ludwig Ortmann
a634709c00
native cc1100x_ng network
...
not properly passing received data to transceiver atm
2013-08-15 14:05:26 +02:00
Oleg Hahm
39a4dc684e
fixes for #62 : eliminate unused parameter warnings
...
NOTE: this commit introduces a kernel API change for mutex_unlock
2013-08-04 04:10:33 +02:00
Oliver Hahm
c8bee9e554
fixed coding style (space after most keywords)
2013-06-24 22:37:35 +02:00
Oliver Hahm
5d70656343
fixed coding conventions (mostly by astyle)
2013-06-21 03:52:57 +02:00
Oliver Hahm
ac10da4509
Merge branch 'fixes-06-14' of git://github.com/mehlis/RIOT into mehlis-fixes-06-14
2013-06-18 17:25:44 +02:00
Oliver Hahm
0d6d8390c0
* updated copyright and license headers in various files
2013-06-18 17:21:38 +02:00
Martin
d32b785816
fix inserted explicit typecasting to ucontext_t* at assignment
2013-06-14 20:21:22 +02:00
Ludwig Ortmann
49228c8353
fix signal handler, ringbuffer for native FreeBSD
2013-06-03 13:23:57 +02:00
Ludwig Ortmann
4f0e4dec90
fix ucontext.h include for OSX, FreeBSD
2013-06-03 13:10:42 +02:00
Martin
d0ea87524c
fixed missing include
2013-06-01 08:28:47 -07:00
Ludwig Ortmann
42f897fc4a
use NSIG macro from signal.h for number of signals
2013-05-21 10:53:59 +02:00
Ludwig Ortmann
35f9062e37
inital OSX support for native port
2013-05-15 17:45:43 +02:00
Ludwig Ortmann
c6553f6492
interrupt handling rewrite
...
(including uart0 integration, rt-extension removal)
2013-05-14 18:31:47 +02:00
Ludwig Ortmann
2d29a26b64
fix stack and interrupt bugs
2013-04-15 20:08:46 +02:00
Ludwig Ortmann
1197314093
native cpu fixes
...
init hwtimer with interrupts enabled
more error checking for hwtimer
fix signal handler init in hwtimer
error checking for irq (not necessary yet afaik)
2013-03-21 16:55:57 +01:00
Ludwig Ortmann
f8f9557b0b
fix error message
2013-03-13 22:00:41 +01:00
Ludwig Ortmann
175300e58c
add native cpu doxygen documentation,
...
also fix and improve some of the existing
2013-03-13 21:56:56 +01:00
Ludwig Ortmann
795ab695c0
copyright preambel
2013-03-06 10:29:49 +01:00
Ludwig Ortmann
d65536f77b
native cpu initial import
2013-03-06 01:08:15 +01:00