Hi,
There is GINT example for LPC55xx in SDK package, pls refer to the screenshot:

In the ISR of GINT, because 32 pins share the same interrupt vector, you have to check the interrupt source and clear the flag in the ISR. In the ISR, you have to set a event flag to trigger an event with the code like.
status = tx_event_flags_set(&event_flags_0, 0x1, TX_OR);
I suppose that the GINT interrupt logic priority should be higher than the context switching interrupt, in other words, the GINT interrupt numeric priority value in contex-M33 priority register should be lower than that of the context switching interrupt.
Hope it can help you
BR
XiangJun Rong