Skip to content

Commit

Permalink
README: Add note about security
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-gh committed Apr 2, 2021
1 parent 2c544c6 commit 7c2dd12
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,15 @@ $ ./qtestsign.py hyp qhypstub.elf

**Tip:** If you clone [qtestsign] directly into your [qhypstub] clone, running `make` will also automatically sign the binary!

## Security
[qhypstub] is not a hypervisor and does therefore not attempt to prevent lower
exception levels (e.g. EL1 or EL0) to access its memory. Instead, the kernel
and/or hypervisor that you load MUST protect 4 KiB of memory, starting at
`0x86400000` on MSM8916/APQ8016, usually by marking it as reserved memory.

**Note:** On [Linux] this happens automatically because there is already 1 MiB
of memory reserved for Qualcomm's original `hyp` firmware.

## Technical overview
This section focuses on a technical overview of [qhypstub] and the functionality implemented
by the `hyp` firmware on MSM8916/APQ8016. For a general introduction for exception levels
Expand Down

0 comments on commit 7c2dd12

Please sign in to comment.