Merge pull request #1287 from davidcunado-arm/dc/fix_misra
authordavidcunado-arm <david.cunado@arm.com>
Wed, 28 Feb 2018 09:48:35 +0000 (09:48 +0000)
committerGitHub <noreply@github.com>
Wed, 28 Feb 2018 09:48:35 +0000 (09:48 +0000)
Update ULL() macro and instances of ull to comply with MISRA

1  2 
docs/porting-guide.rst

diff --combined docs/porting-guide.rst
index 3ea95a148bb6662f5547c98ffb453687d71bea09,f21baf5550638a05bca78786a5154a9c9fc6e040..21db86bde5481dba9e469b8df3b6bf9a243ca98b
@@@ -459,19 -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:
@@@ -2022,9 -2022,9 +2022,9 @@@ This macro must be defined to the EL3 e
  Critical SDEI events on the platform. This must have a lower value (therefore of
  higher priority) than ``PLAT_SDEI_NORMAL_PRI``.
  
 -It's recommended that SDEI exception priorities in general are assigned the
 -lowest among Secure priorities. Among the SDEI exceptions, Critical SDEI
 -priority must be higher than Normal SDEI priority.
 +**Note**: SDEI exception priorities must be the lowest among Secure priorities.
 +Among the SDEI exceptions, Critical SDEI priority must be higher than Normal
 +SDEI priority.
  
  Functions
  .........