sending to queue from vPreemptiveTick

Hello again, is there a way to send something to a queue from vPreemptiveTick ISR? On Atmels AT91SAM7 the PIT Interrupt Vector is shared with other system components (e.g.:debug-uart) so i have to decide in this interrupt if it is an PIT or the DBGU-UART which caused the interrupt. I want to send something to a queue from ISR, if the UART caused this Interrupt. But for now the System crashes, if i try "sendtoqueue from isr". I think i have to deal with the "naked" attribute somehow, but could you please help me how to achieve this? Thank you!

sending to queue from vPreemptiveTick

You can set configUSE_TICK_HOOK to 1 in FreeRTOSConfig.h.  Then write a function void vApplicationTickHook( void ) { /*QueueSendFromISR() can go here. */ }