Subversion Repositories HelenOS

Rev

Rev 4148 | Rev 4420 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4148 Rev 4311
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
/** @addtogroup ppc32  
29
/** @addtogroup genarch
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#ifndef KERN_ppc32_CUDA_H_
35
#ifndef KERN_CUDA_H_
36
#define KERN_ppc32_CUDA_H_
36
#define KERN_CUDA_H_
37
 
37
 
-
 
38
#include <ddi/irq.h>
38
#include <arch/types.h>
39
#include <arch/types.h>
39
#include <typedefs.h>
40
#include <console/chardev.h>
40
 
41
 
-
 
42
typedef struct {
-
 
43
} cuda_t;
-
 
44
 
-
 
45
typedef struct {
-
 
46
    irq_t irq;
-
 
47
    cuda_t *cuda;
-
 
48
    indev_t *kbrdin;
-
 
49
} cuda_instance_t;
-
 
50
 
41
extern void cuda_init(uintptr_t base, size_t size);
51
extern cuda_instance_t *cuda_init(cuda_t *, inr_t, cir_t, void *);
42
extern int cuda_get_scancode(void);
52
extern void cuda_wire(cuda_instance_t *, indev_t *);
43
 
53
 
44
#endif
54
#endif
45
 
55
 
46
/** @}
56
/** @}
47
 */
57
 */