diff options
author | davidcunado-arm <david.cunado@arm.com> | 2018-02-28 09:48:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-28 09:48:35 +0000 |
commit | bd8e6a99e0ef3bb449b0ff0de13ea74c66079412 (patch) | |
tree | 007736e41caea7aed022915ca9b69a32312972f6 /docs | |
parent | c69145fc2a8f1660131f555f286c6989c8343c74 (diff) | |
parent | 5724481fdda01067d3bf4386a3dd07a541d16044 (diff) |
Merge pull request #1287 from davidcunado-arm/dc/fix_misra
Update ULL() macro and instances of ull to comply with MISRA
Diffstat (limited to 'docs')
-rw-r--r-- | docs/porting-guide.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/porting-guide.rst b/docs/porting-guide.rst index 3ea95a14..21db86bd 100644 --- a/docs/porting-guide.rst +++ b/docs/porting-guide.rst @@ -459,19 +459,19 @@ constants must also be defined: - **#define : ADDR\_SPACE\_SIZE** Defines the total size of the address space in bytes. For example, for a 32 - bit address space, this value should be ``(1ull << 32)``. This definition is + bit address space, this value should be ``(1ULL << 32)``. This definition is now deprecated, platforms should use ``PLAT_PHY_ADDR_SPACE_SIZE`` and ``PLAT_VIRT_ADDR_SPACE_SIZE`` instead. - **#define : PLAT\_VIRT\_ADDR\_SPACE\_SIZE** Defines the total size of the virtual address space in bytes. For example, - for a 32 bit virtual address space, this value should be ``(1ull << 32)``. + for a 32 bit virtual address space, this value should be ``(1ULL << 32)``. - **#define : PLAT\_PHY\_ADDR\_SPACE\_SIZE** Defines the total size of the physical address space in bytes. For example, - for a 32 bit physical address space, this value should be ``(1ull << 32)``. + for a 32 bit physical address space, this value should be ``(1ULL << 32)``. If the platform port uses the IO storage framework, the following constants must also be defined: |