OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20020314-1.c] - Blame information for rev 868

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
typedef struct tux_req_struct tux_req_t;
2
struct tux_req_struct
3
{
4
        struct socket *sock;
5
        char usermode;
6
        char *userbuf;
7
        unsigned int userlen;
8
        char error;
9
        void *private;
10
};
11
void user_send_buffer (tux_req_t *req, int cachemiss)
12
{
13
        int ret;
14
repeat:
15
        switch (ret) {
16
                case -11:
17
                        if (add_output_space_event(req, req->sock)) {
18
                                del_tux_atom(req);
19
                                goto repeat;
20
                        }
21
                        do { } while (0);
22
                        break;
23
                default:
24
                        add_req_to_workqueue(req);
25
        }
26
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.