HomeSort by: relevance | last modified time | path
    Searched refs:RELOC (Results 1 - 25 of 66) sorted by relevancy

1 2 3

  /src/sys/arch/next68k/next68k/
nextrom.c 62 #define RELOC(v, t) (*((t *)((u_int)&(v) + NEXT_RAMBASE)))
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(nsym, int))
    [all...]
pmap_bootstrap.c 64 #define RELOC(v, t) *((t*)((uintptr_t)&(v) + firstpa))
119 if (RELOC(phys_seg_list[i].ps_start, paddr_t) ==
120 RELOC(phys_seg_list[i].ps_end, paddr_t)) {
130 RELOC(phys_seg_list[i].ps_start, paddr_t) =
131 m68k_round_page(RELOC(phys_seg_list[i].ps_start,
133 RELOC(phys_seg_list[i].ps_end, paddr_t) =
134 m68k_trunc_page(RELOC(phys_seg_list[i].ps_end,
137 size = RELOC(phys_seg_list[i].ps_end, paddr_t) -
138 RELOC(phys_seg_list[i].ps_start, paddr_t);
140 RELOC(mem_clusters[i].start, u_quad_t)
    [all...]
  /src/sys/arch/news68k/news68k/
pmap_bootstrap.c 54 #define RELOC(v, t) *((t*)((uintptr_t)&(v) + firstpa))
124 iiomapsize = m68k_btop(RELOC(intiotop_phys, u_int) -
125 RELOC(intiobase_phys, u_int));
126 eiomapsize = m68k_btop(RELOC(extiotop_phys, u_int) -
127 RELOC(extiobase_phys, u_int));
132 if (RELOC(mmutype, int) == MMU_68040)
142 nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem, int), NPTEPG) +
180 if (RELOC(mmutype, int) == MMU_68040) {
356 if (RELOC(mmutype, int) == MMU_68040
    [all...]
  /src/sys/arch/mvme68k/mvme68k/
pmap_bootstrap.c 53 #define RELOC(v, t) *((t*)((uintptr_t)&(v) + firstpa))
108 if (RELOC(phys_seg_list[i].ps_start, paddr_t) ==
109 RELOC(phys_seg_list[i].ps_end, paddr_t)) {
119 RELOC(phys_seg_list[i].ps_start, paddr_t) =
120 m68k_round_page(RELOC(phys_seg_list[i].ps_start,
122 RELOC(phys_seg_list[i].ps_end, paddr_t) =
123 m68k_trunc_page(RELOC(phys_seg_list[i].ps_end,
126 size = RELOC(phys_seg_list[i].ps_end, paddr_t) -
127 RELOC(phys_seg_list[i].ps_start, paddr_t);
129 RELOC(mem_clusters[i].start, u_quad_t)
    [all...]
  /src/sys/arch/hp300/hp300/
pmap_bootstrap.c 51 #define RELOC(v, t) *((t*)((uintptr_t)&(v) + firstpa))
118 if (RELOC(mmutype, int) == MMU_68040)
129 nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem, int), NPTEPG) +
162 if (RELOC(mmutype, int) == MMU_68040) {
361 if (RELOC(mmutype, int) == MMU_68040)
375 if (RELOC(mmutype, int) == MMU_68040) {
396 RELOC(intiobase, uint8_t *) = (uint8_t *)PTE2VA(pte);
397 RELOC(intiolimit, uint8_t *) = (uint8_t *)PTE2VA(epte);
402 RELOC(extiobase, uint8_t *) = (uint8_t *)PTE2VA(pte)
    [all...]
  /src/sys/arch/virt68k/virt68k/
pmap_bootstrap.c 52 #define RELOC(v, t) *((t*)((uintptr_t)&(v) + firstpa))
83 * XXX worry about any of this RELOC() nonsense.
126 if (RELOC(mmutype, int) == MMU_68040)
138 nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem, int), NPTEPG);
170 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(Sysseg, st_entry_t *) = (st_entry_t *)(kstpa - firstpa)
    [all...]
  /src/sys/arch/luna68k/luna68k/
pmap_bootstrap.c 50 #define RELOC(v, t) *((t*)((uintptr_t)&(v) + firstpa))
115 iiomapsize = m68k_btop(RELOC(intiotop_phys, u_int) -
116 RELOC(intiobase_phys, u_int));
120 if (RELOC(mmutype, int) == MMU_68040)
129 nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem, int), NPTEPG) +
159 if (RELOC(mmutype, int) == MMU_68040) {
334 if (RELOC(mmutype, int) == MMU_68040)
349 if (RELOC(mmutype, int) == MMU_68040) {
365 protopte = RELOC(intiobase_phys, u_int) | PG_RW | PG_CI | PG_V
    [all...]
  /src/sys/arch/amiga/amiga/
amiga_init.c 73 #define RELOC(v, t) *((t*)((u_int)&(v) + loadbase))
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_enable, u_long) |= 1
    [all...]
  /src/sys/arch/x68k/x68k/
pmap_bootstrap.c 51 #define RELOC(v, t) *((t*)((uintptr_t)&(v) + firstpa))
117 if (RELOC(mmutype, int) == MMU_68040)
126 nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem, int), NPTEPG) +
159 if (RELOC(mmutype, int) == MMU_68040) {
332 if (RELOC(mmutype, int) == MMU_68040)
346 if (RELOC(mmutype, int) == MMU_68040) {
363 RELOC(intiobase, uint8_t *) = (uint8_t *)PTE2VA(pte);
364 RELOC(intiolimit, uint8_t *) = (uint8_t *)PTE2VA(epte);
369 RELOC(virtual_avail, vaddr_t) = PTE2VA(pte)
    [all...]
  /src/sys/arch/cesfic/cesfic/
pmap_bootstrap.c 48 #define RELOC(v, t) *((t*)((uintptr_t)&(v) + firstpa - KERNBASE))
112 if (RELOC(mmutype, int) == MMU_68040)
123 nptpages = RELOC(Sysptsize, int) + howmany(RELOC(physmem, int), NPTEPG);
158 if (RELOC(mmutype, int) == MMU_68040) {
355 if (RELOC(mmutype, int) == MMU_68040)
369 if (RELOC(mmutype, int) == MMU_68040) {
384 RELOC(Sysseg, st_entry_t *) =
386 RELOC(Sysseg_pa, paddr_t) = kstpa;
387 if (RELOC(mmutype, int) == MMU_68040
    [all...]
  /src/sys/arch/alpha/stand/standtest/
Makefile 8 RELOC = ${STANDPROG_LOAD_ADDRESS}
24 ${LD} -Ttext ${RELOC} -N -e start -o ${PROG}.sym \
  /src/sys/arch/evbarm/stand/gzboot/IQ80310_flash_0x00080000/
Makefile 6 RELOC= 0x00080000
  /src/sys/arch/evbarm/stand/gzboot/IQ80321_flash_0xf0080000/
Makefile 6 RELOC= 0xf0080000
  /src/sys/arch/evbarm/stand/gzboot/NSLU2_dram_0x01d00000/
Makefile 17 RELOC= 0x01d00000
  /src/sys/arch/evbarm/stand/gzboot/SMDK2800_flash_0x00100000/
Makefile 6 RELOC= 0x00100000
  /src/sys/arch/evbarm/stand/gzboot/TS7200_flash_0x60660000/
Makefile 6 RELOC= 0x60660000
  /src/sys/arch/i386/i386/
multiboot.c 129 * can be obtained using the RELOC macro.
134 #define RELOC(type, x) ((type)((vaddr_t)(x) - KERNBASE))
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(type, x) ((type)((vaddr_t)(x) - KERNBASE)
    [all...]
  /src/sys/arch/sun68k/stand/
Makefile.inc 20 RELOC?= 280000
22 RELOC?= 240000
48 ${LD} -N -Ttext ${RELOC} -e start ${SA_LDFLAGS} -o $@ \
  /src/sys/arch/evbarm/stand/gzboot/ADI_BRH_flash_0x00140000/
Makefile 6 RELOC= 0x00140000
  /src/sys/arch/evbarm/stand/gzboot/GEMINI_dram_0x01600000/
Makefile 6 RELOC= 0x01600000
  /src/sys/arch/sparc/stand/boot/
Makefile 59 .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/ofppc/stand/ofwboot/
Makefile 41 RELOC= 20000
46 CPPFLAGS+= -DRELOC=0x${RELOC}
68 ${LD} -s -N -T ${.CURDIR}/ldscript -Ttext ${RELOC} -Bstatic \
  /src/sys/arch/rs6000/stand/boot/
Makefile 33 CPPFLAGS+= -D_STANDALONE -DRELOC=${RELOC} -DUSE_SCAN
48 RELOC= 0x800000
49 #RELOC= 0x0
56 -Ttext ${RELOC} ${OBJS} ${LIBS}
  /src/sys/arch/shark/stand/ofwboot/
Makefile 34 RELOC= f0000000
39 CPPFLAGS+= -DRELOC=0x${RELOC}
63 ${LD} -s -N -Ttext ${RELOC} -Bstatic -e ${ENTRY} -o ${.TARGET}.aout \
  /src/sys/arch/evbarm/stand/gzboot/SMDK2410_flash_0x00000000/
Makefile 6 RELOC= 0x00000000

Completed in 23 milliseconds

1 2 3