Commit Graph

42 Commits

Author SHA1 Message Date
Giovanni Di Sirio 922dd0c3c5 Fixed some regressions in SB and demos.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16250 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2023-05-21 10:44:27 +00:00
Giovanni Di Sirio 9a75b5ff5a Simplified VFS bindings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15791 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-19 09:10:07 +00:00
Giovanni Di Sirio 7e258336ad Reorganized system call numbers, another small optimization.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15782 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-11 08:25:28 +00:00
Giovanni Di Sirio 3b7d518f32 More small gains.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15781 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-10 14:29:52 +00:00
Giovanni Di Sirio 8d3f1beaff Syscall and VRQ return paths improved.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15780 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-10 13:56:17 +00:00
Giovanni Di Sirio 4d0df2442b Optimizations, stable point, not finished.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15779 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-10 12:13:40 +00:00
Giovanni Di Sirio 662045f991 Relocated some definitions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15772 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-08 12:01:40 +00:00
Giovanni Di Sirio 97df73ffdc Extended the range of fastcalls to 128...255.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15771 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-08 11:58:33 +00:00
Giovanni Di Sirio 940754b2cf SB fastcalls support enabled, much better performance for guest RTOSes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15769 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-07 10:05:15 +00:00
Giovanni Di Sirio c1d2a487bb Moved code around for clarity, preparing for "fastcalls".
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15768 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-06 17:59:37 +00:00
Giovanni Di Sirio 629e810f65 SB fastcalls support, not complete.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15766 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-09-06 13:12:32 +00:00
Giovanni Di Sirio 7690f84348 Mass change: Source code convention changed from CRLF to just CR (Unix).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15741 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-08-29 15:54:32 +00:00
Giovanni Di Sirio 3e910146e9 Added sandbox alarms API.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15634 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-05-24 09:44:53 +00:00
Giovanni Di Sirio 891014a9ab Implemented VRQ-wait pseudo instuctions, fixed some more problems in VRQ handling.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15631 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-05-19 13:28:53 +00:00
Giovanni Di Sirio c696466411 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15625 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-05-15 07:45:48 +00:00
Giovanni Di Sirio 57f0dcf26d More virtual IRQs code.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15621 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-05-09 13:38:58 +00:00
Giovanni Di Sirio 9484875fef Preparation for SB Virtual IRQs. Removed some obsolete code from SBs.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15618 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-04-30 09:57:04 +00:00
Giovanni Di Sirio ea65dbbe74 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15462 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-02-15 12:28:21 +00:00
Giovanni Di Sirio 0f368ef8b8 Added "mode" parameter to mkdir().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15429 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-02-02 18:42:19 +00:00
Giovanni Di Sirio 00684c677d Removed legacy stdio in SBs.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15410 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-27 08:40:53 +00:00
Giovanni Di Sirio 3ee7d28428 Added chdir() and getcwd().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15381 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-21 09:20:28 +00:00
Giovanni Di Sirio d35ba8cd7e git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15368 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-01-17 14:53:26 +00:00
Giovanni Di Sirio 377fdec495 Implemented sandbox state cleanup on exit() or exception.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15363 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-16 09:11:15 +00:00
Giovanni Di Sirio 9fa0d5ecf8 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15339 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-01-09 16:28:18 +00:00
Giovanni Di Sirio 913887ce72 Bugs fixed, many more to fix.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15311 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-02 14:04:44 +00:00
Giovanni Di Sirio b4eeb2918f Added fstat().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15300 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-01 06:09:08 +00:00
Giovanni Di Sirio 4c5b9b9421 Added dup() and dup2().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15299 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-31 16:33:23 +00:00
Giovanni Di Sirio c6015620db git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15274 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-12-28 14:01:59 +00:00
Giovanni Di Sirio d0cc26c4ed Documentation-related fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14907 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-13 12:47:39 +00:00
Giovanni Di Sirio de716ad412 Fixed SB messages with timeout.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14905 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-13 09:27:02 +00:00
Giovanni Di Sirio b84aca5137 Added a global event for sandboxes monitoring.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14899 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-10-12 07:17:56 +00:00
Giovanni Di Sirio 8646bb3153 License update.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14105 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-03-29 15:24:45 +00:00
Giovanni Di Sirio 3500272800 Adopted Posix-like error codes for the sandbox. Implemented stdin, stdout and stderr as separate streams.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12990 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2019-09-15 06:42:02 +00:00
Giovanni Di Sirio f7d500c20f Posix API preparation, not complete. Added license checks for SB.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12989 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2019-09-14 15:44:50 +00:00
Giovanni Di Sirio 0ee0140b2b White space fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12987 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2019-09-13 15:25:54 +00:00
Giovanni Di Sirio 3de1374e38 Removed regarm_t from ARMCMx port, changed SB API return method.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12986 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2019-09-13 15:24:41 +00:00
Giovanni Di Sirio 43d1c573bc Code organization changes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12985 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2019-09-13 14:48:51 +00:00
Giovanni Di Sirio bba90d0866 Fixes and new sbWait() API.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12984 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2019-09-13 13:54:25 +00:00
Giovanni Di Sirio ad2a66cd42 Better errors handling.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12983 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2019-09-13 13:41:54 +00:00
Giovanni Di Sirio 9c7d9ba26e More API.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12982 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2019-09-13 08:22:10 +00:00
Giovanni Di Sirio 26b29a6925 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12981 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2019-09-12 12:38:58 +00:00
Giovanni Di Sirio a2e373d78d Missing files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12979 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2019-09-11 04:18:11 +00:00