Callback Handlers vs. GCC optimizer

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Callback Handlers vs. GCC optimizer

Post by Combuster »

there are some tutorials that do something like the following.
(...)
void IRQ_HANDLER_WRITTEN_IN_C(registers regs)
They actually do void IRQ_HANDLER_WRITTEN_IN_C(registers * regs), mind you :wink:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply