Searched refs:swapstub (Results 1 – 1 of 1) sorted by relevance
210 static uint8_t swapstub[1024]; in do_boot() local221 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()[all …]