Rev 4055 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4055 | Rev 4156 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | 34 | ||
35 | #ifndef KERN_sparc64_SGCN_H_ |
35 | #ifndef KERN_sparc64_SGCN_H_ |
36 | #define KERN_sparc64_SGCN_H_ |
36 | #define KERN_sparc64_SGCN_H_ |
37 | 37 | ||
38 | #include <arch/types.h> |
38 | #include <arch/types.h> |
- | 39 | #include <console/chardev.h> |
|
39 | 40 | ||
40 | /* number of bytes in the TOC magic, including the terminating '\0' */ |
41 | /* number of bytes in the TOC magic, including the terminating '\0' */ |
41 | #define TOC_MAGIC_BYTES 8 |
42 | #define TOC_MAGIC_BYTES 8 |
42 | 43 | ||
43 | /* number of bytes in the TOC key, including the terminating '\0' */ |
44 | /* number of bytes in the TOC key, including the terminating '\0' */ |
Line 115... | Line 116... | ||
115 | uint32_t out_wrptr; |
116 | uint32_t out_wrptr; |
116 | } __attribute__ ((packed)) sgcn_buffer_header_t; |
117 | } __attribute__ ((packed)) sgcn_buffer_header_t; |
117 | 118 | ||
118 | void sgcn_grab(void); |
119 | void sgcn_grab(void); |
119 | void sgcn_release(void); |
120 | void sgcn_release(void); |
120 | void sgcn_poll(void); |
121 | indev_t *sgcnin_init(void); |
121 | void sgcn_init(void); |
122 | void sgcnout_init(void); |
122 | 123 | ||
123 | #endif |
124 | #endif |
124 | 125 | ||
125 | /** @} |
126 | /** @} |
126 | */ |
127 | */ |