To be able to link different device-drivers with each other, RDOS has a device driver programming interface. Call gates are used to link calls at run-time without needing to patch the calling code. This is a must, since the system should be fully PROMable. RegisterOsGate is used to register a handler for a shared procedure. Currently supported procedures are in os.inc