mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
Merge tag 'pull-misc-2022-05-11' of git://repo.or.cz/qemu/armbru into staging
Miscellaneous patches patches for 2022-05-11 # -----BEGIN PGP SIGNATURE----- # # iQJGBAABCAAwFiEENUvIs9frKmtoZ05fOHC0AOuRhlMFAmJ7zwISHGFybWJydUBy # ZWRoYXQuY29tAAoJEDhwtADrkYZThuAQAJdSuj5fpY8EXxhuS3Rc8uHPrz6lP+nZ # kwxKPOldwFdmkXRJ8qrjcc/BXxiJU3pxmSRvFZ8miCFMrb4Vd16sUzD6PeKb1jr8 # JsrvXcsaWn4f/p0v0WraamwSQeZUMjqsZPgZut93qfJoKmgTaxoZnR+ZDHFKoQJS # qBrHL/5+RPxSugLa6IEpSQwy80jd0tMBaG/e8V+JxzgFM5jzOExwXtfUujzS92Lr # NgapnbEZrpqErBC1xhpetQ8Q5I4r0kkLj4Exm/ClNtIM2GByJxI8x2DE+NJZNDnm # g/tvVKUhEl6cOywQRajAJ/LrhUpVSkz6wsczv35rhRS+1FoCb+PRKr42SxZGI2rB # tZLYt4ouoSGk2pYiudoIBKsIR1Svu7Cmg4YzOL9yvqF0BS3cRDvPgm3QFvoeErjL # EML7b41zLdIkbvujsJ7HJqVL44QmMSu13PcLUtDvLh+ivpL9wIUQn3ji+rfsgqh+ # RYw4niJ9JO3N3/VwEhlymc9kRSTgZ6rdIWPrtQ5ACwTADAv30++opxAlksE6mo0m # TYrqyTG2FHGOKm+5Q4Lyx1heHJDUAE3dlRIhGt8KqD6UKlpSfIVIUU2ztjZK4JQ5 # n85LOLZkE9ejbvbpnLX8hgKfouVKKYwFagc/ZA649cIXvC8YDxdOwvhjEVCxa+V5 # dQbpQsekXf9G # =jOTx # -----END PGP SIGNATURE----- # gpg: Signature made Wed 11 May 2022 07:58:10 AM PDT # gpg: using RSA key 354BC8B3D7EB2A6B68674E5F3870B400EB918653 # gpg: issuer "armbru@redhat.com" # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>" [undefined] # gpg: aka "Markus Armbruster <armbru@pond.sub.org>" [undefined] # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867 4E5F 3870 B400 EB91 8653 * tag 'pull-misc-2022-05-11' of git://repo.or.cz/qemu/armbru: Clean up decorations and whitespace around header guards Normalize header guard symbol definition Clean up ill-advised or unusual header guards Clean up header guards that don't match their file name Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
* See the COPYING file in the top-level directory.
|
||||
*/
|
||||
|
||||
#ifndef TCG_CPUS_ICOUNT_H
|
||||
#define TCG_CPUS_ICOUNT_H
|
||||
#ifndef TCG_ACCEL_OPS_ICOUNT_H
|
||||
#define TCG_ACCEL_OPS_ICOUNT_H
|
||||
|
||||
void icount_handle_deadline(void);
|
||||
void icount_prepare_for_run(CPUState *cpu);
|
||||
@@ -16,4 +16,4 @@ void icount_process_data(CPUState *cpu);
|
||||
|
||||
void icount_handle_interrupt(CPUState *cpu, int mask);
|
||||
|
||||
#endif /* TCG_CPUS_ICOUNT_H */
|
||||
#endif /* TCG_ACCEL_OPS_ICOUNT_H */
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
* See the COPYING file in the top-level directory.
|
||||
*/
|
||||
|
||||
#ifndef TCG_CPUS_MTTCG_H
|
||||
#define TCG_CPUS_MTTCG_H
|
||||
#ifndef TCG_ACCEL_OPS_MTTCG_H
|
||||
#define TCG_ACCEL_OPS_MTTCG_H
|
||||
|
||||
/* kick MTTCG vCPU thread */
|
||||
void mttcg_kick_vcpu_thread(CPUState *cpu);
|
||||
@@ -16,4 +16,4 @@ void mttcg_kick_vcpu_thread(CPUState *cpu);
|
||||
/* start an mttcg vCPU thread */
|
||||
void mttcg_start_vcpu_thread(CPUState *cpu);
|
||||
|
||||
#endif /* TCG_CPUS_MTTCG_H */
|
||||
#endif /* TCG_ACCEL_OPS_MTTCG_H */
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
* See the COPYING file in the top-level directory.
|
||||
*/
|
||||
|
||||
#ifndef TCG_CPUS_RR_H
|
||||
#define TCG_CPUS_RR_H
|
||||
#ifndef TCG_ACCEL_OPS_RR_H
|
||||
#define TCG_ACCEL_OPS_RR_H
|
||||
|
||||
#define TCG_KICK_PERIOD (NANOSECONDS_PER_SECOND / 10)
|
||||
|
||||
@@ -18,4 +18,4 @@ void rr_kick_vcpu_thread(CPUState *unused);
|
||||
/* start the round robin vcpu thread */
|
||||
void rr_start_vcpu_thread(CPUState *cpu);
|
||||
|
||||
#endif /* TCG_CPUS_RR_H */
|
||||
#endif /* TCG_ACCEL_OPS_RR_H */
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
* See the COPYING file in the top-level directory.
|
||||
*/
|
||||
|
||||
#ifndef TCG_CPUS_H
|
||||
#define TCG_CPUS_H
|
||||
#ifndef TCG_ACCEL_OPS_H
|
||||
#define TCG_ACCEL_OPS_H
|
||||
|
||||
#include "sysemu/cpus.h"
|
||||
|
||||
@@ -19,4 +19,4 @@ int tcg_cpus_exec(CPUState *cpu);
|
||||
void tcg_handle_interrupt(CPUState *cpu, int mask);
|
||||
void tcg_cpu_init_cflags(CPUState *cpu, bool parallel);
|
||||
|
||||
#endif /* TCG_CPUS_H */
|
||||
#endif /* TCG_ACCEL_OPS_H */
|
||||
|
||||
@@ -22,11 +22,11 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef BLOCK_COPY_ON_READ
|
||||
#define BLOCK_COPY_ON_READ
|
||||
#ifndef BLOCK_COPY_ON_READ_H
|
||||
#define BLOCK_COPY_ON_READ_H
|
||||
|
||||
#include "block/block_int.h"
|
||||
|
||||
void bdrv_cor_filter_drop(BlockDriverState *cor_filter_bs);
|
||||
|
||||
#endif /* BLOCK_COPY_ON_READ */
|
||||
#endif /* BLOCK_COPY_ON_READ_H */
|
||||
|
||||
+3
-3
@@ -22,8 +22,8 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef BLOCK_COROUTINES_INT_H
|
||||
#define BLOCK_COROUTINES_INT_H
|
||||
#ifndef BLOCK_COROUTINES_H
|
||||
#define BLOCK_COROUTINES_H
|
||||
|
||||
#include "block/block_int.h"
|
||||
|
||||
@@ -129,4 +129,4 @@ blk_do_pdiscard(BlockBackend *blk, int64_t offset, int64_t bytes);
|
||||
|
||||
int generated_co_wrapper blk_do_flush(BlockBackend *blk);
|
||||
|
||||
#endif /* BLOCK_COROUTINES_INT_H */
|
||||
#endif /* BLOCK_COROUTINES_H */
|
||||
|
||||
@@ -17,5 +17,5 @@ static inline bool regpairs_aligned(void *cpu_env)
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif /* ! TARGET_H */
|
||||
#endif /* TARGET_H */
|
||||
|
||||
|
||||
@@ -17,12 +17,12 @@
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _TARGET_ARCH_H_
|
||||
#define _TARGET_ARCH_H_
|
||||
#ifndef TARGET_ARCH_H
|
||||
#define TARGET_ARCH_H
|
||||
|
||||
#include "qemu.h"
|
||||
|
||||
void target_cpu_set_tls(CPUARMState *env, target_ulong newtls);
|
||||
target_ulong target_cpu_get_tls(CPUARMState *env);
|
||||
|
||||
#endif /* !_TARGET_ARCH_H_ */
|
||||
#endif /* TARGET_ARCH_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _TARGET_ARCH_CPU_H_
|
||||
#define _TARGET_ARCH_CPU_H_
|
||||
#ifndef TARGET_ARCH_CPU_H
|
||||
#define TARGET_ARCH_CPU_H
|
||||
|
||||
#include "target_arch.h"
|
||||
#include "signal-common.h"
|
||||
@@ -210,4 +210,4 @@ static inline void target_cpu_reset(CPUArchState *env)
|
||||
{
|
||||
}
|
||||
|
||||
#endif /* !_TARGET_ARCH_CPU_H */
|
||||
#endif /* TARGET_ARCH_CPU_H */
|
||||
|
||||
@@ -16,8 +16,9 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef _TARGET_ARCH_ELF_H_
|
||||
#define _TARGET_ARCH_ELF_H_
|
||||
|
||||
#ifndef TARGET_ARCH_ELF_H
|
||||
#define TARGET_ARCH_ELF_H
|
||||
|
||||
#define ELF_START_MMAP 0x80000000
|
||||
#define ELF_ET_DYN_LOAD_ADDR 0x500000
|
||||
@@ -125,4 +126,4 @@ static uint32_t get_elf_hwcap2(void)
|
||||
#undef GET_FEATURE
|
||||
#undef GET_FEATURE_ID
|
||||
|
||||
#endif /* _TARGET_ARCH_ELF_H_ */
|
||||
#endif /* TARGET_ARCH_ELF_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _TARGET_ARCH_REG_H_
|
||||
#define _TARGET_ARCH_REG_H_
|
||||
#ifndef TARGET_ARCH_REG_H
|
||||
#define TARGET_ARCH_REG_H
|
||||
|
||||
/* See sys/arm/include/reg.h */
|
||||
typedef struct target_reg {
|
||||
@@ -57,4 +57,4 @@ static inline void target_copy_regs(target_reg_t *regs, const CPUARMState *env)
|
||||
|
||||
#undef tswapreg
|
||||
|
||||
#endif /* !_TARGET_ARCH_REG_H_ */
|
||||
#endif /* TARGET_ARCH_REG_H */
|
||||
|
||||
@@ -16,8 +16,9 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef _TARGET_ARCH_SIGNAL_H_
|
||||
#define _TARGET_ARCH_SIGNAL_H_
|
||||
|
||||
#ifndef TARGET_ARCH_SIGNAL_H
|
||||
#define TARGET_ARCH_SIGNAL_H
|
||||
|
||||
#include "cpu.h"
|
||||
|
||||
@@ -85,4 +86,4 @@ struct target_sigframe {
|
||||
target_mcontext_vfp_t sf_vfp; /* actual saved VFP context */
|
||||
};
|
||||
|
||||
#endif /* !_TARGET_ARCH_SIGNAL_H_ */
|
||||
#endif /* TARGET_ARCH_SIGNAL_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _TARGET_ARCH_SIGTRAMP_H_
|
||||
#define _TARGET_ARCH_SIGTRAMP_H_
|
||||
#ifndef TARGET_ARCH_SIGTRAMP_H
|
||||
#define TARGET_ARCH_SIGTRAMP_H
|
||||
|
||||
/* Compare to arm/arm/locore.S ENTRY_NP(sigcode) */
|
||||
static inline abi_long setup_sigtramp(abi_ulong offset, unsigned sigf_uc,
|
||||
@@ -46,4 +46,4 @@ static inline abi_long setup_sigtramp(abi_ulong offset, unsigned sigf_uc,
|
||||
|
||||
return memcpy_to_target(offset, sigtramp_code, TARGET_SZSIGCODE);
|
||||
}
|
||||
#endif /* _TARGET_ARCH_SIGTRAMP_H_ */
|
||||
#endif /* TARGET_ARCH_SIGTRAMP_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _TARGET_ARCH_SYSARCH_H_
|
||||
#define _TARGET_ARCH_SYSARCH_H_
|
||||
#ifndef TARGET_ARCH_SYSARCH_H
|
||||
#define TARGET_ARCH_SYSARCH_H
|
||||
|
||||
#include "target_syscall.h"
|
||||
#include "target_arch.h"
|
||||
@@ -75,4 +75,4 @@ static inline void do_freebsd_arch_print_sysarch(
|
||||
}
|
||||
}
|
||||
|
||||
#endif /*!_TARGET_ARCH_SYSARCH_H_ */
|
||||
#endif /* TARGET_ARCH_SYSARCH_H */
|
||||
|
||||
@@ -16,8 +16,9 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef _TARGET_ARCH_THREAD_H_
|
||||
#define _TARGET_ARCH_THREAD_H_
|
||||
|
||||
#ifndef TARGET_ARCH_THREAD_H
|
||||
#define TARGET_ARCH_THREAD_H
|
||||
|
||||
/* Compare to arm/arm/vm_machdep.c cpu_set_upcall_kse() */
|
||||
static inline void target_thread_set_upcall(CPUARMState *env, abi_ulong entry,
|
||||
@@ -77,4 +78,4 @@ static inline void target_thread_init(struct target_pt_regs *regs,
|
||||
*/
|
||||
}
|
||||
|
||||
#endif /* !_TARGET_ARCH_THREAD_H_ */
|
||||
#endif /* TARGET_ARCH_THREAD_H */
|
||||
|
||||
@@ -16,8 +16,9 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#ifndef _TARGET_ARCH_VMPARAM_H_
|
||||
#define _TARGET_ARCH_VMPARAM_H_
|
||||
|
||||
#ifndef TARGET_ARCH_VMPARAM_H
|
||||
#define TARGET_ARCH_VMPARAM_H
|
||||
|
||||
#include "cpu.h"
|
||||
|
||||
@@ -45,4 +46,4 @@ static inline void set_second_rval(CPUARMState *state, abi_ulong retval2)
|
||||
state->regs[1] = retval2;
|
||||
}
|
||||
|
||||
#endif /* ! _TARGET_ARCH_VMPARAM_H_ */
|
||||
#endif /* TARGET_ARCH_VMPARAM_H */
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _TARGET_ARCH_SYSCALL_H_
|
||||
#define _TARGET_ARCH_SYSCALL_H_
|
||||
#ifndef ARM_TARGET_SYSCALL_H
|
||||
#define ARM_TARGET_SYSCALL_H
|
||||
|
||||
struct target_pt_regs {
|
||||
abi_long uregs[17];
|
||||
@@ -52,4 +52,4 @@ struct target_pt_regs {
|
||||
#define TARGET_HW_MACHINE "arm"
|
||||
#define TARGET_HW_MACHINE_ARCH "armv7"
|
||||
|
||||
#endif /* !_TARGET_ARCH_SYSCALL_H_ */
|
||||
#endif /* ARM_TARGET_SYSCALL_H */
|
||||
|
||||
+3
-3
@@ -17,8 +17,8 @@
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef BSD_FILE_H_
|
||||
#define BSD_FILE_H_
|
||||
#ifndef BSD_FILE_H
|
||||
#define BSD_FILE_H
|
||||
|
||||
#include "qemu/path.h"
|
||||
|
||||
@@ -27,4 +27,4 @@ extern struct iovec *lock_iovec(int type, abi_ulong target_addr, int count,
|
||||
extern void unlock_iovec(struct iovec *vec, abi_ulong target_addr, int count,
|
||||
int copy);
|
||||
|
||||
#endif /* !BSD_FILE_H_ */
|
||||
#endif /* BSD_FILE_H */
|
||||
|
||||
@@ -34,8 +34,8 @@
|
||||
* @(#)errno.h 8.5 (Berkeley) 1/21/94
|
||||
*/
|
||||
|
||||
#ifndef _ERRNO_DEFS_H_
|
||||
#define _ERRNO_DEFS_H_
|
||||
#ifndef ERRNO_DEFS_H
|
||||
#define ERRNO_DEFS_H
|
||||
|
||||
#define TARGET_EPERM 1 /* Operation not permitted */
|
||||
#define TARGET_ENOENT 2 /* No such file or directory */
|
||||
@@ -157,4 +157,4 @@
|
||||
_Static_assert(TARGET_ERESTART == QEMU_ERESTARTSYS,
|
||||
"TARGET_ERESTART and QEMU_ERESTARTSYS expected to match");
|
||||
|
||||
#endif /* ! _ERRNO_DEFS_H_ */
|
||||
#endif /* ERRNO_DEFS_H */
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _HOST_OS_H_
|
||||
#define _HOST_OS_H_
|
||||
#ifndef HOST_OS_H
|
||||
#define HOST_OS_H
|
||||
|
||||
#define HOST_DEFAULT_BSD_TYPE target_freebsd
|
||||
|
||||
#endif /*!_HOST_OS_H_ */
|
||||
#endif /* HOST_OS_H */
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user