I ain't an expert in x86 so I'm not sure... only read some of Intel's manual but judging by the code at
https://github.com/mit-pdos/xv6-public
file "entryother.S" is asm that executes on AP's and "bootasm.S" executes on the BSP... both after the BIOS
so... maybe?
maybe that's what your looking for?