diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/porting-guide.md | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/porting-guide.md b/docs/porting-guide.md index 0d713c4a..5004d309 100644 --- a/docs/porting-guide.md +++ b/docs/porting-guide.md @@ -76,8 +76,8 @@ either mandatory or optional. A platform port must enable the Memory Management Unit (MMU) as well as the instruction and data caches for each BL stage. Setting up the translation tables is the responsibility of the platform port because memory maps differ -across platforms. A memory translation library (see `lib/aarch64/xlat_tables.c`) -is provided to help in this setup. Note that although this library supports +across platforms. A memory translation library (see `lib/xlat_tables/`) is +provided to help in this setup. Note that although this library supports non-identity mappings, this is intended only for re-mapping peripheral physical addresses and allows platforms with high I/O addresses to reduce their virtual address space. All other addresses corresponding to code and data must currently @@ -448,6 +448,14 @@ must also be defined: Defines the maximum number of open IO handles. Attempting to open more IO entities than this value using `io_open()` will fail with -ENOMEM. +* **#define : MAX_IO_BLOCK_DEVICES** + + Defines the maximum number of registered IO block devices. Attempting to + register more devices this value using `io_dev_open()` will fail + with -ENOMEM. MAX_IO_BLOCK_DEVICES should be less than MAX_IO_DEVICES. + With this macro, multiple block devices could be supported at the same + time. + If the platform needs to allocate data within the per-cpu data framework in BL31, it should define the following macro. Currently this is only required if the platform decides not to use the coherent memory section by undefining the |