Ignore:
Timestamp:
Jan 12, 2021, 12:34:08 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
58f99b3
Parents:
77fde9d5
Message:

Web server seems to work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/io/call.cfa.in

    r77fde9d5 r426f60c  
    7474        ;
    7575
    76         extern [* struct io_uring_sqe, __u32] __submit_alloc( struct __io_data & ring, __u64 data );
     76        extern [* volatile struct io_uring_sqe, __u32] __submit_alloc( struct __io_data & ring, __u64 data );
    7777        extern void __submit( struct io_context * ctx, __u32 idx ) __attribute__((nonnull (1)));
    7878
     
    221221
    222222                __u32 idx;
    223                 struct io_uring_sqe * sqe;
     223                volatile struct io_uring_sqe * sqe;
    224224                [sqe, idx] = __submit_alloc( ring, (__u64)(uintptr_t)&future );
    225225
     
    314314        Call('ACCEPT', 'int accept4(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)', {
    315315                'fd': 'sockfd',
     316                'ioprio': '0',
    316317                'addr': '(__u64)addr',
    317318                'addr2': '(__u64)addrlen',
     
    373374        Call('READ', 'ssize_t read(int fd, void * buf, size_t count)', {
    374375                'fd': 'fd',
     376                'off': '0',
    375377                'addr': '(__u64)buf',
    376378                'len': 'count'
     
    379381        Call('WRITE', 'ssize_t write(int fd, void * buf, size_t count)', {
    380382                'fd': 'fd',
     383                'off': '0',
    381384                'addr': '(__u64)buf',
    382385                'len': 'count'
     
    477480
    478481                __u32 idx;
    479                 struct io_uring_sqe * sqe;
     482                volatile struct io_uring_sqe * sqe;
    480483                [sqe, idx] = __submit_alloc( ring, (__u64)(uintptr_t)&future );
    481484
Note: See TracChangeset for help on using the changeset viewer.