Ignore:
Timestamp:
2009-07-11T21:47:46Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9a61ba5
Parents:
4b2c458c
Message:

Implement data transmission to CUDA, use to enable autopolling. Now the driver works both in PearPC and Qemu -M g3beige.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/drivers/via-cuda/cuda.h

    r4b2c458c r450448d  
    9898        cx_listen,
    9999        cx_receive,
    100         cx_rcv_end
     100        cx_rcv_end,
     101        cx_send_start,
     102        cx_send
    101103};
    102104
     
    106108        indev_t *kbrdin;
    107109        uint8_t rcv_buf[CUDA_RCV_BUF_SIZE];
     110        uint8_t snd_buf[CUDA_RCV_BUF_SIZE];
    108111        size_t bidx;
     112        size_t snd_bytes;
    109113        enum cuda_xfer_state xstate;
    110114        SPINLOCK_DECLARE(dev_lock);
Note: See TracChangeset for help on using the changeset viewer.