Commit Graph

81 Commits

Author SHA1 Message Date
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 2cc33be4be Removed temporary files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15401 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-23 06:29:33 +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 33540de167 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15375 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-01-18 10:32:57 +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 59684fb925 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15364 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-01-16 12:47:32 +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 62ea184237 Fixed initial stack setup.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15361 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-15 18:00:49 +00:00
Giovanni Di Sirio 35c733568a Some more optimizations.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15360 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-15 17:19:17 +00:00
Giovanni Di Sirio 305bc3a8ed Size optimizations.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15359 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-15 16:57:24 +00:00
Giovanni Di Sirio c1ee7b08b5 Added sbExec() function.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15358 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-15 13:29:11 +00:00
Giovanni Di Sirio c65d695093 Loading and passing arguments/variables working now.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15357 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-14 12:51:03 +00:00
Giovanni Di Sirio 077634725f More memory checking code.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15356 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-13 20:02:03 +00:00
Giovanni Di Sirio 277d9540a3 Fixed wrong condition in sbIsThreadRunningX().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15355 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-13 14:49:25 +00:00
Giovanni Di Sirio 6047661c76 Extended SB header, all relocations working.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15354 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-13 13:42:29 +00:00
Giovanni Di Sirio f2083ce6d6 Support for arguments and environment variables, to be completed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15353 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-13 10:53:55 +00:00
Giovanni Di Sirio d6eb9a4d94 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15351 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-01-13 09:50:04 +00:00
Giovanni Di Sirio fc682f0337 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15346 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-01-12 13:58:10 +00:00
Giovanni Di Sirio e3e8d3d645 Improved loader. More memory check functions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15345 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-12 13:00:47 +00:00
Giovanni Di Sirio b48f8ebdaa Some renaming for consistency, new check function added, documentation fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15344 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-12 09:04:41 +00:00
Giovanni Di Sirio 44ccf3952d git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15343 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-01-11 14:01:19 +00:00
Giovanni Di Sirio 484b515ee1 Fixed an LD behavior when sections are empty (always WRITE ALLOC).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15342 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-11 11:01:57 +00:00
Giovanni Di Sirio 3bceb7fd9d git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15340 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-01-10 16:36:03 +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 ea26424d45 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15323 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-01-09 06:18:43 +00:00
Giovanni Di Sirio c4de483c47 Worked on a very simple test case.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15322 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-08 14:37:32 +00:00
Giovanni Di Sirio 37010bf285 Still bugs to be fixed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15321 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-08 14:11:29 +00:00
Giovanni Di Sirio a782af6212 More work on the loader, still not finished.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15320 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-08 12:47:49 +00:00
Giovanni Di Sirio ac756cdf84 Debug pass on the loader, it is not finished yet.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15319 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-07 13:02:28 +00:00
Giovanni Di Sirio 4532dd9243 More loader code, not finished yet.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15318 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-06 08:01:46 +00:00
Giovanni Di Sirio 9ab7bf1d5b Experimental code.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15317 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-05 10:10:43 +00:00
Giovanni Di Sirio 7f29f49f66 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15316 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-01-04 12:58:43 +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 f0ce0fddbd Added directory functions missing in the embedded library.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15307 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2022-01-02 10:14:41 +00:00
Giovanni Di Sirio 7677592f4a git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15303 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2022-01-01 17:25:16 +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 a557acbcd2 Simplified some SB Posix stuff.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15297 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-31 14:06:43 +00:00
Giovanni Di Sirio 2b7b971aaa Unified stat() for both files and directories.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15294 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-31 08:21:52 +00:00
Giovanni Di Sirio 068ebf8f21 Fixed node modes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15293 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-30 17:57:25 +00:00
Giovanni Di Sirio 389071a42a Added 2 new sandbox applications for testing.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15291 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-30 12:26:38 +00:00
Giovanni Di Sirio 32e59f57fd Simplified lseek() implementation.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15283 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-29 21:02:00 +00:00
Giovanni Di Sirio 0bfd995bc9 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15282 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 2021-12-29 20:10:52 +00:00
Giovanni Di Sirio 6751fc38ee SB-VFS integration working in the demo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15280 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-29 16:00:10 +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 6c35d59058 Better mapping of Posix error codes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15268 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-27 13:25:13 +00:00
Giovanni Di Sirio 6810ebca2d Added a configuration file for sandboxes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15267 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-27 12:56:46 +00:00
Giovanni Di Sirio 046eefc043 Changed SB configuration options names to be prefixed with SB_CFG_.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15266 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-12-27 12:35:47 +00:00
Giovanni Di Sirio 0d3278d54f Renamed memory_region_t in memory_area_t because naming confusion with MPU regions.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15098 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
2021-11-16 18:02:57 +00:00