Ignore:
Timestamp:
2018-04-04T15:42:37Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/drivers/niagara.c

    r47b2d7e3 r1433ecda  
    8282 * buffer definition follows.
    8383 */
    84 static volatile niagara_output_buffer_t __attribute__ ((aligned(PAGE_SIZE)))
     84static volatile niagara_output_buffer_t __attribute__((aligned(PAGE_SIZE)))
    8585    output_buffer;
    8686
     
    9090 * Analogous to the output_buffer, see the previous definition.
    9191 */
    92 static volatile niagara_input_buffer_t __attribute__ ((aligned(PAGE_SIZE)))
     92static volatile niagara_input_buffer_t __attribute__((aligned(PAGE_SIZE)))
    9393    input_buffer;
    9494
     
    9696
    9797/** Write a single character to the standard output. */
    98 static inline void do_putchar(const char c) {
     98static inline void do_putchar(const char c)
     99{
    99100        /* Repeat until the buffer is non-full */
    100         while (__hypercall_fast1(CONS_PUTCHAR, c) == HV_EWOULDBLOCK);
     101        while (__hypercall_fast1(CONS_PUTCHAR, c) == HV_EWOULDBLOCK)
     102                ;
    101103}
    102104
     
    160162 *
    161163 */
    162 static void kniagarapoll(void *arg) {
     164static void kniagarapoll(void *arg)
     165{
    163166        while (true) {
    164167                niagara_poll();
     
    213216            PAGE_SIZE);
    214217        sysinfo_set_item_val("niagara.inbuf.datasize", NULL,
    215            INPUT_BUFFER_SIZE);
     218            INPUT_BUFFER_SIZE);
    216219
    217220        outbuf_parea.pbase = (uintptr_t) (KA2PA(&output_buffer));
Note: See TracChangeset for help on using the changeset viewer.