Lines Matching refs:swapstub
210 static uint8_t swapstub[1024]; in do_boot() local
221 memcpy(swapstub, swapstub_master, sizeof swapstub_master); in do_boot()
222 *(uint16_t *) & swapstub[0x3a] = opt.regs.ds; in do_boot()
223 *(uint16_t *) & swapstub[0x3d] = opt.regs.es; in do_boot()
224 *(uint32_t *) & swapstub[0x45] = opt.regs.ecx.l; in do_boot()
225 *(uint32_t *) & swapstub[0x4b] = opt.regs.esi.l; in do_boot()
226 *(uint32_t *) & swapstub[0x51] = opt.regs.edi.l; in do_boot()
227 *(uint16_t *) & swapstub[0x56] = opt.regs.ip; in do_boot()
228 *(uint16_t *) & swapstub[0x58] = opt.regs.cs; in do_boot()
229 p = &swapstub[sizeof swapstub_master]; in do_boot()
242 opt.regs.ecx.l = sizeof swapstub >> 2; in do_boot()
246 if (syslinux_add_movelist(&mlist, endimage, (addr_t) swapstub, in do_boot()
247 sizeof swapstub)) in do_boot()
250 endimage += sizeof swapstub; in do_boot()