Julius Werner has posted comments on this change. ( https://review.coreboot.org/28100 )
Change subject: libpayload/x86/exception: Add ability to handle user defined interrupts ......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/#/c/28100/1/payloads/libpayload/arch/x86/excepti... File payloads/libpayload/arch/x86/exception.c:
https://review.coreboot.org/#/c/28100/1/payloads/libpayload/arch/x86/excepti... PS1, Line 165: /* Handle user defined vectors */
Ah, I haven't tested with a gdb build yet, so I haven't seen it break. […]
If you think that's better, sure. I doubt we'll ever have enough handlers for the list to really be a problem, but it doesn't make a big difference either way (you're trading the time to iterate through a tiny list vs. the time to initialize a 2K array of function pointers).