plugin.h (62f92b8d) plugin.h (0bcebaba)
1/*
2 * Plugin Shared Internal Functions
3 *
4 * Copyright (C) 2019, Linaro
5 *
6 * License: GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 *

--- 59 unchanged lines hidden (view full) ---

68
69struct qemu_plugin_ctx *plugin_id_to_ctx_locked(qemu_plugin_id_t id);
70
71void plugin_register_inline_op(GArray **arr,
72 enum qemu_plugin_mem_rw rw,
73 enum qemu_plugin_op op, void *ptr,
74 uint64_t imm);
75
1/*
2 * Plugin Shared Internal Functions
3 *
4 * Copyright (C) 2019, Linaro
5 *
6 * License: GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
8 *

--- 59 unchanged lines hidden (view full) ---

68
69struct qemu_plugin_ctx *plugin_id_to_ctx_locked(qemu_plugin_id_t id);
70
71void plugin_register_inline_op(GArray **arr,
72 enum qemu_plugin_mem_rw rw,
73 enum qemu_plugin_op op, void *ptr,
74 uint64_t imm);
75
76void plugin_register_inline_op_on_entry(GArray **arr,
77 enum qemu_plugin_mem_rw rw,
78 enum qemu_plugin_op op,
79 qemu_plugin_u64 entry,
80 uint64_t imm);
81
76void plugin_reset_uninstall(qemu_plugin_id_t id,
77 qemu_plugin_simple_cb_t cb,
78 bool reset);
79
80void plugin_register_cb(qemu_plugin_id_t id, enum qemu_plugin_event ev,
81 void *func);
82
83void plugin_unregister_cb__locked(struct qemu_plugin_ctx *ctx,

--- 27 unchanged lines hidden ---
82void plugin_reset_uninstall(qemu_plugin_id_t id,
83 qemu_plugin_simple_cb_t cb,
84 bool reset);
85
86void plugin_register_cb(qemu_plugin_id_t id, enum qemu_plugin_event ev,
87 void *func);
88
89void plugin_unregister_cb__locked(struct qemu_plugin_ctx *ctx,

--- 27 unchanged lines hidden ---