cartesi / machine-emulator

The off-chain implementation of the Cartesi Machine
GNU Lesser General Public License v3.0
64 stars 33 forks source link

Remove ROM and write devicetree directly to new DTB memory range #138

Closed diegonehab closed 1 year ago

diegonehab commented 1 year ago

This PR cherry-picks the changes from a different PR by @edubart. The central idea is the elimination of the ROM we used to build the device tree. This is now built directly by the emulator, into a new memory range we call DTB. The new memory range appears right before RAM and, at 1MiB, will enable more complex initialization of the Cartesi Machine.

Depends on https://github.com/cartesi/grpc-interfaces/pull/23 and https://github.com/cartesi/machine-emulator-defines/pull/8.