| commit | c5d315e6eecedfec609870f0cce6e31d927850cf | [log] [tgz] |
|---|---|---|
| author | Sandrine Bailleux <sandrine.bailleux@arm.com> | Mon Jan 07 10:44:32 2019 +0100 |
| committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | Mon Jan 07 13:00:26 2019 +0100 |
| tree | 623ae84f4e89b287e8ac6d95ae4466d1dbbb2e91 | |
| parent | cab5e3693738743255bd9a8a8f36dccdd74ca495 [diff] |
Relax SMC tests when Trusted OS is present When receiving an invalid SMC function ID, the Trusted OS is free to return any error code in x0 but it should at least preserve the values of x1-x3. The SMC tests expected the Trusted OS to return -1 in x0, which is too strong of an assumption. This patch relaxes them to check x1-x3 but ignore x0. Change-Id: I6d516319afeaee9af6aa3674a48c13dba6f7af69 Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>