Ignore:
Timestamp:
2017-10-05T18:00:52Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
81b9d3e
Parents:
e27e36e
Message:

CUDA driver should use hw_res to obtain HW configuration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/adb/cuda_adb/cuda_adb.h

    re27e36e rc188c62  
    5757};
    5858
     59typedef struct {
     60        uintptr_t base;
     61        int irq;
     62} cuda_res_t;
     63
    5964/** ADB bus device */
    6065typedef struct {
     
    6873typedef struct cude {
    6974        struct cuda_regs *regs;
    70         uintptr_t cuda_physical;
     75        uintptr_t phys_base;
    7176        ddf_dev_t *dev;
    7277
     
    8287} cuda_t;
    8388
    84 extern int cuda_add(cuda_t *);
     89extern int cuda_add(cuda_t *, cuda_res_t *);
    8590extern int cuda_remove(cuda_t *);
    8691extern int cuda_gone(cuda_t *);
Note: See TracChangeset for help on using the changeset viewer.