Commit Graph

53 Commits

Author SHA1 Message Date
whitequark cf3a9e04b8 libbase: add const qualifiers. 2015-08-08 12:16:27 +03:00
whitequark 94cb3cbcf6 libbase: define intptr_t. 2015-07-30 10:55:12 +03:00
whitequark b2710e437c Add a stub pthread header.
The header implements only the pthread rwlock interface, which
never actually locks.

This is necessary to build libunwind.
2015-07-26 12:54:40 +03:00
whitequark 5502cec3da Add basic inttypes.h.
This is taken from glibc. Only PRI* definitions are imported;
functions are not.
2015-07-26 12:44:13 +03:00
whitequark eef1aa77ef Mark abort() as __attribute__((noreturn)). 2015-07-26 12:43:22 +03:00
Sebastien Bourdeauducq 1d9771f574 spiflash: use SoC defines, add write_to_flash function 2015-04-27 13:42:32 +08:00
Yann Sionneau edb1622668 spiflash: BB write support 2014-11-27 23:10:39 +08:00
Sebastien Bourdeauducq 410f250d2a software: remove setjmp 2014-09-23 21:57:05 +08:00
Sebastien Bourdeauducq 14d53526be libbase: use __builtin_setjmp and __builtin_longjmp 2014-09-21 17:43:17 +08:00
Sebastien Bourdeauducq 1c08aeb21c Initial mor1kx (OpenRISC) support
Based on milkymist-ng-mor1kx by Stefan Kristiansson
2014-05-14 10:24:56 +02:00
Sebastien Bourdeauducq c3d0985fb2 add L2 cache size in identifier + function to flush L2 2013-11-16 16:27:21 +01:00
Sebastien Bourdeauducq d7a4d8b66e use git commit id as version 2013-11-09 16:38:44 +01:00
Sebastien Bourdeauducq 0b881d934f rename milkymist-ng to MiSoC 2013-11-09 15:27:32 +01:00
Sebastien Bourdeauducq e42a42ce40 software: move time.c to libbase 2013-07-11 19:00:48 +02:00
Sebastien Bourdeauducq cbd621ef2c software/stdlib: fix atoi 2013-05-31 14:44:52 +02:00
Sebastien Bourdeauducq 3eb41f73e6 Simplify system ID 2013-05-19 19:44:00 +02:00
Sebastien Bourdeauducq 581cf5bcb8 timer: atomic reads 2013-05-13 17:18:30 +02:00
Sebastien Bourdeauducq 6a54276d55 software/include/base: C++ compatibility 2013-03-25 14:38:58 +01:00
Sebastien Bourdeauducq 80f3e97ca9 software/stddef.h: c++ compat for NULL 2013-03-24 00:17:42 +01:00
Sebastien Bourdeauducq a94ee3884f software/include: add float.h 2013-01-12 10:57:43 +01:00
Sebastien Bourdeauducq 83f562a76c software/include: add stdbool.h 2013-01-12 10:51:07 +01:00
Sebastien Bourdeauducq d576893bda software/include/base/stdint.h: add INT32_C 2013-01-10 17:58:17 +01:00
Sebastien Bourdeauducq b0503aaf85 software/include/base/stdint.h: more definitions 2013-01-10 17:10:29 +01:00
Sebastien Bourdeauducq 59f4490630 software/libbase: qsort 2012-06-04 19:45:13 +02:00
Sebastien Bourdeauducq 2dc346dfd6 base/stdlib.h: abs/labs 2012-06-04 19:41:49 +02:00
Sebastien Bourdeauducq b4f49cc48f software/base/limits.h: add some more 2012-06-04 19:41:41 +02:00
Sebastien Bourdeauducq ebed9ca6f8 software/libbase: add fseek+ftell decls 2012-06-03 21:32:36 +02:00
Sebastien Bourdeauducq 964dc8050c software: stdarg.h: cleanup and add va_copy 2012-06-02 17:12:37 +02:00
Sebastien Bourdeauducq 5fe1aade34 software/libbase: uintptr_t 2012-06-02 00:16:38 +02:00
Sebastien Bourdeauducq 8fa0198089 software/libbase: add strcat strncat 2012-05-31 21:03:52 +02:00
Sebastien Bourdeauducq b13bc6ed64 software/libbase: add some more types 2012-05-31 20:16:24 +02:00
Sebastien Bourdeauducq 771a27d964 software/libbase: add strerror 2012-05-28 19:48:11 +02:00
Sebastien Bourdeauducq e115eb08fb software/libbase: fix stupid mistake in limits.h 2012-05-28 19:32:38 +02:00
Sebastien Bourdeauducq 2428057c2f software/libbase: malloc family decl in stdlib 2012-05-28 17:20:06 +02:00
Sebastien Bourdeauducq 56e201fd5d software/libbase: more file decls in stdio 2012-05-28 17:17:13 +02:00
Sebastien Bourdeauducq 4dbc938f7c software: more string functions 2012-05-25 23:26:43 +02:00
Sebastien Bourdeauducq 99070f0afd software/libbase: errno 2012-05-25 23:24:53 +02:00
Sebastien Bourdeauducq 0b99cbf7b9 software/libbase: provide getenv declaration 2012-05-25 22:50:30 +02:00
Sebastien Bourdeauducq 37b578854b software/libbase: provide file I/O declaration 2012-05-25 22:45:28 +02:00
Sebastien Bourdeauducq cd546edc19 software/libbase: stddef.h 2012-05-25 22:30:17 +02:00
Sebastien Bourdeauducq fdc7da5826 software/libbase: improve limits.h 2012-05-25 22:29:37 +02:00
Sebastien Bourdeauducq 598498ec2b libbase: setjmp/longjmp 2012-05-25 22:28:38 +02:00
Sebastien Bourdeauducq 8e0461121f software/libbase: srand and RAND_MAX 2012-05-25 18:57:23 +02:00
Sebastien Bourdeauducq 22f7d1716e Remove some boilerplate 2012-05-24 19:22:27 +02:00
Sebastien Bourdeauducq 2500e71cb7 software: merge libextra into libbase 2012-05-24 19:01:47 +02:00
Sebastien Bourdeauducq f6f42293d1 Clock frequency detection 2012-05-22 13:23:44 +02:00
Sebastien Bourdeauducq 79124d822b Identifier 2012-05-17 01:41:41 +02:00
Sebastien Bourdeauducq bb798176fc Common include files 2012-05-16 10:20:04 +02:00
Sebastien Bourdeauducq 73fce59631 software: shell from original BIOS 2012-02-07 15:02:44 +01:00
Sebastien Bourdeauducq a40b0ea175 software: fix size_t and ptrdiff_t 2012-02-07 12:06:49 +01:00