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
|
|
59:45a99a68c2ed
60:bb0c949a94e1 61:ae0b0022e609
|
2018-10-25 |
Paul Boddie |
changeset
files
shortlog
graph
|
Made VGA initialisation more convenient, permitting the indication of timers to
be used and simplifying the DMA-related configuration operations.
Eliminated duplicate files, directing Makefiles to the vga example's resources
where possible. The vga, vga-dual and vga-timer examples employ the same main
file as a result. |
|
|
examples/vga-dual/Makefile examples/vga-dual/devconfig.h examples/vga-dual/main.c examples/vga-dual/main.h examples/vga-pmp/Makefile examples/vga-pmp/main.c examples/vga-pmp/main.h examples/vga-timer/Makefile examples/vga-timer/devconfig.h examples/vga-timer/main.c ...
|
|