search for: taddr

Displaying 5 results from an estimated 5 matches for "taddr".

Did you mean: addr
2016 Jan 15
2
Expanding a PseudoOp and accessing the DAG
...the relocation model, > compilation options, etc. to see if you need to have relocatable addresses, > or not: > > SDValue XSTGISelLowering::LowerGlobalAddress(SDValue Addr, SelectionDAG > &DAG) { > ... > if (NeedGRP) { > SpecialTargetFlags = ...; > SDValue TAddr = DAG.getTargetGlobalAddress(..., SpecialTargetFlags); > return DAG.getNode(XSTGISD::ADDR_USE_GRP, ..., TAddr); > } > > // Non-relocatable address: > SDValue NAddr = DAG.getTargetGlobalAddress(...); > return DAG.getNode(XSTGISD::ADDR_NORMAL, ..., NAddr); > > } &g...
2016 Jan 13
2
Expanding a PseudoOp and accessing the DAG
On Wed, Jan 13, 2016 at 2:08 PM, Krzysztof Parzyszek via llvm-dev < llvm-dev at lists.llvm.org> wrote: > On 1/13/2016 2:26 PM, Phil Tomson via llvm-dev wrote: > >> I've got this PseudoOp defined: >> >> def SDT_RELADDR : SDTypeProfile<1, 2, [SDTCisInt<0>, SDTCisInt<1>]>; >> def XSTGRELADDR :
2008 Nov 03
6
Mustek PowerMust 600 USB configuration
...sb/hiddev0 Bubba miniserver has only USB ports outside. dmesg gives (I just posted part of output, that I felt significant): Linux version 2.6.26.5 (tor at sid) (gcc version 4.1.1) #1 Tue Sep 16 18:11:30 CEST 2008 Found legacy serial port 0 for /soc8313 at e0000000/serial at 4500 mem=e0004500, taddr=e0004500, irq=0, clk=133333334, speed=0 Found legacy serial port 1 for /soc8313 at e0000000/serial at 4600 mem=e0004600, taddr=e0004600, irq=0, clk=133333334, speed=0 console [udbg0] enabled Entering add_active_range(0, 0, 65536) 0 entries of 256 used Found MPC83xx PCI host bridge at 0x00000000e0...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...E: Put this in hypervisor.S and do something clever with relocs? */ +static u8 tramp[] += { 0x0f, 0xa8, 0x0f, 0xa9, /* push %gs; pop %gs */ + 0x36, 0xc7, 0x05, 0x55, 0x55, 0x55, 0x55, 0x00, 0x00, 0x00, 0x00, + /* movl 0, %ss:lguest_data.gs_gpf_eip */ + 0xe9, 0x55, 0x55, 0x55, 0x55 /* jmp dstaddr */ +}; +#define TRAMP_MOVL_TARGET_OFF 7 +#define TRAMP_JMP_TARGET_OFF 16 + +static u32 setup_trampoline(struct lguest *lg, unsigned int i, u32 dstaddr) +{ + u32 addr, off; + + off = sizeof(tramp)*i; + memcpy(lg->trap_page + off, tramp, sizeof(tramp)); + + /* 0 is to be placed in lguest_data.gs_g...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...E: Put this in hypervisor.S and do something clever with relocs? */ +static u8 tramp[] += { 0x0f, 0xa8, 0x0f, 0xa9, /* push %gs; pop %gs */ + 0x36, 0xc7, 0x05, 0x55, 0x55, 0x55, 0x55, 0x00, 0x00, 0x00, 0x00, + /* movl 0, %ss:lguest_data.gs_gpf_eip */ + 0xe9, 0x55, 0x55, 0x55, 0x55 /* jmp dstaddr */ +}; +#define TRAMP_MOVL_TARGET_OFF 7 +#define TRAMP_JMP_TARGET_OFF 16 + +static u32 setup_trampoline(struct lguest *lg, unsigned int i, u32 dstaddr) +{ + u32 addr, off; + + off = sizeof(tramp)*i; + memcpy(lg->trap_page + off, tramp, sizeof(tramp)); + + /* 0 is to be placed in lguest_data.gs_g...