Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 361fcec in mainline for uspace/drv/ohci/root_hub.h


Ignore:
Timestamp:
2011-04-29T08:33:43Z (11 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial
Children:
152ec79, a146aa33
Parents:
54d71e1
Message:

removing malloc, pre-creating root hub descriptor and interrupt buffer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/root_hub.h

    r54d71e1 r361fcec  
    5959         *
    6060         * This is allocated when initializing instance, so that memory
    61          * allocation is not needed when processing request.
     61         * allocation is not needed when processing request. Buffer is used for
     62         * interrupt bitmask.
    6263         */
    6364        uint8_t * interrupt_buffer;
     65        /** size of interrupt buffer */
     66        size_t interrupt_mask_size;
     67        /** instance`s descriptor*/
     68        uint8_t * hub_descriptor;
     69        /** size of hub descriptor */
     70        size_t descriptor_size;
     71
     72
    6473} rh_t;
    6574
Note: See TracChangeset for help on using the changeset viewer.