Ignore:
Timestamp:
2017-10-02T20:52:27Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7e55bed7, 94868e1
Parents:
6886705
Message:

Eliminate global variables in CUDA driver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/bus/cuda_adb/cuda_adb.h

    r6886705 r943aaf1b  
    4141#include <stddef.h>
    4242#include <stdint.h>
     43#include "cuda_hw.h"
    4344
    4445enum {
     
    6061
    6162typedef struct {
    62         struct cuda *cuda;
     63        struct cuda *regs;
    6364        uintptr_t cuda_physical;
    6465
     
    6970        enum cuda_xfer_state xstate;
    7071        fibril_mutex_t dev_lock;
     72
     73        adb_dev_t adb_dev[ADB_MAX_ADDR];
    7174} cuda_instance_t;
    7275
Note: See TracChangeset for help on using the changeset viewer.