diff options
| author | Xiang Wang <[email protected]> | 2020-03-19 03:15:47 +0000 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2020-03-19 10:16:17 +0530 |
| commit | a0c88ddb31ec5ce43f1dd8759a918ea590429176 (patch) | |
| tree | fd013050434d5764d1b3b172c3cf19ad6704d5b6 /scripts | |
| parent | 315a87710fd16009ad709445d5cf55cc6cca2e69 (diff) | |
lib: Fix sbi_ecall_register_extension to prevent extension IDs overlap
The original code does not prevent the following scenarios:
> sbi_ecall_register_extension(ext1); /* extension id (70-80) */
> sbi_ecall_register_extension(ext2); /* extension id (50-100) */
Signed-off-by: Xiang Wang <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
