aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/lwip_bindings
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-03-18 10:29:35 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-03-18 10:29:35 +0000
commitb3fe630e4bab9a0af6f514ba086b26a1183fd333 (patch)
tree37ca76e6c31bc57d6c3e2f2e98c023142f579534 /os/various/lwip_bindings
parentab961a54e0cc898315cf60d224d68b2c9547b1dc (diff)
downloadChibiOS-b3fe630e4bab9a0af6f514ba086b26a1183fd333.tar.gz
ChibiOS-b3fe630e4bab9a0af6f514ba086b26a1183fd333.tar.bz2
ChibiOS-b3fe630e4bab9a0af6f514ba086b26a1183fd333.zip
Mass license update.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9136 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/various/lwip_bindings')
-rw-r--r--os/various/lwip_bindings/arch/cc.h2
-rw-r--r--os/various/lwip_bindings/arch/perf.h2
-rw-r--r--os/various/lwip_bindings/arch/sys_arch.c28
-rw-r--r--os/various/lwip_bindings/arch/sys_arch.h2
-rw-r--r--os/various/lwip_bindings/lwipthread.c2
-rw-r--r--os/various/lwip_bindings/lwipthread.h2
6 files changed, 19 insertions, 19 deletions
diff --git a/os/various/lwip_bindings/arch/cc.h b/os/various/lwip_bindings/arch/cc.h
index f17744455..eb47666dd 100644
--- a/os/various/lwip_bindings/arch/cc.h
+++ b/os/various/lwip_bindings/arch/cc.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/lwip_bindings/arch/perf.h b/os/various/lwip_bindings/arch/perf.h
index 24dba0c54..d8f280dd3 100644
--- a/os/various/lwip_bindings/arch/perf.h
+++ b/os/various/lwip_bindings/arch/perf.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/lwip_bindings/arch/sys_arch.c b/os/various/lwip_bindings/arch/sys_arch.c
index 40577f2bc..091c9ab96 100644
--- a/os/various/lwip_bindings/arch/sys_arch.c
+++ b/os/various/lwip_bindings/arch/sys_arch.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -96,13 +96,13 @@ void sys_sem_signal_S(sys_sem_t *sem) {
chSemSignalI(*sem);
chSchRescheduleS();
-}
-
-u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout) {
- systime_t tmo, start, remaining;
-
- osalSysLock();
- tmo = timeout > 0 ? MS2ST((systime_t)timeout) : TIME_INFINITE;
+}
+
+u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t timeout) {
+ systime_t tmo, start, remaining;
+
+ osalSysLock();
+ tmo = timeout > 0 ? MS2ST((systime_t)timeout) : TIME_INFINITE;
start = osalOsGetSystemTimeX();
if (chSemWaitTimeoutS(*sem, tmo) != MSG_OK) {
osalSysUnlock();
@@ -168,13 +168,13 @@ err_t sys_mbox_trypost(sys_mbox_t *mbox, void *msg) {
return ERR_MEM;
}
return ERR_OK;
-}
-
-u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeout) {
+}
+
+u32_t sys_arch_mbox_fetch(sys_mbox_t *mbox, void **msg, u32_t timeout) {
systime_t tmo, start, remaining;
-
- osalSysLock();
- tmo = timeout > 0 ? MS2ST((systime_t)timeout) : TIME_INFINITE;
+
+ osalSysLock();
+ tmo = timeout > 0 ? MS2ST((systime_t)timeout) : TIME_INFINITE;
start = osalOsGetSystemTimeX();
if (chMBFetchS(*mbox, (msg_t *)msg, tmo) != MSG_OK) {
osalSysUnlock();
diff --git a/os/various/lwip_bindings/arch/sys_arch.h b/os/various/lwip_bindings/arch/sys_arch.h
index dd1a80ee4..a86f40b97 100644
--- a/os/various/lwip_bindings/arch/sys_arch.h
+++ b/os/various/lwip_bindings/arch/sys_arch.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/lwip_bindings/lwipthread.c b/os/various/lwip_bindings/lwipthread.c
index a94ca33ce..56442bab3 100644
--- a/os/various/lwip_bindings/lwipthread.c
+++ b/os/various/lwip_bindings/lwipthread.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/os/various/lwip_bindings/lwipthread.h b/os/various/lwip_bindings/lwipthread.h
index 8b76eb67e..b921f0280 100644
--- a/os/various/lwip_bindings/lwipthread.h
+++ b/os/various/lwip_bindings/lwipthread.h
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.