Rev 3467 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3467 | Rev 3477 | ||
---|---|---|---|
Line 71... | Line 71... | ||
71 | static volatile char buffer[BUFSIZE]; |
71 | static volatile char buffer[BUFSIZE]; |
72 | 72 | ||
73 | /** Writes a single character to the Simics CLI. |
73 | /** Writes a single character to the Simics CLI. |
74 | * |
74 | * |
75 | * The character is not written immediately, but it is stored to the first free |
75 | * The character is not written immediately, but it is stored to the first free |
76 | * position in the buffer, waiting for Simics' Python routine to hang it up |
76 | * position in the buffer, waiting for Simics' Python routine to read it |
77 | * and print it. |
77 | * and print it. |
78 | */ |
78 | */ |
79 | static void simics_putchar(struct chardev * cd, char c) |
79 | static void simics_putchar(struct chardev * cd, char c) |
80 | { |
80 | { |
81 | /* the first free position in the buffer */ |
81 | /* the first free position in the buffer */ |