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

portable/IAR/ARM_CM3/port.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ BaseType_t xPortStartScheduler( void )
210210
{
211211
#if ( configASSERT_DEFINED == 1 )
212212
{
213-
volatile uint8_t ulOriginalPriority;
213+
volatile uint8_t ucOriginalPriority;
214214
volatile uint32_t ulImplementedPrioBits = 0;
215215
volatile uint8_t * const pucFirstUserPriorityRegister = ( volatile uint8_t * const ) ( portNVIC_IP_REGISTERS_OFFSET_16 + portFIRST_USER_INTERRUPT_NUMBER );
216216
volatile uint8_t ucMaxPriorityValue;
@@ -221,7 +221,7 @@ BaseType_t xPortStartScheduler( void )
221221
* ensure interrupt entry is as fast and simple as possible.
222222
*
223223
* Save the interrupt priority value that is about to be clobbered. */
224-
ulOriginalPriority = *pucFirstUserPriorityRegister;
224+
ucOriginalPriority = *pucFirstUserPriorityRegister;
225225

226226
/* Determine the number of priority bits available. First write to all
227227
* possible bits. */
@@ -302,7 +302,7 @@ BaseType_t xPortStartScheduler( void )
302302

303303
/* Restore the clobbered interrupt priority register to its original
304304
* value. */
305-
*pucFirstUserPriorityRegister = ulOriginalPriority;
305+
*pucFirstUserPriorityRegister = ucOriginalPriority;
306306
}
307307
#endif /* configASSERT_DEFINED */
308308

portable/IAR/ARM_CM4F/port.c

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

249249
#if ( configASSERT_DEFINED == 1 )
250250
{
251-
volatile uint8_t ulOriginalPriority;
251+
volatile uint8_t ucOriginalPriority;
252252
volatile uint32_t ulImplementedPrioBits = 0;
253253
volatile uint8_t * const pucFirstUserPriorityRegister = ( volatile uint8_t * const ) ( portNVIC_IP_REGISTERS_OFFSET_16 + portFIRST_USER_INTERRUPT_NUMBER );
254254
volatile uint8_t ucMaxPriorityValue;
@@ -259,7 +259,7 @@ BaseType_t xPortStartScheduler( void )
259259
* ensure interrupt entry is as fast and simple as possible.
260260
*
261261
* Save the interrupt priority value that is about to be clobbered. */
262-
ulOriginalPriority = *pucFirstUserPriorityRegister;
262+
ucOriginalPriority = *pucFirstUserPriorityRegister;
263263

264264
/* Determine the number of priority bits available. First write to all
265265
* possible bits. */
@@ -340,7 +340,7 @@ BaseType_t xPortStartScheduler( void )
340340

341341
/* Restore the clobbered interrupt priority register to its original
342342
* value. */
343-
*pucFirstUserPriorityRegister = ulOriginalPriority;
343+
*pucFirstUserPriorityRegister = ucOriginalPriority;
344344
}
345345
#endif /* configASSERT_DEFINED */
346346

portable/IAR/ARM_CM4F_MPU/port.c

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

363363
#if ( configASSERT_DEFINED == 1 )
364364
{
365-
volatile uint8_t ulOriginalPriority;
365+
volatile uint8_t ucOriginalPriority;
366366
volatile uint32_t ulImplementedPrioBits = 0;
367367
volatile uint8_t * const pucFirstUserPriorityRegister = ( volatile uint8_t * const ) ( portNVIC_IP_REGISTERS_OFFSET_16 + portFIRST_USER_INTERRUPT_NUMBER );
368368
volatile uint8_t ucMaxPriorityValue;
@@ -373,7 +373,7 @@ BaseType_t xPortStartScheduler( void )
373373
* ensure interrupt entry is as fast and simple as possible.
374374
*
375375
* Save the interrupt priority value that is about to be clobbered. */
376-
ulOriginalPriority = *pucFirstUserPriorityRegister;
376+
ucOriginalPriority = *pucFirstUserPriorityRegister;
377377

378378
/* Determine the number of priority bits available. First write to all
379379
* possible bits. */
@@ -454,7 +454,7 @@ BaseType_t xPortStartScheduler( void )
454454

455455
/* Restore the clobbered interrupt priority register to its original
456456
* value. */
457-
*pucFirstUserPriorityRegister = ulOriginalPriority;
457+
*pucFirstUserPriorityRegister = ucOriginalPriority;
458458
}
459459
#endif /* configASSERT_DEFINED */
460460

portable/IAR/ARM_CM7/r0p1/port.c

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

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

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

0 commit comments

Comments
 (0)