Skip to content

Commit 73a1b1f

Browse files
committed
fix naming conventions
Signed-off-by: Vo Trung Chi <[email protected]>
1 parent f8cb285 commit 73a1b1f

File tree

19 files changed

+57
-57
lines changed

19 files changed

+57
-57
lines changed

portable/CCS/ARM_CM3/port.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ BaseType_t xPortStartScheduler( void )
218218
{
219219
#if ( configASSERT_DEFINED == 1 )
220220
{
221-
volatile uint8_t ulOriginalPriority;
221+
volatile uint8_t ucOriginalPriority;
222222
volatile uint32_t ulImplementedPrioBits = 0;
223223
volatile uint8_t * const pucFirstUserPriorityRegister = ( uint8_t * ) ( portNVIC_IP_REGISTERS_OFFSET_16 + portFIRST_USER_INTERRUPT_NUMBER );
224224
volatile uint8_t ucMaxPriorityValue;
@@ -229,7 +229,7 @@ BaseType_t xPortStartScheduler( void )
229229
* ensure interrupt entry is as fast and simple as possible.
230230
*
231231
* Save the interrupt priority value that is about to be clobbered. */
232-
ulOriginalPriority = *pucFirstUserPriorityRegister;
232+
ucOriginalPriority = *pucFirstUserPriorityRegister;
233233

234234
/* Determine the number of priority bits available. First write to all
235235
* possible bits. */
@@ -310,7 +310,7 @@ BaseType_t xPortStartScheduler( void )
310310

311311
/* Restore the clobbered interrupt priority register to its original
312312
* value. */
313-
*pucFirstUserPriorityRegister = ulOriginalPriority;
313+
*pucFirstUserPriorityRegister = ucOriginalPriority;
314314
}
315315
#endif /* configASSERT_DEFINED */
316316

portable/CCS/ARM_CM4F/port.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ BaseType_t xPortStartScheduler( void )
237237
{
238238
#if ( configASSERT_DEFINED == 1 )
239239
{
240-
volatile uint8_t ulOriginalPriority;
240+
volatile uint8_t ucOriginalPriority;
241241
volatile uint32_t ulImplementedPrioBits = 0;
242242
volatile uint8_t * const pucFirstUserPriorityRegister = ( uint8_t * ) ( portNVIC_IP_REGISTERS_OFFSET_16 + portFIRST_USER_INTERRUPT_NUMBER );
243243
volatile uint8_t ucMaxPriorityValue;
@@ -248,7 +248,7 @@ BaseType_t xPortStartScheduler( void )
248248
* ensure interrupt entry is as fast and simple as possible.
249249
*
250250
* Save the interrupt priority value that is about to be clobbered. */
251-
ulOriginalPriority = *pucFirstUserPriorityRegister;
251+
ucOriginalPriority = *pucFirstUserPriorityRegister;
252252

253253
/* Determine the number of priority bits available. First write to all
254254
* possible bits. */
@@ -329,7 +329,7 @@ BaseType_t xPortStartScheduler( void )
329329

330330
/* Restore the clobbered interrupt priority register to its original
331331
* value. */
332-
*pucFirstUserPriorityRegister = ulOriginalPriority;
332+
*pucFirstUserPriorityRegister = ucOriginalPriority;
333333
}
334334
#endif /* configASSERT_DEFINED */
335335

portable/GCC/ARM_CA53_64_BIT/port.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,14 +270,14 @@ uint32_t ulAPSR;
270270

271271
#if( configASSERT_DEFINED == 1 )
272272
{
273-
volatile uint8_t ulOriginalPriority;
273+
volatile uint8_t ucOriginalPriority;
274274
volatile uint8_t * const pucFirstUserPriorityRegister = ( volatile uint8_t * const ) ( configINTERRUPT_CONTROLLER_BASE_ADDRESS + portINTERRUPT_PRIORITY_REGISTER_OFFSET );
275275
volatile uint8_t ucMaxPriorityValue;
276276

277277
/* Determine how many priority bits are implemented in the GIC.
278278
279279
Save the interrupt priority value that is about to be clobbered. */
280-
ulOriginalPriority = *pucFirstUserPriorityRegister;
280+
ucOriginalPriority = *pucFirstUserPriorityRegister;
281281

282282
/* Determine the number of priority bits available. First write to
283283
all possible bits. */
@@ -300,7 +300,7 @@ uint32_t ulAPSR;
300300

301301
/* Restore the clobbered interrupt priority register to its original
302302
value. */
303-
*pucFirstUserPriorityRegister = ulOriginalPriority;
303+
*pucFirstUserPriorityRegister = ucOriginalPriority;
304304
}
305305
#endif /* configASSERT_DEFINED */
306306

portable/GCC/ARM_CA9/port.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,14 +329,14 @@ uint32_t ulAPSR;
329329

330330
#if( configASSERT_DEFINED == 1 )
331331
{
332-
volatile uint8_t ulOriginalPriority;
332+
volatile uint8_t ucOriginalPriority;
333333
volatile uint8_t * const pucFirstUserPriorityRegister = ( volatile uint8_t * const ) ( configINTERRUPT_CONTROLLER_BASE_ADDRESS + portINTERRUPT_PRIORITY_REGISTER_OFFSET );
334334
volatile uint8_t ucMaxPriorityValue;
335335

336336
/* Determine how many priority bits are implemented in the GIC.
337337
338338
Save the interrupt priority value that is about to be clobbered. */
339-
ulOriginalPriority = *pucFirstUserPriorityRegister;
339+
ucOriginalPriority = *pucFirstUserPriorityRegister;
340340

341341
/* Determine the number of priority bits available. First write to
342342
all possible bits. */
@@ -357,7 +357,7 @@ uint32_t ulAPSR;
357357

358358
/* Restore the clobbered interrupt priority register to its original
359359
value. */
360-
*pucFirstUserPriorityRegister = ulOriginalPriority;
360+
*pucFirstUserPriorityRegister = ucOriginalPriority;
361361
}
362362
#endif /* configASSERT_DEFINED */
363363

portable/GCC/ARM_CM3/port.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ BaseType_t xPortStartScheduler( void )
261261
{
262262
#if ( configASSERT_DEFINED == 1 )
263263
{
264-
volatile uint8_t ulOriginalPriority;
264+
volatile uint8_t ucOriginalPriority;
265265
volatile uint32_t ulImplementedPrioBits = 0;
266266
volatile uint8_t * const pucFirstUserPriorityRegister = ( volatile uint8_t * const ) ( portNVIC_IP_REGISTERS_OFFSET_16 + portFIRST_USER_INTERRUPT_NUMBER );
267267
volatile uint8_t ucMaxPriorityValue;
@@ -272,7 +272,7 @@ BaseType_t xPortStartScheduler( void )
272272
* ensure interrupt entry is as fast and simple as possible.
273273
*
274274
* Save the interrupt priority value that is about to be clobbered. */
275-
ulOriginalPriority = *pucFirstUserPriorityRegister;
275+
ucOriginalPriority = *pucFirstUserPriorityRegister;
276276

277277
/* Determine the number of priority bits available. First write to all
278278
* possible bits. */
@@ -353,7 +353,7 @@ BaseType_t xPortStartScheduler( void )
353353

354354
/* Restore the clobbered interrupt priority register to its original
355355
* value. */
356-
*pucFirstUserPriorityRegister = ulOriginalPriority;
356+
*pucFirstUserPriorityRegister = ucOriginalPriority;
357357
}
358358
#endif /* configASSERT_DEFINED */
359359

portable/GCC/ARM_CM3_MPU/port.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ BaseType_t xPortStartScheduler( void )
384384
{
385385
#if ( configASSERT_DEFINED == 1 )
386386
{
387-
volatile uint8_t ulOriginalPriority;
387+
volatile uint8_t ucOriginalPriority;
388388
volatile uint32_t ulImplementedPrioBits = 0;
389389
volatile uint8_t * const pucFirstUserPriorityRegister = ( volatile uint8_t * const ) ( portNVIC_IP_REGISTERS_OFFSET_16 + portFIRST_USER_INTERRUPT_NUMBER );
390390
volatile uint8_t ucMaxPriorityValue;
@@ -395,7 +395,7 @@ BaseType_t xPortStartScheduler( void )
395395
* to ensure interrupt entry is as fast and simple as possible.
396396
*
397397
* Save the interrupt priority value that is about to be clobbered. */
398-
ulOriginalPriority = *pucFirstUserPriorityRegister;
398+
ucOriginalPriority = *pucFirstUserPriorityRegister;
399399

400400
/* Determine the number of priority bits available. First write to all
401401
* possible bits. */
@@ -476,7 +476,7 @@ BaseType_t xPortStartScheduler( void )
476476

477477
/* Restore the clobbered interrupt priority register to its original
478478
* value. */
479-
*pucFirstUserPriorityRegister = ulOriginalPriority;
479+
*pucFirstUserPriorityRegister = ucOriginalPriority;
480480
}
481481
#endif /* configASSERT_DEFINED */
482482

portable/GCC/ARM_CM4F/port.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ BaseType_t xPortStartScheduler( void )
304304

305305
#if ( configASSERT_DEFINED == 1 )
306306
{
307-
volatile uint8_t ulOriginalPriority;
307+
volatile uint8_t ucOriginalPriority;
308308
volatile uint32_t ulImplementedPrioBits = 0;
309309
volatile uint8_t * const pucFirstUserPriorityRegister = ( volatile uint8_t * const ) ( portNVIC_IP_REGISTERS_OFFSET_16 + portFIRST_USER_INTERRUPT_NUMBER );
310310
volatile uint8_t ucMaxPriorityValue;
@@ -315,7 +315,7 @@ BaseType_t xPortStartScheduler( void )
315315
* ensure interrupt entry is as fast and simple as possible.
316316
*
317317
* Save the interrupt priority value that is about to be clobbered. */
318-
ulOriginalPriority = *pucFirstUserPriorityRegister;
318+
ucOriginalPriority = *pucFirstUserPriorityRegister;
319319

320320
/* Determine the number of priority bits available. First write to all
321321
* possible bits. */
@@ -396,7 +396,7 @@ BaseType_t xPortStartScheduler( void )
396396

397397
/* Restore the clobbered interrupt priority register to its original
398398
* value. */
399-
*pucFirstUserPriorityRegister = ulOriginalPriority;
399+
*pucFirstUserPriorityRegister = ucOriginalPriority;
400400
}
401401
#endif /* configASSERT_DEFINED */
402402

portable/GCC/ARM_CM4_MPU/port.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ BaseType_t xPortStartScheduler( void )
427427

428428
#if ( configASSERT_DEFINED == 1 )
429429
{
430-
volatile uint8_t ulOriginalPriority;
430+
volatile uint8_t ucOriginalPriority;
431431
volatile uint32_t ulImplementedPrioBits = 0;
432432
volatile uint8_t * const pucFirstUserPriorityRegister = ( volatile uint8_t * const ) ( portNVIC_IP_REGISTERS_OFFSET_16 + portFIRST_USER_INTERRUPT_NUMBER );
433433
volatile uint8_t ucMaxPriorityValue;
@@ -438,7 +438,7 @@ BaseType_t xPortStartScheduler( void )
438438
* ensure interrupt entry is as fast and simple as possible.
439439
*
440440
* Save the interrupt priority value that is about to be clobbered. */
441-
ulOriginalPriority = *pucFirstUserPriorityRegister;
441+
ucOriginalPriority = *pucFirstUserPriorityRegister;
442442

443443
/* Determine the number of priority bits available. First write to all
444444
* possible bits. */
@@ -519,7 +519,7 @@ BaseType_t xPortStartScheduler( void )
519519

520520
/* Restore the clobbered interrupt priority register to its original
521521
* value. */
522-
*pucFirstUserPriorityRegister = ulOriginalPriority;
522+
*pucFirstUserPriorityRegister = ucOriginalPriority;
523523
}
524524
#endif /* configASSERT_DEFINED */
525525

portable/GCC/ARM_CM7/r0p1/port.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ BaseType_t xPortStartScheduler( void )
292292
{
293293
#if ( configASSERT_DEFINED == 1 )
294294
{
295-
volatile uint8_t ulOriginalPriority;
295+
volatile uint8_t ucOriginalPriority;
296296
volatile uint32_t ulImplementedPrioBits = 0;
297297
volatile uint8_t * const pucFirstUserPriorityRegister = ( volatile uint8_t * const ) ( portNVIC_IP_REGISTERS_OFFSET_16 + portFIRST_USER_INTERRUPT_NUMBER );
298298
volatile uint8_t ucMaxPriorityValue;
@@ -303,7 +303,7 @@ BaseType_t xPortStartScheduler( void )
303303
* ensure interrupt entry is as fast and simple as possible.
304304
*
305305
* Save the interrupt priority value that is about to be clobbered. */
306-
ulOriginalPriority = *pucFirstUserPriorityRegister;
306+
ucOriginalPriority = *pucFirstUserPriorityRegister;
307307

308308
/* Determine the number of priority bits available. First write to all
309309
* possible bits. */
@@ -384,7 +384,7 @@ BaseType_t xPortStartScheduler( void )
384384

385385
/* Restore the clobbered interrupt priority register to its original
386386
* value. */
387-
*pucFirstUserPriorityRegister = ulOriginalPriority;
387+
*pucFirstUserPriorityRegister = ucOriginalPriority;
388388
}
389389
#endif /* configASSERT_DEFINED */
390390

portable/GCC/ARM_CR5/port.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,15 +411,15 @@ BaseType_t xPortStartScheduler( void )
411411

412412
#if ( configASSERT_DEFINED == 1 )
413413
{
414-
volatile uint8_t ulOriginalPriority;
414+
volatile uint8_t ucOriginalPriority;
415415
volatile uint8_t * const pucFirstUserPriorityRegister = ( volatile uint8_t * const ) ( configINTERRUPT_CONTROLLER_BASE_ADDRESS + portINTERRUPT_PRIORITY_REGISTER_OFFSET );
416416
volatile uint8_t ucMaxPriorityValue;
417417

418418
/*
419419
* Determine how many priority bits are implemented in the GIC.
420420
* Save the interrupt priority value that is about to be clobbered.
421421
*/
422-
ulOriginalPriority = *pucFirstUserPriorityRegister;
422+
ucOriginalPriority = *pucFirstUserPriorityRegister;
423423

424424
/*
425425
* Determine the number of priority bits available. First write to
@@ -457,7 +457,7 @@ BaseType_t xPortStartScheduler( void )
457457
* Restore the clobbered interrupt priority register to its original
458458
* value.
459459
*/
460-
*pucFirstUserPriorityRegister = ulOriginalPriority;
460+
*pucFirstUserPriorityRegister = ucOriginalPriority;
461461
}
462462
#endif /* configASSERT_DEFINED */
463463

0 commit comments

Comments
 (0)