Changeset 2595dab in mainline for uspace/lib/libc/include/fibril.h


Ignore:
Timestamp:
2009-06-03T19:26:28Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d00ae4c
Parents:
ca3ba3a
Message:

I/O subsystem overhaul:

  • add more POSIX-like file and stream functions (with real functionality of stdin, stdout, stderr)
  • cleanup console access methods (now generic to any console-like device)
  • remove unsafe stream functions
  • add special open_node(), fd_node(), fd_phone() (file) and fopen_node(), fnode(), fphone() (stream) functions for HelenOS-specific I/O operations
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/fibril.h

    rca3ba3a r2595dab  
    4141
    4242#ifndef context_set
    43 #define context_set(c, _pc, stack, size, ptls)                  \
    44         (c)->pc = (sysarg_t) (_pc);                             \
    45         (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA;     \
    46         (c)->tls = (sysarg_t) (ptls);
     43#define context_set(c, _pc, stack, size, ptls) \
     44        (c)->pc = (sysarg_t) (_pc); \
     45        (c)->sp = ((sysarg_t) (stack)) + (size) - SP_DELTA; \
     46        (c)->tls = (sysarg_t) (ptls);
    4747#endif /* context_set */
    4848
    49 #define FIBRIL_SERIALIZED   1
     49#define FIBRIL_SERIALIZED  1
    5050
    5151typedef enum {
Note: See TracChangeset for help on using the changeset viewer.