Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 514b5e0

Browse files
committed
manually fix formatting errors
Signed-off-by: Sean Cross <sean@xobs.io>
1 parent 828ecc8 commit 514b5e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/target/cortexar.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ static const uint16_t cortexar_spsr_encodings[5] = {
250250
(((opc1) << 21U) | ((crn) << 16U) | ((rt) << 12U) | ((coproc) << 8U) | ((opc2) << 5U) | (crm))
251251
/* Packs a CRn and CRm value for the coprocessor IO routines below to unpack */
252252
#define ENCODE_CP_REG(n, m, opc1, opc2) \
253-
((((n) & 0xfU) << 4U) | ((m) & 0xfU) | (((opc1) & 0x7U) << 8U) | (((opc2) & 0x7U) << 12U))
253+
((((n)&0xfU) << 4U) | ((m)&0xfU) | (((opc1)&0x7U) << 8U) | (((opc2)&0x7U) << 12U))
254254

255255
/*
256256
* Instruction encodings for coprocessor load/store
@@ -1014,7 +1014,7 @@ static bool cortexar_check_error(target_s *const target)
10141014
{
10151015
cortexar_priv_s *const priv = (cortexar_priv_s *)target->priv;
10161016
const bool fault = priv->core_status & (CORTEXAR_STATUS_DATA_FAULT | CORTEXAR_STATUS_MMU_FAULT);
1017-
priv->core_status &= (uint8_t)~(CORTEXAR_STATUS_DATA_FAULT | CORTEXAR_STATUS_MMU_FAULT);
1017+
priv->core_status &= (uint8_t) ~(CORTEXAR_STATUS_DATA_FAULT | CORTEXAR_STATUS_MMU_FAULT);
10181018
return fault || cortex_check_error(target);
10191019
}
10201020

0 commit comments

Comments
 (0)