Skip to content
  1. Feb 23, 2022
  2. Feb 16, 2022
  3. Feb 15, 2022
  4. Feb 14, 2022
  5. Feb 11, 2022
  6. Feb 10, 2022
    • Andre Przywara's avatar
      fix(libc): snprintf: include stdint.h · 410c925a
      Andre Przywara authored
      
      
      The snprintf code uses the uintptr_t type, which is defined in stdint.h.
      We do not include this header explicitly, but get the definition
      indirectly through some other header doing so.
      
      However this breaks when snprintf is compiled in isolation (for instance
      for unit-testing), so let's add this #include to make things right.
      
      Change-Id: I1299767ee482f5cf1af30c4df2e8f7e596969b41
      Signed-off-by: Andre Przywara's avatarAndre Przywara <andre.przywara@arm.com>
      410c925a
    • Andre Przywara's avatar
      fix(libc): limit snprintf radix value · b30dd403
      Andre Przywara authored
      
      
      In our unsigned_num_print() function we first print the integer into a
      local buffer, then put this through alignment and padding and output the
      result. For this we use a local buffer, sized by the maximum possible
      length of the largest possible number.
      
      However this assumes that the radix is not smaller than 10, which is
      indeed the smallest value we pass into this static function at the
      moment. To prevent accidents in the future, should we add support for
      other radices, add an assert to enforce our assumption.
      
      Unfortunately this cannot be a static assert (CASSERT), since the
      compiler is not smart enough to see that the argument is always coming
      from a literal.
      
      Change-Id: Ic204462600d9f4c281d899cf9f2c698a0a33a874
      Signed-off-by: Andre Przywara's avatarAndre Przywara <andre.przywara@arm.com>
      b30dd403
    • Madhukar Pappireddy's avatar
    • Manish Badarkhe's avatar
      feat(spe): add support for FEAT_SPEv1p2 · f20eb893
      Manish Badarkhe authored
      
      
      Allow access to PMSNEVFR_EL1 register at NS-EL1 or NS-EL2 when
      FEAT_SPEv1p2 is implemented.
      
      Change-Id: I44b1de93526dbe9c11fd061d876371a6c0e6fa9c
      Signed-off-by: default avatarManish V Badarkhe <Manish.Badarkhe@arm.com>
      f20eb893
  7. Feb 09, 2022
  8. Feb 08, 2022
  9. Feb 07, 2022
Loading