Index Next

Grâl Kernel

Abstract

This document describes interfaces and functionality of Grâl kernel including syntax of system call routines as available to C programs.

Version 10.0.

Table Of Contents

  1. Basic Functionality
  2. Implementation Details
  3. System Calls
    1. Interface To System Calls From C
    2. Execution Control
      1. END - End Of Program
      2. ERR - Read And Clear Error Code
    3. Stack Operations
      1. POP - Remove Access From Top Of Stack
      2. DUP - Duplicate Access On Top Of Stack
      3. SWAP - Swap Accesses On Stack
      4. POPALL - Clear Stack
    4. Context Manipulation Operations
      1. A - Get Access From Context
      2. SET - Update Access In Context
      3. SAVE - Save Access In Context
      4. RLS - Remove Access From Context
    5. Protection Control Operations
      1. NILOBJ - Create A Null Object
      2. MASK - Mask Protection Bits
      3. GETMASK - Read Protection Bits
      4. ACCESS - Verify Access Permissions
      5. MERGE - Merge Permanent Accesses
    6. Client Transaction Operations
      1. REQ - Asynchronous Request To Object
      2. QER - Retrieve Results Of Asynchronous Request
      3. CANCEL - Cancel Transaction
      4. SREQ - Synchronous Request To Object
      5. PERM - Mark Access As Permanent
    7. Object Type Manipulation Operations
      1. NEWTYPE - Create A New Object Type
      2. CHECKTYPE - Check Object Type Compatibility
      3. GETTYPE - Get Type Of An Object
    8. Server Transaction Operations
      1. OBJECT - Create User Object
      2. PASSIVE - Make Access Passive
      3. ACCEPT - Accept S-Transaction
      4. SUCC - Complete S-Transaction With Success
      5. FAIL - Complete S-Transaction With Failure
    9. Synchronization Operations
      1. GROUP - Create A Group
      2. SETGROUP - Put Access Into Group
      3. NOGROUP - Remove Access From Group
      4. WAIT - Simple Wait
      5. SELECT - Wait For Multiple Events
      6. CHECK - Check Presence Of Events
    10. User Pointer Operations
      1. SETPTR - Set User Pointer
      2. GETPTR - Read User Pointer
    11. Object Comparison Operations
      1. EQ - Compare Accesses
      2. HASH - Calculate Hash Value For Access
    12. Memory Operations
      1. MEMR, MEMW, MEMU - Create Subsegment Of Memory
      2. GETM - Read From Memory Object
      3. PUTM - Write Into Memory Object
  4. System Protocols
    1. Introduction
    2. Stream Protocol
    3. Memory Protocol
    4. Lock Protocol
    5. Process Control Protocol
    6. Timer Protocol
  5. Kernel Internals

Index Next