Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333733
b: refs/heads/master
c: 6a6d55c
h: refs/heads/master
i:
  333731: 6967785
v: v3
  • Loading branch information
Dave Martin authored and Marc Zyngier committed Sep 19, 2012
1 parent 13901b7 commit f1e4d62
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 424e5994e63326a42012f003f1174f3c363c7b62
refs/heads/master: 6a6d55c38c8b4ee77b50a33f03ea09e75b18bf82
22 changes: 21 additions & 1 deletion trunk/Documentation/arm/Booting
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,33 @@ In either case, the following conditions must be met:

- CPU mode
All forms of interrupts must be disabled (IRQs and FIQs)
The CPU must be in SVC mode. (A special exception exists for Angel)

For CPUs which do not include the ARM virtualization extensions, the
CPU must be in SVC mode. (A special exception exists for Angel)

CPUs which include support for the virtualization extensions can be
entered in HYP mode in order to enable the kernel to make full use of
these extensions. This is the recommended boot method for such CPUs,
unless the virtualisations are already in use by a pre-installed
hypervisor.

If the kernel is not entered in HYP mode for any reason, it must be
entered in SVC mode.

- Caches, MMUs
The MMU must be off.
Instruction cache may be on or off.
Data cache must be off.

If the kernel is entered in HYP mode, the above requirements apply to
the HYP mode configuration in addition to the ordinary PL1 (privileged
kernel modes) configuration. In addition, all traps into the
hypervisor must be disabled, and PL1 access must be granted for all
peripherals and CPU resources for which this is architecturally
possible. Except for entering in HYP mode, the system configuration
should be such that a kernel which does not include support for the
virtualization extensions can boot correctly without extra help.

- The boot loader is expected to call the kernel image by jumping
directly to the first instruction of the kernel image.

Expand Down

0 comments on commit f1e4d62

Please sign in to comment.