Message ID | 20201001070814.102735-18-amitay@ozlabs.org |
---|---|
State | Accepted |
Headers | show |
Series | Add p10 support to libpdbg | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | warning | Failed to apply on branch master (9fbe2a8b236967e0b2088dfa85a8e3d23ff01413) |
snowpatch_ozlabs/apply_patch | fail | Failed to apply to any branch |
diff --git a/libpdbg/hwunit.h b/libpdbg/hwunit.h index 52fdaf0..f1f164e 100644 --- a/libpdbg/hwunit.h +++ b/libpdbg/hwunit.h @@ -320,4 +320,12 @@ struct mcc { struct pdbg_target target; }; #define target_to_mcc(x) container_of(x, struct mcc, target) + +struct ocmb { + struct pdbg_target target; + int (*getscom)(struct ocmb *, uint64_t, uint64_t *); + int (*putscom)(struct ocmb *, uint64_t, uint64_t); +}; +#define target_to_ocmb(x) container_of(x, struct ocmb, target); + #endif /* __HWUNIT_H */