tcg-plugins.rst (1d0603a990b4363ec7680bd99a249f43ad42cc21) | tcg-plugins.rst (7f522743dfcea095fe77755386e980cbb5db4ef4) |
---|---|
1.. 2 Copyright (C) 2017, Emilio G. Cota <cota@braap.org> 3 Copyright (c) 2019, Linaro Limited 4 Written by Emilio Cota and Alex Bennée 5 6QEMU TCG Plugins 7================ 8 --- 96 unchanged lines hidden (view full) --- 105 106The plugin architecture actively avoids leaking implementation details 107about how QEMU's translation works to the plugins. While there are 108conceptions such as translation time and translation blocks the 109details are opaque to plugins. The plugin is able to query select 110details of instructions and system configuration only through the 111exported *qemu_plugin* functions. 112 | 1.. 2 Copyright (C) 2017, Emilio G. Cota <cota@braap.org> 3 Copyright (c) 2019, Linaro Limited 4 Written by Emilio Cota and Alex Bennée 5 6QEMU TCG Plugins 7================ 8 --- 96 unchanged lines hidden (view full) --- 105 106The plugin architecture actively avoids leaking implementation details 107about how QEMU's translation works to the plugins. While there are 108conceptions such as translation time and translation blocks the 109details are opaque to plugins. The plugin is able to query select 110details of instructions and system configuration only through the 111exported *qemu_plugin* functions. 112 |
113API 114~~~ 115 116.. kernel-doc:: include/qemu/qemu-plugin.h 117 | |
118Internals 119--------- 120 121Locking 122~~~~~~~ 123 124We have to ensure we cannot deadlock, particularly under MTTCG. For 125this we acquire a lock when called from plugin code. We also keep the --- 317 unchanged lines hidden (view full) --- 443 * l2cachesize=N 444 * l2blksize=B 445 * l2assoc=A 446 447 L2 cache configuration arguments. They specify the cache size, block size, and 448 associativity of the L2 cache, respectively. Setting any of the L2 449 configuration arguments implies ``l2=on``. 450 (default: N = 2097152 (2MB), B = 64, A = 16) | 113Internals 114--------- 115 116Locking 117~~~~~~~ 118 119We have to ensure we cannot deadlock, particularly under MTTCG. For 120this we acquire a lock when called from plugin code. We also keep the --- 317 unchanged lines hidden (view full) --- 438 * l2cachesize=N 439 * l2blksize=B 440 * l2assoc=A 441 442 L2 cache configuration arguments. They specify the cache size, block size, and 443 associativity of the L2 cache, respectively. Setting any of the L2 444 configuration arguments implies ``l2=on``. 445 (default: N = 2097152 (2MB), B = 64, A = 16) |
446 447API 448--- 449 450The following API is generated from the inline documentation in 451``include/qemu/qemu-plugin.h``. Please ensure any updates to the API 452include the full kernel-doc annotations. 453 454.. kernel-doc:: include/qemu/qemu-plugin.h 455 |
|