• Soby Mathew's avatar
    Improve debug assertion for runtime svc number · 5e5e4162
    Soby Mathew authored
    This patch improves the debug assertion for runtime svc number
     - Remove useless comparison ensuring that the number of descriptors
       is a positive number. The variable is an unsigned integer so can't
       be negative.
     - Check that the end address of the descriptors is sane relative
       to the start address.
    
    Change-Id: Iea7be6b34e33b8b1cbd394eb923cc834ea964831
    5e5e4162
runtime_svc.c 5.71 KB