1 // SPDX-License-Identifier: GPL-2.0+ 2 /* 3 * Pvpanic Device Support 4 * 5 * Copyright (C) 2021 Oracle. 6 */ 7 8 #ifndef PVPANIC_H_ 9 #define PVPANIC_H_ 10 11 struct pvpanic_instance { 12 void __iomem *base; 13 unsigned int capability; 14 unsigned int events; 15 struct list_head list; 16 }; 17 18 int pvpanic_probe(struct pvpanic_instance *pi); 19 void pvpanic_remove(struct pvpanic_instance *pi); 20 21 #endif /* PVPANIC_H_ */ 22