mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-25 08:59:32 +08:00
s/rtems_boolean/bool/g.
This commit is contained in:
@@ -2440,7 +2440,7 @@ rtems_bdbuf_find_pool (uint32_t block_size, rtems_bdpool_id *pool)
|
||||
rtems_bdbuf_pool* p;
|
||||
rtems_bdpool_id i;
|
||||
rtems_bdpool_id curid = -1;
|
||||
rtems_boolean found = FALSE;
|
||||
bool found = FALSE;
|
||||
uint32_t cursize = UINT_MAX;
|
||||
int j;
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ static boolean disk_io_initialized = FALSE;
|
||||
* semaphore-protected code. If it is not set (very-very frequent case),
|
||||
* we can do lookup safely, enable interrupts and return result.
|
||||
*/
|
||||
static volatile rtems_boolean diskdevs_protected;
|
||||
static volatile bool diskdevs_protected;
|
||||
|
||||
/* create_disk_entry --
|
||||
* Return pointer to the disk_entry structure for the specified device, or
|
||||
|
||||
@@ -91,7 +91,7 @@ get_sector(dev_t dev, uint32_t sector_num, rtems_sector_data_t **sector)
|
||||
* RETURNS:
|
||||
* TRUE if sector has msdos signature, FALSE otherwise
|
||||
*/
|
||||
static rtems_boolean
|
||||
static bool
|
||||
msdos_signature_check (rtems_sector_data_t *sector)
|
||||
{
|
||||
uint8_t *p = sector->data + RTEMS_IDE_PARTITION_MSDOS_SIGNATURE_OFFSET;
|
||||
@@ -111,7 +111,7 @@ msdos_signature_check (rtems_sector_data_t *sector)
|
||||
* RETURNS:
|
||||
* TRUE if partition type is extended, FALSE otherwise
|
||||
*/
|
||||
static rtems_boolean
|
||||
static bool
|
||||
is_extended(uint8_t type)
|
||||
{
|
||||
return ((type == EXTENDED_PARTITION) || (type == LINUX_EXTENDED));
|
||||
@@ -127,7 +127,7 @@ is_extended(uint8_t type)
|
||||
* RETURNS:
|
||||
* TRUE if partition type is extended, FALSE otherwise
|
||||
*/
|
||||
static rtems_boolean
|
||||
static bool
|
||||
is_fat_partition(uint8_t type)
|
||||
{
|
||||
static const uint8_t fat_part_types[] = {
|
||||
|
||||
@@ -37,8 +37,8 @@ struct ramdisk {
|
||||
int block_size; /* RAM disk block size */
|
||||
int block_num; /* Number of blocks on this RAM disk */
|
||||
void *area; /* RAM disk memory area */
|
||||
rtems_boolean initialized;/* RAM disk is initialized */
|
||||
rtems_boolean malloced; /* != 0, if memory allocated by malloc for this
|
||||
bool initialized;/* RAM disk is initialized */
|
||||
bool malloced; /* != 0, if memory allocated by malloc for this
|
||||
RAM disk */
|
||||
#if RTEMS_RAMDISK_TRACE
|
||||
int info_level; /* Trace level */
|
||||
|
||||
Reference in New Issue
Block a user