Home | History | Annotate | Download | only in lib

Lines Matching refs:stub

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