x86 BUG handling
Is there any article or book explainning how x86 BUG handling in the linux kernel? for example,
define BUG_ON (condition) do { if (unlikely(condition) !=0) BUG();} while (0)
define BUG() __asm__ __Volatile__ ("ud2\n",...)
what happen when BUG_ON gets executed in the kernel?
Thanks.
|