ArmPlatformPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the ArmPlatformPkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Andrew Fish <afish@apple.com>
This commit is contained in:
committed by
mergify[bot]
parent
429309e0c6
commit
40b0b23ed3
@@ -6,34 +6,33 @@
|
||||
|
||||
**/
|
||||
|
||||
|
||||
#ifndef __PL031_REAL_TIME_CLOCK_H__
|
||||
#define __PL031_REAL_TIME_CLOCK_H__
|
||||
|
||||
// PL031 Registers
|
||||
#define PL031_RTC_DR_DATA_REGISTER 0x000
|
||||
#define PL031_RTC_MR_MATCH_REGISTER 0x004
|
||||
#define PL031_RTC_LR_LOAD_REGISTER 0x008
|
||||
#define PL031_RTC_CR_CONTROL_REGISTER 0x00C
|
||||
#define PL031_RTC_IMSC_IRQ_MASK_SET_CLEAR_REGISTER 0x010
|
||||
#define PL031_RTC_RIS_RAW_IRQ_STATUS_REGISTER 0x014
|
||||
#define PL031_RTC_MIS_MASKED_IRQ_STATUS_REGISTER 0x018
|
||||
#define PL031_RTC_ICR_IRQ_CLEAR_REGISTER 0x01C
|
||||
#define PL031_RTC_PERIPH_ID0 0xFE0
|
||||
#define PL031_RTC_PERIPH_ID1 0xFE4
|
||||
#define PL031_RTC_PERIPH_ID2 0xFE8
|
||||
#define PL031_RTC_PERIPH_ID3 0xFEC
|
||||
#define PL031_RTC_PCELL_ID0 0xFF0
|
||||
#define PL031_RTC_PCELL_ID1 0xFF4
|
||||
#define PL031_RTC_PCELL_ID2 0xFF8
|
||||
#define PL031_RTC_PCELL_ID3 0xFFC
|
||||
#define PL031_RTC_DR_DATA_REGISTER 0x000
|
||||
#define PL031_RTC_MR_MATCH_REGISTER 0x004
|
||||
#define PL031_RTC_LR_LOAD_REGISTER 0x008
|
||||
#define PL031_RTC_CR_CONTROL_REGISTER 0x00C
|
||||
#define PL031_RTC_IMSC_IRQ_MASK_SET_CLEAR_REGISTER 0x010
|
||||
#define PL031_RTC_RIS_RAW_IRQ_STATUS_REGISTER 0x014
|
||||
#define PL031_RTC_MIS_MASKED_IRQ_STATUS_REGISTER 0x018
|
||||
#define PL031_RTC_ICR_IRQ_CLEAR_REGISTER 0x01C
|
||||
#define PL031_RTC_PERIPH_ID0 0xFE0
|
||||
#define PL031_RTC_PERIPH_ID1 0xFE4
|
||||
#define PL031_RTC_PERIPH_ID2 0xFE8
|
||||
#define PL031_RTC_PERIPH_ID3 0xFEC
|
||||
#define PL031_RTC_PCELL_ID0 0xFF0
|
||||
#define PL031_RTC_PCELL_ID1 0xFF4
|
||||
#define PL031_RTC_PCELL_ID2 0xFF8
|
||||
#define PL031_RTC_PCELL_ID3 0xFFC
|
||||
|
||||
// PL031 Values
|
||||
#define PL031_RTC_ENABLED 0x00000001
|
||||
#define PL031_SET_IRQ_MASK 0x00000001
|
||||
#define PL031_IRQ_TRIGGERED 0x00000001
|
||||
#define PL031_CLEAR_IRQ 0x00000001
|
||||
#define PL031_RTC_ENABLED 0x00000001
|
||||
#define PL031_SET_IRQ_MASK 0x00000001
|
||||
#define PL031_IRQ_TRIGGERED 0x00000001
|
||||
#define PL031_CLEAR_IRQ 0x00000001
|
||||
|
||||
#define PL031_COUNTS_PER_SECOND 1
|
||||
#define PL031_COUNTS_PER_SECOND 1
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user