Searched refs:RELOC (Results 1 - 25 of 76) sorted by relevance

1234

/src/sys/arch/next68k/next68k/
H A Dnextrom.c62 #define RELOC(v, t) (*((t *)((u_int)&(v) + NEXT_RAMBASE))) macro
65 (*(volatile type *)((u_int)RELOC(mg, volatile struct mon_global *) + off))
99 (RELOC(romprint_hextable[((v)>>4)&0xf], char)); \
101 (RELOC(romprint_hextable[(v)&0xf], char)); \
148 RELOC(rom_return_sp, uint8_t *) = args[0];
149 RELOC(mg, char *) = args[1];
193 RELOC(nsym, int) = 1;
194 RELOC(ssym, char *) = end;
195 RELOC(esym, char *) = (char *)maxsym - NEXT_RAMBASE;
198 ROM_PUTX(RELOC(nsy
[all...]
H A Dpmap_bootstrap.c64 #define RELOC(v, t) *((t*)((uintptr_t)&(v) + firstpa)) macro
130 RELOC(kernel_reloc_offset, vaddr_t) = firstpa;
135 if (RELOC(mmutype, int) == MMU_68040)
145 fbmapsize = btoc(RELOC(fblimitpa, paddr_t) - RELOC(fbbasepa, paddr_t));
146 nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem, int), NPTEPG)
179 if (RELOC(mmutype, int) == MMU_68040) {
353 if (RELOC(mmutype, int) == MMU_68040)
367 if (RELOC(mmutyp
[all...]
/src/sys/arch/amiga/amiga/
H A Damiga_init.c73 #define RELOC(v, t) *((t*)((u_int)&(v) + loadbase)) macro
246 RELOC(boot_fphystart, u_long) = fphystart;
247 RELOC(boot_fphysize, u_long) = fphysize;
248 RELOC(boot_cphysize, u_long) = cphysize;
250 RELOC(machineid, int) = id;
251 RELOC(chipmem_end, vaddr_t) = cphysize;
252 RELOC(esym, char *) = esym_addr;
253 RELOC(boot_flags, u_long) = flags;
254 RELOC(boot_partition, u_long) = boot_part;
257 RELOC(aga_enabl
[all...]
/src/sys/arch/news68k/news68k/
H A Dpmap_bootstrap.c54 #define RELOC(v, t) *((t*)((uintptr_t)&(v) + firstpa)) macro
114 RELOC(kernel_reloc_offset, vaddr_t) = firstpa;
119 if (RELOC(mmutype, int) == MMU_68040)
129 nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem, int), NPTEPG);
166 if (RELOC(mmutype, int) == MMU_68040) {
342 if (RELOC(mmutype, int) == MMU_68040)
358 if (RELOC(mmutype, int) == MMU_68040) {
374 RELOC(virtual_avail, vaddr_t) = PTE2VA(pte);
382 RELOC(Sysse
[all...]
/src/sys/arch/luna68k/luna68k/
H A Dpmap_bootstrap.c50 #define RELOC(v, t) *((t*)((uintptr_t)&(v) + firstpa)) macro
110 RELOC(kernel_reloc_offset, vaddr_t) = firstpa;
114 if (RELOC(mmutype, int) == MMU_68040)
123 nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem, int), NPTEPG);
152 if (RELOC(mmutype, int) == MMU_68040) {
327 if (RELOC(mmutype, int) == MMU_68040)
342 if (RELOC(mmutype, int) == MMU_68040) {
358 RELOC(virtual_avail, vaddr_t) = PTE2VA(pte);
366 RELOC(Sysse
[all...]
/src/sys/arch/mvme68k/mvme68k/
H A Dpmap_bootstrap.c53 #define RELOC(v, t) *((t*)((uintptr_t)&(v) + firstpa)) macro
119 RELOC(kernel_reloc_offset, vaddr_t) = firstpa;
122 RELOC(intiobase_phys, u_int) + RELOC(intiosize, u_int);
123 iiomappages = m68k_btop(intio_endpa - RELOC(intiobase_phys, u_int));
128 if (RELOC(mmutype, int) == MMU_68040)
138 nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem, int), NPTEPG) +
171 if (RELOC(mmutype, int) == MMU_68040) {
344 if (RELOC(mmutyp
[all...]
/src/sys/arch/cesfic/cesfic/
H A Dpmap_bootstrap.c48 #define RELOC(v, t) *((t*)((uintptr_t)&(v) + firstpa - KERNBASE)) macro
113 RELOC(kernel_reloc_offset, vaddr_t) = firstpa;
117 if (RELOC(mmutype, int) == MMU_68040)
128 nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem, int), NPTEPG);
163 if (RELOC(mmutype, int) == MMU_68040) {
360 if (RELOC(mmutype, int) == MMU_68040)
374 if (RELOC(mmutype, int) == MMU_68040) {
389 RELOC(Sysseg, st_entry_t *) =
391 RELOC(Sysseg_p
[all...]
/src/sys/arch/hp300/hp300/
H A Dpmap_bootstrap.c51 #define RELOC(v, t) *((t*)((uintptr_t)&(v) + firstpa)) macro
116 RELOC(kernel_reloc_offset, vaddr_t) = firstpa;
120 if (RELOC(mmutype, int) == MMU_68040)
131 nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem, int), NPTEPG) +
164 if (RELOC(mmutype, int) == MMU_68040) {
363 if (RELOC(mmutype, int) == MMU_68040)
377 if (RELOC(mmutype, int) == MMU_68040) {
398 RELOC(intiobase, uint8_t *) = (uint8_t *)PTE2VA(pte);
403 RELOC(extiobas
[all...]
/src/sys/arch/x68k/x68k/
H A Dpmap_bootstrap.c51 #define RELOC(v, t) *((t*)((uintptr_t)&(v) + firstpa)) macro
116 RELOC(kernel_reloc_offset, vaddr_t) = firstpa;
120 if (RELOC(mmutype, int) == MMU_68040)
129 nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem, int), NPTEPG) +
162 if (RELOC(mmutype, int) == MMU_68040) {
335 if (RELOC(mmutype, int) == MMU_68040)
349 if (RELOC(mmutype, int) == MMU_68040) {
366 RELOC(intiobase, uint8_t *) = (uint8_t *)PTE2VA(pte);
371 RELOC(virtual_avai
[all...]
/src/sys/arch/alpha/stand/standtest/
H A DMakefile8 RELOC = ${STANDPROG_LOAD_ADDRESS} macro
24 ${LD} -Ttext ${RELOC} -N -e start -o ${PROG}.sym \
/src/sys/arch/virt68k/virt68k/
H A Dpmap_bootstrap.c117 #define RELOC(v, t) *((t *)VA_TO_PA(&(v))) macro
119 RELOC(kernel_reloc_offset, vaddr_t) = reloff;
125 if (RELOC(mmutype, int) == MMU_68040)
137 nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem, int), NPTEPG);
169 if (RELOC(mmutype, int) == MMU_68040) {
349 if (RELOC(mmutype, int) == MMU_68040)
363 if (RELOC(mmutype, int) == MMU_68040) {
374 RELOC(virtual_avail, vaddr_t) = PTE2VA(pte);
382 RELOC(Sysse
[all...]
/src/sys/arch/vax/boot/
H A DMakefile.inc10 RELOC=0x7d0000
18 CPPFLAGS+=-DRELOC=${RELOC}
/src/sys/arch/evbarm/stand/gzboot/IQ80310_flash_0x00080000/
H A DMakefile6 RELOC= 0x00080000 macro
/src/sys/arch/evbarm/stand/gzboot/IQ80321_flash_0xf0080000/
H A DMakefile6 RELOC= 0xf0080000 macro
/src/sys/arch/evbarm/stand/gzboot/NSLU2_dram_0x01d00000/
H A DMakefile17 RELOC= 0x01d00000 macro
/src/sys/arch/evbarm/stand/gzboot/SMDK2800_flash_0x00100000/
H A DMakefile6 RELOC= 0x00100000 macro
/src/sys/arch/evbarm/stand/gzboot/TS7200_flash_0x60660000/
H A DMakefile6 RELOC= 0x60660000 macro
/src/sys/arch/i386/i386/
H A Dmultiboot.c129 * can be obtained using the RELOC macro.
134 #define RELOC(type, x) ((type)((vaddr_t)(x) - KERNBASE)) macro
136 RELOC(struct multiboot_info *, &Multiboot_Info);
138 *RELOC(bool *, &Multiboot_Loader) = true;
142 strncpy(RELOC(void *, Multiboot_Cmdline), mi->mi_cmdline,
148 strncpy(RELOC(void *, Multiboot_Loader_Name),
154 memcpy(RELOC(void *, Multiboot_Mmap),
160 memcpy(RELOC(void *, Multiboot_Drives),
166 #undef RELOC
277 #define RELOC(typ macro
[all...]
/src/sys/arch/sparc/stand/boot/
H A DMakefile59 .for RELOC in ${RELOCS}
60 boot.${RELOC}: ${OBJS} ${LIBSA} ${LIBZ} ${LIBKERN}
61 ${LD} -S -o ${.TARGET}.tmp ${LINKFLAGS} -Ttext ${RELOC} ${OBJS} \
66 CLEANFILES+= boot.${RELOC}.map
/src/sys/arch/evbarm/stand/gzboot/ADI_BRH_flash_0x00140000/
H A DMakefile6 RELOC= 0x00140000 macro
/src/sys/arch/evbarm/stand/gzboot/GEMINI_dram_0x01600000/
H A DMakefile6 RELOC= 0x01600000 macro
/src/sys/arch/sun68k/stand/
H A DMakefile.inc20 RELOC?= 280000
22 RELOC?= 240000
48 ${LD} -N -Ttext ${RELOC} -e start ${SA_LDFLAGS} -o $@ \
/src/sys/arch/hppa/stand/
H A DMakefile.buildboot6 RELOC= 120000
42 CPPFLAGS+= -DRELOC=0x${RELOC} -DHEAP_LIMIT=${HEAP_LIMIT}
65 LDFLAGS+= -static -nostdlib -Wl,-N -Wl,-Ttext,$(RELOC)
/src/sys/arch/rs6000/stand/boot/
H A DMakefile33 CPPFLAGS+= -D_STANDALONE -DRELOC=${RELOC} -DUSE_SCAN
48 RELOC= 0x800000 macro
49 #RELOC= 0x0
56 -Ttext ${RELOC} ${OBJS} ${LIBS}
/src/sys/arch/shark/stand/ofwboot/
H A DMakefile34 RELOC= f0000000 macro
39 CPPFLAGS+= -DRELOC=0x${RELOC}
63 ${LD} -s -N -Ttext ${RELOC} -Bstatic -e ${ENTRY} -o ${.TARGET}.aout \

Completed in 21 milliseconds

1234