[Fault-injection-developer] [RFC] reconstruct pf module
Status: Alpha
Brought to you by:
rustyl
From: Zhuang, L. <lou...@in...> - 2002-12-18 08:25:43
|
We'd like split instrcution analisys code and general mmio probe code in pf moudle. That is, we'd like support a general mmio probe mechanism interface as the infrastructure of pf module. the interface is like struct kmmio_probe { kmmio_addr_t *addr; kmmio_pre_handler_t pre_handler; kmmio_post_handler_t post_handler; void *data; //opaque data structure } kmmio_probe_register(struct kmmio_probe *); kmmio_probe_unregister(struct kmmio_probe *); Then, pf module place probe on the address and analysis instruction in pre/post_handler and feedback to fi_core. |