---
title: hv_reg_t
framework: Hypervisor
role: symbol
role_heading: Structure
path: hypervisor/hv_reg_t
---

# hv_reg_t

The type that defines general registers.

## Declaration

```swift
struct hv_reg_t
```

## Topics

### General registers

- [HV_REG_CPSR](hypervisor/hv_reg_cpsr.md)
- [HV_REG_LR](hypervisor/hv_reg_lr.md)
- [HV_REG_PC](hypervisor/hv_reg_pc.md)
- [HV_REG_FP](hypervisor/hv_reg_fp.md)
- [HV_REG_FPCR](hypervisor/hv_reg_fpcr.md)
- [HV_REG_FPSR](hypervisor/hv_reg_fpsr.md)
- [HV_REG_X0](hypervisor/hv_reg_x0.md)
- [HV_REG_X1](hypervisor/hv_reg_x1.md)
- [HV_REG_X2](hypervisor/hv_reg_x2.md)
- [HV_REG_X3](hypervisor/hv_reg_x3.md)
- [HV_REG_X4](hypervisor/hv_reg_x4.md)
- [HV_REG_X5](hypervisor/hv_reg_x5.md)
- [HV_REG_X6](hypervisor/hv_reg_x6.md)
- [HV_REG_X7](hypervisor/hv_reg_x7.md)
- [HV_REG_X8](hypervisor/hv_reg_x8.md)
- [HV_REG_X9](hypervisor/hv_reg_x9.md)
- [HV_REG_X10](hypervisor/hv_reg_x10.md)
- [HV_REG_X11](hypervisor/hv_reg_x11.md)
- [HV_REG_X12](hypervisor/hv_reg_x12.md)
- [HV_REG_X13](hypervisor/hv_reg_x13.md)
- [HV_REG_X14](hypervisor/hv_reg_x14.md)
- [HV_REG_X15](hypervisor/hv_reg_x15.md)
- [HV_REG_X16](hypervisor/hv_reg_x16.md)
- [HV_REG_X17](hypervisor/hv_reg_x17.md)
- [HV_REG_X18](hypervisor/hv_reg_x18.md)
- [HV_REG_X19](hypervisor/hv_reg_x19.md)
- [HV_REG_X20](hypervisor/hv_reg_x20.md)
- [HV_REG_X21](hypervisor/hv_reg_x21.md)
- [HV_REG_X22](hypervisor/hv_reg_x22.md)
- [HV_REG_X23](hypervisor/hv_reg_x23.md)
- [HV_REG_X24](hypervisor/hv_reg_x24.md)
- [HV_REG_X25](hypervisor/hv_reg_x25.md)
- [HV_REG_X26](hypervisor/hv_reg_x26.md)
- [HV_REG_X27](hypervisor/hv_reg_x27.md)
- [HV_REG_X28](hypervisor/hv_reg_x28.md)
- [HV_REG_X29](hypervisor/hv_reg_x29.md)
- [HV_REG_X30](hypervisor/hv_reg_x30.md)

### Instance properties

- [rawValue](hypervisor/hv_reg_t/rawvalue.md)

### Initializers

- [init(_:)](hypervisor/hv_reg_t/init(_:).md)
- [init(rawValue:)](hypervisor/hv_reg_t/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)

## See Also

### General registers

- [hv_vcpu_get_reg(_:_:_:)](hypervisor/hv_vcpu_get_reg(_:_:_:).md)
- [hv_vcpu_set_reg(_:_:_:)](hypervisor/hv_vcpu_set_reg(_:_:_:).md)
