Changeset d30e067 in mainline for uspace/srv/devman/devman.h


Ignore:
Timestamp:
2025-03-02T20:02:33Z (5 months ago)
Author:
Miroslav Cimerman <mc@…>
Children:
8cdf360
Parents:
7debda3 (diff), 4285f384 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge 'upstream/master' into helenraid-para

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/devman.h

    r7debda3 rd30e067  
    11/*
     2 * Copyright (c) 2025 Jiri Svoboda
    23 * Copyright (c) 2010 Lenka Trochtova
    3  * Copyright (c) 2011 Jiri Svoboda
    44 * All rights reserved.
    55 *
     
    105105typedef enum {
    106106        DEVICE_NOT_INITIALIZED = 0,
     107        DEVICE_ATTACHING,
    107108        DEVICE_USABLE,
    108109        DEVICE_NOT_PRESENT,
     
    129130        /** The state of the device. */
    130131        device_state_t state;
     132        /** Protect device state field */
     133        fibril_mutex_t state_lock;
     134        /** Signalled when device state changes */
     135        fibril_condvar_t state_cv;
    131136        /** Link to list of devices owned by driver (driver_t.devices) */
    132137        link_t driver_devices;
Note: See TracChangeset for help on using the changeset viewer.