69:f3a4ee69fdfc
|
2018-10-27 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added example image data and a function to copy the data to the framebuffer.
Added a tool to prepare image data from conventional bitmap files. |
|
|
examples/vga-dual/Makefile examples/vga-dual/screendata.S examples/vga-pmp/screendata.S examples/vga-timer/Makefile examples/vga-timer/screendata.S examples/vga/Makefile examples/vga/main.c examples/vga/screendata.S include/display.h lib/display.c ...
|
|
68:b55498587c1f
|
2018-10-27 |
Paul Boddie |
changeset
files
shortlog
graph
|
Merged sections to avoid virtual and physical (load) address discrepancies.
The .rodata objects were being positioned after the .text objects, but although
the starting virtual address for the .rodata objects seemed to be aligned to a
particular boundary (maybe 16 bytes), the starting physical address was not
aligned. Consequently, the program was looking for objects at addresses beyond
their actual, stored locations. |
|
|
lib/payload.ld
|
|
67:37efd786c133
|
2018-10-27 |
Paul Boddie |
changeset
files
shortlog
graph
|
Use array types to reference program regions more naturally. |
|
|
lib/payload.c
|
|
66:7ad31261c9e8
|
2018-10-27 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced .bss section clearing. |
|
|
lib/payload.c lib/payload.ld lib/start.S
|
|
65:701c6a78e2ac
|
2018-10-27 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed stray whitespace. |
|
|
lib/vga_display.c
|
|
64:5441add474f5
|
2018-10-26 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the relocation function, enabling the vga example again. |
|
|
lib/payload.c lib/start.S
|
|
63:fda3e3afe979
|
2018-10-26 |
Paul Boddie |
changeset
files
shortlog
graph
|
Use a simpler byte-based copy for the data relocation. |
|
|
lib/payload.c
|
|
62:88fbeb522bba
60:bb0c949a94e1 61:ae0b0022e609
|
2018-10-26 |
Paul Boddie |
changeset
files
shortlog
graph
|
Merged parallel changes, updating the relocate_data invocation similarly. |
|
|
lib/start.S
|
|
61:ae0b0022e609
59:45a99a68c2ed
|
2018-10-26 |
Paul Boddie |
changeset
files
shortlog
graph
|
Use the global offset table when obtaining the address of main. |
|
|
lib/start.S
|
|
60:bb0c949a94e1
62:88fbeb522bba
|
2018-10-26 |
Paul Boddie |
changeset
files
shortlog
graph
|
Attempted to initialise writable data by relocating the .data section.
Demonstrate initialisation by setting UART echo in the demo example. |
|
|
examples/demo/main.c lib/payload.c lib/payload.ld lib/start.S mk/common.mk
|
|