Lines Matching refs:stub
36 // Check if we have created this stub or not.
43 // We have to create a new stub
45 // No free stub slot is available
49 // Initialize the stub
50 unsigned char *stub = table;
51 setStubAddress(stub, addr);
52 stub_index.insert(std::make_pair(addr, stub));
54 // Increase the free stub slot pointer
58 return stub;
70 uint8_t *stub = (uint8_t *)stub_;
71 stub[0] = 0x04; // ldr pc, [pc, #-4]
72 stub[1] = 0xf0; // ldr pc, [pc, #-4]
73 stub[2] = 0x1f; // ldr pc, [pc, #-4]
74 stub[3] = 0xe5; // ldr pc, [pc, #-4]
76 void **target = (void **)(stub + 4);
89 uint32_t *stub = (uint32_t *)stub_;
90 stub[0] = 0x3c190000ul | addr_hi16; // lui
91 stub[1] = 0x37390000ul | addr_lo16; // ori
92 stub[2] = 0x03200008ul; // jr (jump register)
93 stub[3] = 0x00000000ul; // nop