Skip to content

Commit 9c60c5f

Browse files
laideneRbb666
authored andcommitted
Update libcpu/arm/cortex-a/gic.c
1 parent ff5c5ea commit 9c60c5f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

libcpu/arm/cortex-a/gic.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ void arm_gic_clear_pending_irq(rt_uint32_t index, int irq)
260260
* which have fully programmable configuration registers.
261261
*
262262
* @param index GIC controller index
263-
* @param irq The actual interrupt number(with offset)
263+
* @param irq The actual interrupt number (with offset)
264264
* @param config 0: level-sensitive, 1: edge-triggered
265265
*/
266266
void arm_gic_set_configuration(rt_uint32_t index, int irq, rt_uint32_t config)
@@ -367,7 +367,7 @@ rt_uint32_t arm_gic_get_target_cpu(rt_uint32_t index, int irq)
367367
* @note The lower the value, the greater the priority of the corresponding interrupt.
368368
*
369369
* @param index GIC controller index
370-
* @param irq The actual interrupt number(with offset)
370+
* @param irq The actual interrupt number (with offset)
371371
* @param priority The priority to set.Only the lower 8 bits are valid (bits [7:0]).
372372
*/
373373
void arm_gic_set_priority(rt_uint32_t index, int irq, rt_uint32_t priority)
@@ -695,7 +695,7 @@ int arm_gic_dist_init(rt_uint32_t index, rt_uint32_t dist_base, int irq_start)
695695
* @brief Initialize the GIC CPU Interface (GICC)
696696
*
697697
* @note: The exact bit definitions and behavior may vary depending on
698-
* the GIC implementation (GICv1/GICv2) and security context..
698+
* the GIC implementation (GICv1/GICv2) and security context.
699699
*
700700
* @param index GIC controller index
701701
* @param cpu_base Base address of the GIC CPU Interface (GICC)
@@ -721,7 +721,7 @@ int arm_gic_cpu_init(rt_uint32_t index, rt_uint32_t cpu_base)
721721
}
722722

723723
/**
724-
* @brief Print the GIC infomations(version, base addr, max irq nums, security extension)
724+
* @brief Print the GIC information (version, base addr, max irq nums, security extension)
725725
*
726726
* @param index GIC controller index
727727
*/
@@ -739,7 +739,7 @@ void arm_gic_dump_type(rt_uint32_t index)
739739
}
740740

741741
/**
742-
* @brief Print the GIC status(highest priority pending interrupt, enable status, pending status , active status)
742+
* @brief Print the GIC status (highest priority pending interrupt, enable status, pending status , active status)
743743
*
744744
* @param index
745745
*/

0 commit comments

Comments
 (0)