diff options
author | Xiang Wang <merle@hardenedlinux.org> | 2020-03-19 03:15:47 +0000 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-19 10:16:17 +0530 |
commit | a0c88ddb31ec5ce43f1dd8759a918ea590429176 (patch) | |
tree | fd013050434d5764d1b3b172c3cf19ad6704d5b6 /docs/platform | |
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 <merle@hardenedlinux.org>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'docs/platform')
0 files changed, 0 insertions, 0 deletions