QEMU main repository: Please see https://www.qemu.org/docs/master/devel/submitting-a-patch.html for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website. http://www.qemu.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
408 B
19 lines
408 B
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Define target-specific register size
|
|
* Copyright (c) 2018 SiFive, Inc
|
|
*/
|
|
|
|
#ifndef TCG_TARGET_REG_BITS_H
|
|
#define TCG_TARGET_REG_BITS_H
|
|
|
|
/*
|
|
* We don't support oversize guests.
|
|
* Since we will only build tcg once, this in turn requires a 64-bit host.
|
|
*/
|
|
#if __riscv_xlen != 64
|
|
#error "unsupported code generation mode"
|
|
#endif
|
|
#define TCG_TARGET_REG_BITS 64
|
|
|
|
#endif
|
|
|