Rev 4070 | Rev 4111 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4070 | Rev 4071 | ||
---|---|---|---|
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_init(void); |
121 | void sgcn_init(chardev_t *); |
121 | 122 | ||
122 | #endif |
123 | #endif |
123 | 124 | ||
124 | /** @} |
125 | /** @} |
125 | */ |
126 | */ |