Skip to content

Commit

Permalink
Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lupyuen committed Feb 22, 2023
1 parent f5bbbc7 commit 4d78876
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -465,10 +465,14 @@ hook_code: address=0x40089334, size=4
hook_memory: address=0x400b6a54, size=1, mem_type=WRITE, value=0x0
```

Let's print the UART Output...

# Handle UART Output

TODO: [UART Output](https://gist.github.com/lupyuen/587dbeb9329d9755e4d007dd8e1246cd)

https://github.com/lupyuen/pinephone-emulator/blob/aa6dd986857231a935617e8346978d7750aa51e7/src/main.rs#L89-L111

# Unicorn Emulator Halts in NuttX MMU

TODO: Unicorn Emulator halts...
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ fn hook_memory(
}

// Always return true, value is unused by caller
// https://github.com/unicorn-engine/unicorn/blob/dev/docs/FAQ.md#i-cant-recover-from-unmapped-readwrite-even-i-return-true-in-the-hook-why
true
}

Expand Down

0 comments on commit 4d78876

Please sign in to comment.