Skip to content

libsel4vm: drop struct vgic_dist_device #69

Open
axel-h wants to merge 9 commits intoseL4:masterfrom
Hensoldt-Cyber:patch-axel-17
Open

libsel4vm: drop struct vgic_dist_device #69
axel-h wants to merge 9 commits intoseL4:masterfrom
Hensoldt-Cyber:patch-axel-17

Conversation

@axel-h
Copy link
Member

@axel-h axel-h commented Jul 10, 2022

Drop struct vgic_dist_device and store data in struct vgic.

This is on top of #70 and part of a branch that adds GICv3 support with Hensoldt-Cyber#1

@axel-h axel-h force-pushed the patch-axel-17 branch 3 times, most recently from f7c9056 to d09e92b Compare July 12, 2022 23:18
Axel Heider added 4 commits July 15, 2022 01:10
This is a preparation for GICv3 support, where this function becomes
more complex.

Signed-off-by: Axel Heider <axel.heider@hensoldt.net>
This is a preparation for GICv3 support, where this function becomes
more complex.

Signed-off-by: Axel Heider <axel.heider@hensoldt.net>
Drop the explicit vm parameter, as it is not used. It can be obtained
from the vcpu context if necessary.
Pass the vgic parameter first to align with the other functions.

Signed-off-by: Axel Heider <axel.heider@hensoldt.net>
@axel-h axel-h force-pushed the patch-axel-17 branch 3 times, most recently from b6560ee to 46dcf45 Compare July 15, 2022 01:41
Axel Heider added 5 commits July 15, 2022 03:41
Also make error message more specific.

Signed-off-by: Axel Heider <axel.heider@hensoldt.net>
Passing vgic allows hiding the actual type of vgic->dist from the
function signature, so the GICv2 and GICv3 types are handed silently by
the compiler.

Signed-off-by: Axel Heider <axel.heider@hensoldt.net>
Signed-off-by: Axel Heider <axel.heider@hensoldt.net>
Signed-off-by: Axel Heider <axel.heider@hensoldt.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments