Improve debug assertion for runtime svc number
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
1 parent 3dd9835 commit 5e5e41625ee4b9cc2aa9117c6764e42cdcf84eb0
@Soby Mathew Soby Mathew authored on 26 Jul 2016
Showing 1 changed file
View
common/runtime_svc.c