klemens
d0b90c2d68
[spelling] spelling-fixes. (not external/)
2016-08-25 17:30:34 -07:00
Eric Holland
d90cb4e7c6
[gfx] Add mandelbrot test to gfx routines ( #149 )
2016-08-12 10:28:12 -07:00
Erik Corry
4a553a7941
[pull][cmpctmalloc] Fix cmpctmalloc for large allocations ( #147 )
2016-06-21 09:35:40 -07:00
Gurjant Kalsi
5324238022
[ndebug] Move NDebug from main LK tree to Coral tree.
2016-06-06 10:21:04 -07:00
Gurjant Kalsi
bb4c6402b0
[console][io] Add an optional global input queue.
...
In this model, getc reads from a global input buffer and the uart posts data to this buffer.
This commit also enables the global input queue for STM32F7 and QEMU-Virt.
Tested on STM32F7/Dartuino and QEMU-ARM A15 with both CONSOLE_HAS_INPUT_BUFFER=1 and CONSOLE_HAS_INPUT_BUFFER=0
2016-06-02 16:01:56 -07:00
Søren Gjesse
6faa2957e1
[spifs] Fix warning with GCC 5.3.1
...
With GCC 5.3.1 (5-2016-q2-update from https://launchpad.net/gcc-arm-embedded )
additional warnings about unused variables cause compilation to fail.
2016-05-31 12:19:57 -07:00
Gurjant Kalsi
c19fcc5bb3
[spifs] Implement the ioctl to test whether or not the device is memory mapped.
2016-05-10 18:23:11 -07:00
Gurjant Kalsi
a63938a8c8
[fs] Add an ioctl to test if a file is memory mapped.
2016-05-10 18:22:44 -07:00
Gurjant Kalsi
62c4f983ef
[bio] IOCtl to test whether the device is in linear mode.
2016-05-10 18:21:29 -07:00
Gurjant Kalsi
604a2bff74
[ndebug] Move ndebug reset handshake from user endpoint to all endpoints.
...
NDebug sits and waits for a reset message before becoming active. I intend to
use this handshake for the system debug protocol as well as the high level
protocol so I'm pulling the logic for it up into the core ndebug utility
functions.
2016-04-19 18:27:10 -07:00
Gurjant Kalsi
05c646a39a
[ndebug] Setup NDebug endpoints and create a bidirectional serial pipe over USB.
2016-04-18 12:07:34 -07:00
Gurjant Kalsi
44e74f0486
[dartuino][bootloader] Merge bootloader branch into master.
2016-03-28 12:05:20 -07:00
Travis Geiselbrecht
87bbe81050
[fs][fat] run astyle over the newly imported code to match LK style
2016-03-25 21:36:15 -07:00
Travis Geiselbrecht
4daede9164
[fs][fat] fail gracefully if the bdev passed in is null
2016-03-25 21:36:15 -07:00
Steve White
4263f92843
[fs][fat32] Adapt modern LK conventions
2016-03-24 14:15:20 -07:00
Steve White
97d1121f09
Merge branch 'master' into fatfs
2016-03-24 13:39:19 -07:00
Erik Corry
6d0122b98e
[heap] Add API used by Dartino to get arena list
2016-03-23 21:22:39 +01:00
Steve White
5260d3d5f2
read only fat32 driver with long filename support.
2016-03-23 13:07:59 -07:00
cstout
c1255f7f47
[display] Refactor to avoid implicit framebuffer allocation.
...
Preparation to allow other images to be presented to the display.
Separate definitions of display and image formats.
display_get_info no longer provides a framebuffer.
display_get_framebuffer allocates a framebuffer for convenience.
Review URL: https://codereview.chromium.org/1777783003 .
2016-03-10 09:49:22 -08:00
Gurjant Kalsi
9ab4f51913
[dartuino][bootloader] Create a project for the bootloader.
2016-03-09 15:20:05 -08:00
Gurjant Kalsi
66b9d98a0e
[fs][memfs] Add truncate functionality to memfs.
2016-03-02 10:47:55 -08:00
Gurjant Kalsi
f2dfd006c6
[fs][spifs] Add truncate functionality to spifs.
2016-03-02 10:47:50 -08:00
Gurjant Kalsi
61b4f0450e
[fs] Add a truncate file API to the FS api layer
2016-03-02 10:40:09 -08:00
Gurjant Kalsi
dd3468fab2
[spifs][benchmark][debug] Add a benchmark to test spifs performance.
2016-03-02 00:45:58 -08:00
cstout
0737848cde
[target][dartuinoP0] Allow for varying framebuffer format and stride.
...
Remove dependency on gfx.
Add support for mono display LS013B7DH03.
R=gkalsi@google.com , travisg@gmail.com
Review URL: https://codereview.chromium.org/1741463002 .
2016-02-25 13:38:00 -08:00
cstout
c370f398c6
Allow for null endptr
...
R=gkalsi@google.com , travisg@gmail.com
Review URL: https://codereview.chromium.org/1731653002 .
2016-02-24 08:43:24 -08:00
Travis Geiselbrecht
79cd8e4969
[lib][elf] elf64 support
2016-02-23 21:07:26 -08:00
Travis Geiselbrecht
ae8f548bf3
[bio] Fix a few printf format warnings.
...
Fix a few printf format warnings which show up in 64 bit builds.
2016-02-23 21:07:10 -08:00
Travis Geiselbrecht
ff12cba747
[lib][gfxconsole] fix warning introduced in print callback registering
2016-02-21 14:15:58 -08:00
Travis Geiselbrecht
f4a95ec624
[lib][io] add context pointer for printf callbacks
2016-02-21 14:09:40 -08:00
Travis Geiselbrecht
efbd6b1892
[lib][cbuf] C++ header guard the cbuf header
2016-02-21 14:09:40 -08:00
Travis Geiselbrecht
a3da9e78a4
[lib][cksum] move into external/
2016-02-20 11:31:51 -08:00
Travis Geiselbrecht
7c412c38d7
[lib][heap] move dlmalloc implementation to external/
2016-02-20 11:31:51 -08:00
Travis Geiselbrecht
5e14990dbd
[lib][libm] move to external/
2016-02-20 11:31:51 -08:00
Travis Geiselbrecht
c5c59a4897
[lib][aes] move to external/
2016-02-20 11:31:51 -08:00
Travis Geiselbrecht
e514030336
[lib][mincrypt] move to external/
2016-02-20 11:31:51 -08:00
Travis Geiselbrecht
8c5d18280d
[lib][miniz] move into external/
2016-02-20 11:31:51 -08:00
Travis Geiselbrecht
cd3a87b962
[lib][lwip] move lwip into external/
2016-02-20 11:31:51 -08:00
Travis Geiselbrecht
8fa95015b8
[lib][fdt] move to external/
2016-02-20 11:31:50 -08:00
Travis Geiselbrecht
ed19c37227
[c++] add some required arm symbols for c++
2016-02-19 12:26:28 -08:00
Travis Geiselbrecht
ae28c92fad
[lib][ffs] delete this old file system code
2016-02-17 19:14:38 -08:00
Travis Geiselbrecht
4da1b80dbd
[libc][include] move most of the top level includes into lib/libc/include
...
The files that are generally considered to be libc should live within
the library's namespace.
2016-02-16 15:58:22 -08:00
Travis Geiselbrecht
a4ca0a6e00
[vmm] move most users of arch_mmu_query directly to vaddr_to_paddr()
2016-02-14 12:45:53 -08:00
Travis Geiselbrecht
d569c090ea
[vim] remove vim expandtab comments on most of the files
2016-02-14 12:32:07 -08:00
Travis Geiselbrecht
2eb32a4369
[style] mass reformat all the non external code to 4 space indents
...
Ran everything through scripts/codestyle.space, which uses astyle
to generally follow K&R style.
Biggest non whitespace change is pulling brackets down on function
declarations, which I'm pretty ambivalent about, but astyle insists
on taking a stance
2016-02-14 12:24:01 -08:00
Gurjant Kalsi
52f4728c44
[magic][constants] Convert all of LK's multichar character kernel magic constants to hex.
2016-02-09 15:02:05 -08:00
Gurjant Kalsi
5e5f210566
[magic][constants] Convert LK's multichar character constants to hex.
...
This should help with some of the warnings in the SoD build.
2016-02-09 14:43:36 -08:00
David Deephanphongs
20289ad766
[lib][unittest] Shrink string usage in macros.
...
The various EXPECT_EQ, etc., macros used concatenation to build
their strings. This creates a full error string for each
EXPECT_* test in a unittest. Instead, use string substitution
(%s) so that the common portions of the strings can be
combined.
Change-Id: I6d8d39027dc1b6462913bdab2e47c567bf99350f
2016-02-09 10:31:10 -08:00
Gurjant Kalsi
5ab14cbc3a
[lib][io][gfxconsole] Update include in gfx console to match new lib/io path
2016-02-08 12:30:24 -08:00
Travis Geiselbrecht
da211521b1
[lib][io] move all the io stuff into lib/io
2016-02-07 16:05:46 -08:00