Rev 4114 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4114 | 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 ia64 |
29 | /** @addtogroup ia64 |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef KERN_ia64_SKI_H_ |
35 | #ifndef KERN_ia64_SKI_H_ |
36 | #define KERN_ia64_SKI_H_ |
36 | #define KERN_ia64_SKI_H_ |
37 | 37 | ||
38 | #include <console/chardev.h> |
38 | #include <console/chardev.h> |
- | 39 | #include <proc/thread.h> |
|
39 | 40 | ||
- | 41 | typedef struct { |
|
40 | #define SKI_INIT_CONSOLE 20 |
42 | thread_t *thread; |
41 | #define SKI_GETCHAR 21 |
43 | indev_t *srlnin; |
42 | #define SKI_PUTCHAR 31 |
44 | } ski_instance_t; |
43 | 45 | ||
44 | extern indev_t *skiin_init(void); |
- | |
45 | extern void skiout_init(void); |
46 | extern void skiout_init(void); |
- | 47 | ||
- | 48 | extern ski_instance_t *skiin_init(void); |
|
- | 49 | extern void skiin_wire(ski_instance_t *, indev_t *); |
|
46 | extern void ski_kbd_grab(void); |
50 | extern void ski_kbd_grab(void); |
47 | extern void ski_kbd_release(void); |
51 | extern void ski_kbd_release(void); |
48 | 52 | ||
49 | #endif |
53 | #endif |
50 | 54 |