Rev 4220 | Rev 4311 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4220 | Rev 4223 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | /** @addtogroup sparc64 |
29 | /** @addtogroup sparc64 |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** |
32 | /** |
33 | * @file |
33 | * @file |
34 | * @brief SGCN driver. |
34 | * @brief SGCN driver. |
35 | */ |
35 | */ |
36 | 36 | ||
37 | #include <arch.h> |
37 | #include <arch.h> |
38 | #include <arch/drivers/sgcn.h> |
38 | #include <arch/drivers/sgcn.h> |
39 | #include <arch/drivers/kbd.h> |
39 | #include <arch/drivers/kbd.h> |
Line 275... | Line 275... | ||
275 | if (ascii_check(ch)) { |
275 | if (ascii_check(ch)) { |
276 | if (ch == '\n') |
276 | if (ch == '\n') |
277 | sgcn_do_putchar('\r'); |
277 | sgcn_do_putchar('\r'); |
278 | sgcn_do_putchar(ch); |
278 | sgcn_do_putchar(ch); |
279 | } else |
279 | } else |
280 | sgcn_do_putchar(invalch); |
280 | sgcn_do_putchar(U_SPECIAL); |
281 | 281 | ||
282 | spinlock_unlock(&sgcn_output_lock); |
282 | spinlock_unlock(&sgcn_output_lock); |
283 | } |
283 | } |
284 | } |
284 | } |
285 | 285 |