Ignore:
Timestamp:
2009-04-21T12:46:26Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f2d2c7ba
Parents:
44b7783
Message:

change the way how input devices are wired together according to ticket #44
(also the proposal http://lists.modry.cz/cgi-bin/private/helenos-devel/2009-March/002507.html)

File:
1 moved

Legend:

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

    r44b7783 rc2417bc  
    2727 */
    2828
    29 /** @addtogroup ppc32   
     29/** @addtogroup genarch
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef KERN_ppc32_CUDA_H_
    36 #define KERN_ppc32_CUDA_H_
     35#ifndef KERN_CUDA_H_
     36#define KERN_CUDA_H_
    3737
     38#include <ddi/irq.h>
    3839#include <arch/types.h>
    39 #include <typedefs.h>
     40#include <console/chardev.h>
    4041
    41 extern void cuda_init(uintptr_t base, size_t size);
    42 extern int cuda_get_scancode(void);
     42typedef struct {
     43} cuda_t;
     44
     45typedef struct {
     46        irq_t irq;
     47        cuda_t *cuda;
     48        indev_t *kbrdin;
     49} cuda_instance_t;
     50
     51extern cuda_instance_t *cuda_init(cuda_t *, inr_t, cir_t, void *);
     52extern void cuda_wire(cuda_instance_t *, indev_t *);
    4353
    4454#endif
Note: See TracChangeset for help on using the changeset viewer.