• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision518c985fbc83c9c0b2b461b406ab8861a1eb4198 (tree)
Time2022-01-30 23:26:32
AuthorYoshinori Sato <ysato@user...>
CommiterYoshinori Sato

Log Message

hw/rx: rx-gdbsim: DTB load address fix.

Linux kernel required alined address of DTB.
But missing align in dtb load function.
Fixed to load to the correct address.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>

Change Summary

Incremental Difference

--- a/hw/rx/rx-gdbsim.c
+++ b/hw/rx/rx-gdbsim.c
@@ -143,6 +143,7 @@ static void rx_gdbsim_init(MachineState *machine)
143143 }
144144 /* DTB is located at the end of SDRAM space. */
145145 dtb_offset = machine->ram_size - dtb_size;
146+ dtb_offset &= ~0x0f;
146147 rom_add_blob_fixed("dtb", dtb, dtb_size,
147148 SDRAM_BASE + dtb_offset);
148149 /* Set dtb address to R1 */