Commit Graph

3 Commits

Author SHA1 Message Date
Hansung Kim
92ed21f83f [driver] Set different base address for device malloc
Change the target area of malloc to something more akin to the heap area
for a CPU userspace program, since that works better with Chipyard's
default memory mapping scheme (0x80000000 and above).
2023-10-07 21:22:45 -07:00
Hansung Kim
46a60cf58e [driver] Fix bug in addr range check for upload/download
Device address should not be compared against LOCAL_MEM_SIZE but against
an absolute max address.  Introduce new DEVICE_MAX_ADDR for this.
2023-10-07 21:18:27 -07:00
Blaise Tine
27a65fdee7 driver refactoring 2021-11-14 09:05:15 -05:00