Changeset c09ff7b in mainline for boot/arch/riscv64/src/main.c
- Timestamp:
- 2017-06-07T16:39:00Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 23c8acd9
- Parents:
- 239e32b8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/riscv64/src/main.c
r239e32b8 rc09ff7b 39 39 #include <halt.h> 40 40 #include <inflate.h> 41 #include <arch/_components.h>41 #include "../../components.h" 42 42 43 43 #define KA2PA(x) (((uintptr_t) (x)) - UINT64_C(0xffff800000000000)) … … 60 60 61 61 for (size_t i = 0; i < COMPONENTS; i++) { 62 printf(" %p: %s image (%zu/%zu bytes)\n", components[i]. start,62 printf(" %p: %s image (%zu/%zu bytes)\n", components[i].addr, 63 63 components[i].name, components[i].inflated, 64 64 components[i].size); 65 65 66 uintptr_t tail = (uintptr_t) components[i]. start+66 uintptr_t tail = (uintptr_t) components[i].addr + 67 67 components[i].size; 68 68 if (tail > top) … … 112 112 printf("%s ", components[i - 1].name); 113 113 114 int err = inflate(components[i - 1]. start, components[i - 1].size,114 int err = inflate(components[i - 1].addr, components[i - 1].size, 115 115 dest[i - 1], components[i - 1].inflated); 116 116
Note:
See TracChangeset
for help on using the changeset viewer.