exec-all.h (4329d049d5b8d4af71c6b399d64a6d1b98856318) | exec-all.h (6d03226b42247b68ab2f0b3663e0f624335a4055) |
---|---|
1/* 2 * internal execution defines for qemu 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 450 unchanged lines hidden (view full) --- 459 * The CPUTLBEntryFull structure returned via @pfull is transient 460 * and must be consumed or copied immediately, before any further 461 * access or changes to TLB @mmu_idx. 462 */ 463int probe_access_full(CPUArchState *env, vaddr addr, int size, 464 MMUAccessType access_type, int mmu_idx, 465 bool nonfault, void **phost, 466 CPUTLBEntryFull **pfull, uintptr_t retaddr); | 1/* 2 * internal execution defines for qemu 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either --- 450 unchanged lines hidden (view full) --- 459 * The CPUTLBEntryFull structure returned via @pfull is transient 460 * and must be consumed or copied immediately, before any further 461 * access or changes to TLB @mmu_idx. 462 */ 463int probe_access_full(CPUArchState *env, vaddr addr, int size, 464 MMUAccessType access_type, int mmu_idx, 465 bool nonfault, void **phost, 466 CPUTLBEntryFull **pfull, uintptr_t retaddr); |
467 468/** 469 * probe_access_mmu() - Like probe_access_full except cannot fault and 470 * doesn't trigger instrumentation. 471 * 472 * @env: CPUArchState 473 * @vaddr: virtual address to probe 474 * @size: size of the probe 475 * @access_type: read, write or execute permission 476 * @mmu_idx: softmmu index 477 * @phost: ptr to return value host address or NULL 478 * @pfull: ptr to return value CPUTLBEntryFull structure or NULL 479 * 480 * The CPUTLBEntryFull structure returned via @pfull is transient 481 * and must be consumed or copied immediately, before any further 482 * access or changes to TLB @mmu_idx. 483 * 484 * Returns: TLB flags as per probe_access_flags() 485 */ 486int probe_access_full_mmu(CPUArchState *env, vaddr addr, int size, 487 MMUAccessType access_type, int mmu_idx, 488 void **phost, CPUTLBEntryFull **pfull); 489 |
|
467#endif 468 469/* Hide the qatomic_read to make code a little easier on the eyes */ 470static inline uint32_t tb_cflags(const TranslationBlock *tb) 471{ 472 return qatomic_read(&tb->cflags); 473} 474 --- 201 unchanged lines hidden --- | 490#endif 491 492/* Hide the qatomic_read to make code a little easier on the eyes */ 493static inline uint32_t tb_cflags(const TranslationBlock *tb) 494{ 495 return qatomic_read(&tb->cflags); 496} 497 --- 201 unchanged lines hidden --- |