The declaration of ISR among different operating systems can diverge substantially.
In general, RTOSs with Virtual Interrupt Tables pass at least one parameter when the interrupt occurs to the ISR: the I/O data structure. At the same time, if this is the case, an ISR installation is also provided.
In simpler RTOSs where the interrupt table is set statically, the ISR should not receive any parameters, and the actual ISR routine must be set manually in the correct offset in the interrupt table of the OS.