Commit Graph

122 Commits

Author SHA1 Message Date
NIIBE Yutaka
c73258138c Use chx_running function.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2019-11-19 08:40:38 +09:00
NIIBE Yutaka
2180ed24be Rename internal functions to express meaning well.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2019-11-18 13:04:12 +09:00
NIIBE Yutaka
b70de1b98d Change chx_ready_pop implementation.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2019-11-18 11:55:22 +09:00
NIIBE Yutaka
355482550b New: ticks_to_usec.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2019-11-18 08:28:05 +09:00
NIIBE Yutaka
79305c3de4 Allow calling chopstx_claim_irq when ready (disabled). 2019-05-10 12:05:35 +09:00
NIIBE Yutaka
02ca3a6cd5 Fix typo in copyright notice. 2019-03-26 18:18:39 +09:00
NIIBE Yutaka
aeea3c31f8 Version 1.14. 2019-03-02 08:48:11 +09:00
NIIBE Yutaka
078c8db5d7 Minor code-cleanup for priority inheritance. 2019-02-22 09:52:28 +09:00
NIIBE Yutaka
1ef6256784 Fix calculation of ticks remained. 2018-12-08 10:06:33 +09:00
NIIBE Yutaka
1400e677e3 Change behavior of chopstx_poll to correctly update *USEC_P. 2018-12-07 18:01:39 +09:00
NIIBE Yutaka
0ed2e95ea2 Fix ackbtn clearing the edge detector. 2018-10-01 12:56:41 +09:00
NIIBE Yutaka
02aa678d4c Fix interrupt handling. 2018-10-01 10:10:09 +09:00
NIIBE Yutaka
e420168c82 doc: Update chopstx-api.texi. 2018-09-27 15:14:00 +09:00
NIIBE Yutaka
d4f4f80ad9 New API: chopstx_intr_done. 2018-09-26 10:18:23 +09:00
NIIBE Yutaka
530ddcfeda Fix timer expiration. 2017-12-16 15:00:55 +09:00
NIIBE Yutaka
378201a1c7 Call chx_sleep_mode change. 2017-11-17 11:28:05 +09:00
NIIBE Yutaka
b34b9b6440 Use HSI clock on sleep mode for STM32F103. 2017-11-16 13:04:08 +09:00
NIIBE Yutaka
3552fc5615 chopstx_poll: Use const pointer for the third argument. 2017-11-16 09:15:03 +09:00
NIIBE Yutaka
83643c53ca Use event instead of interrupt (STM32F103 USB). 2017-11-16 08:39:30 +09:00
NIIBE Yutaka
941a8f6fbd Add chx_sleep_mode. 2017-11-15 17:09:30 +09:00
NIIBE Yutaka
f161928b0b Support sleep on idle. 2017-11-15 10:22:30 +09:00
NIIBE Yutaka
b572e3f8e0 Fix timeout. 2017-11-10 16:09:32 +09:00
NIIBE Yutaka
1bd14d8d40 Factor out arch dependent code. 2017-06-23 09:03:26 +09:00
NIIBE Yutaka
80258ba7c7 Remove naked attribute from chopstx_exit. 2017-06-22 10:04:45 +09:00
NIIBE Yutaka
ca1b22c3eb Use ->V for the return value of chx_sched. 2017-06-21 20:48:50 +09:00
NIIBE Yutaka
6c68c55301 Change exit value access. 2017-06-21 17:16:01 +09:00
NIIBE Yutaka
d941299149 Fix chx_wakeup. 2017-06-16 10:31:40 +09:00
NIIBE Yutaka
7798e620a6 Fix access to REG_R0 at chx_wakeup. 2017-05-18 11:09:03 +09:00
NIIBE Yutaka
bc664fe943 chopstx_join is cancellation point. 2016-10-12 12:06:37 +09:00
NIIBE Yutaka
f5880ee5d5 Change API of chopstx_setpriority 2016-07-01 09:51:32 +09:00
NIIBE Yutaka
a2a29146a6 const pointer cleanup 2016-06-30 16:23:29 +09:00
NIIBE Yutaka
986518fba7 fix setpriority 2016-06-29 16:36:53 +09:00
NIIBE Yutaka
15a4403f24 chopstx_poll change 2016-06-28 15:48:15 +09:00
Niibe Yutaka
52626a3368 chopstx_exit change 2016-06-15 12:41:12 +09:00
NIIBE Yutaka
a756987d2a Fix chx_fatal 2016-06-01 07:47:58 +09:00
NIIBE Yutaka
e02f2e71e6 Fix f2a8b01607 2016-05-31 14:18:12 +09:00
NIIBE Yutaka
f2a8b01607 Fix IDLE thread 2016-05-27 16:19:02 +09:00
NIIBE Yutaka
2704416c38 Fix PSR handling (ORRS instruction changes PSR) 2016-05-23 20:15:47 +09:00
NIIBE Yutaka
77255b0c1d Fix chopstx_poll 2016-05-23 17:45:10 +09:00
NIIBE Yutaka
ee92bb15b3 Remove deprecated API 2016-05-23 13:00:33 +09:00
NIIBE Yutaka
db413813b6 eventflag rewrite 2016-05-18 16:52:00 +09:00
NIIBE Yutaka
cea3200e48 Cleanup chopstx.c 2016-05-18 13:27:00 +09:00
NIIBE Yutaka
d93206882d Fix mutex_lock and join 2016-05-18 11:40:15 +09:00
NIIBE Yutaka
dce6c70ffc more fix for chopstx_poll 2016-05-17 17:51:41 +09:00
NIIBE Yutaka
3651aa64b4 ll_dequeue for PX only when not ready 2016-05-16 20:37:33 +09:00
NIIBE Yutaka
98977937cb fix chx_wakeup 2016-05-16 18:00:41 +09:00
NIIBE Yutaka
b7c6dadcfb Fix IRQ handling and improve cancellation implementation 2016-05-16 14:50:04 +09:00
NIIBE Yutaka
a82acac8df Bug fix for interrupt preemption 2016-05-13 22:27:56 +09:00
NIIBE Yutaka
206f2a5f07 Fix intr_wait 2016-05-13 17:51:12 +09:00
NIIBE Yutaka
5046dd45f2 IRQ handling is now merged into polling 2016-05-13 16:35:35 +09:00