Home
last modified time | relevance | path

Searched refs:segment (Results 1 – 25 of 47) sorted by relevance

12

/arch/x86/math-emu/
Dget_address.c122 static unsigned long vm86_segment(u_char segment, struct address *addr) in vm86_segment() argument
124 segment--; in vm86_segment()
126 if (segment > PREFIX_SS_) { in vm86_segment()
131 addr->selector = VM86_REG_(segment); in vm86_segment()
132 return (unsigned long)VM86_REG_(segment) << 4; in vm86_segment()
136 static long pm_address(u_char FPU_modrm, u_char segment, in pm_address() argument
142 segment--; in pm_address()
146 if (segment > PREFIX_SS_) { in pm_address()
152 switch (segment) { in pm_address()
160 addr->selector = PM_REG_(segment); in pm_address()
[all …]
Dfpu_entry.c611 override->segment = PREFIX_CS_; in valid_prefix()
614 override->segment = PREFIX_ES_; in valid_prefix()
617 override->segment = PREFIX_SS_; in valid_prefix()
620 override->segment = PREFIX_FS_; in valid_prefix()
623 override->segment = PREFIX_GS_; in valid_prefix()
626 override->segment = PREFIX_DS_; in valid_prefix()
/arch/ia64/sn/pci/pcibr/
Dpcibr_provider.c29 u64 segment; in sal_pcibr_slot_enable() local
34 segment = soft->pbi_buscommon.bs_persist_segment; in sal_pcibr_slot_enable()
36 SAL_CALL_NOLOCK(ret_stuff, (u64) SN_SAL_IOIF_SLOT_ENABLE, segment, in sal_pcibr_slot_enable()
49 u64 segment; in sal_pcibr_slot_disable() local
54 segment = soft->pbi_buscommon.bs_persist_segment; in sal_pcibr_slot_disable()
57 segment, busnum, (u64) device, (u64) action, in sal_pcibr_slot_disable()
67 int segment; in sal_pcibr_error_interrupt() local
71 segment = soft->pbi_buscommon.bs_persist_segment; in sal_pcibr_error_interrupt()
75 (u64) segment, (u64) busnum, 0, 0, 0, 0, 0); in sal_pcibr_error_interrupt()
/arch/sh/kernel/
Dmachine_kexec.c62 (unsigned int)image->segment[i].mem, in kexec_info()
63 (unsigned int)image->segment[i].mem + in kexec_info()
64 image->segment[i].memsz, in kexec_info()
65 (unsigned int)image->segment[i].memsz); in kexec_info()
/arch/ia64/include/asm/
Duaccess.h66 #define __access_ok(addr, size, segment) \ argument
69 (likely((unsigned long) (addr) <= (segment).seg) \
70 && ((segment).seg == KERNEL_DS.seg \
186 #define __do_get_user(check, x, ptr, size, segment) \ argument
192 if (!check || __access_ok(__gu_ptr, size, segment)) \
205 #define __get_user_check(x, ptr, size, segment) __do_get_user(1, x, ptr, size, segment) argument
213 #define __do_put_user(check, x, ptr, size, segment) \ argument
220 if (!check || __access_ok(__pu_ptr, __pu_size, segment)) \
232 #define __put_user_check(x, ptr, size, segment) __do_put_user(1, x, ptr, size, segment) argument
Dpci.h113 int segment; member
123 #define pci_domain_nr(busdev) (PCI_CONTROLLER(busdev)->segment)
/arch/sparc/prom/
Dsegment.c21 prom_putsegment(int ctx, unsigned long vaddr, int segment) in prom_putsegment() argument
25 (*(romvec->pv_setctxt))(ctx, (char *) vaddr, segment); in prom_putsegment()
DMakefile16 lib-$(CONFIG_SPARC32) += segment.o
/arch/powerpc/kernel/
Dmachine_kexec_64.c46 if (image->segment[i].mem < __pa(_end)) in default_machine_kexec_prepare()
64 begin = image->segment[i].mem; in default_machine_kexec_prepare()
65 end = begin + image->segment[i].memsz; in default_machine_kexec_prepare()
84 begin = image->segment[i].mem; in default_machine_kexec_prepare()
85 end = begin + image->segment[i].memsz; in default_machine_kexec_prepare()
136 memcpy(ranges, image->segment, sizeof(ranges)); in kexec_copy_flush()
/arch/mips/include/asm/
Dgic.h31 #define GIC_REG(segment, offset) \ argument
32 REG32(_gic_base + segment##_##SECTION_OFS + offset##_##OFS)
33 #define GIC_REG_ADDR(segment, offset) \ argument
34 REG32(_gic_base + segment##_##SECTION_OFS + offset)
36 #define GIC_ABS_REG(segment, offset) \ argument
37 (_gic_base + segment##_##SECTION_OFS + offset##_##OFS)
38 #define GIC_REG_ABS_ADDR(segment, offset) \ argument
39 (_gic_base + segment##_##SECTION_OFS + offset)
/arch/ia64/sn/kernel/
Dio_init.c47 static inline u64 sal_get_pcibus_info(u64 segment, u64 busnum, u64 address) in sal_get_pcibus_info() argument
55 (u64) segment, (u64) busnum, (u64) address, 0, 0, 0, 0); in sal_get_pcibus_info()
63 sal_get_pcidev_info(u64 segment, u64 bus_number, u64 devfn, u64 pci_dev, in sal_get_pcidev_info() argument
72 (u64) segment, (u64) bus_number, (u64) devfn, in sal_get_pcidev_info()
296 sn_pci_controller_fixup(int segment, int busnum, struct pci_bus *bus) in sn_pci_controller_fixup() argument
303 status = sal_get_pcibus_info((u64) segment, (u64) busnum, in sn_pci_controller_fixup()
312 controller->segment = segment; in sn_pci_controller_fixup()
Dio_acpi_init.c357 unsigned long long segment; in sn_acpi_get_pcidev_info() local
363 &segment); in sn_acpi_get_pcidev_info()
365 if (segment != pci_domain_nr(dev)) { in sn_acpi_get_pcidev_info()
370 __func__, segment, pci_domain_nr(dev), in sn_acpi_get_pcidev_info()
/arch/alpha/include/asm/
Duaccess.h42 #define __access_ok(addr,size,segment) \ argument
43 (((segment).seg & (addr | size | (addr+size))) == 0)
103 #define __get_user_check(x,ptr,size,segment) \ argument
108 if (__access_ok((unsigned long)__gu_addr,size,segment)) { \
218 #define __put_user_check(x,ptr,size,segment) \ argument
222 if (__access_ok((unsigned long)__pu_addr,size,segment)) { \
/arch/ia64/scripts/
Dtoolchain-flags22 warning: your linker cannot handle cross-segment segment-relative relocations.
/arch/x86/include/asm/
Ddesc_defs.h47 u16 segment; member
79 #define gate_segment(g) ((g).segment)
Dsystem.h168 static inline unsigned long get_limit(unsigned long segment) in get_limit() argument
171 asm("lsll %1,%0" : "=r" (__limit) : "r" (segment)); in get_limit()
/arch/mips/include/asm/octeon/
Dcvmx.h141 #define CVMX_ADD_SEG32(segment, add) \ argument
142 (((int32_t)segment << 31) | (int32_t)(add))
147 #define CVMX_ADD_SEG(segment, add) \ argument
148 ((((uint64_t)segment) << 62) | (add))
/arch/powerpc/include/asm/
Duaccess.h48 #define __access_ok(addr, size, segment) \ argument
49 (((addr) <= (segment).seg) && ((size) <= (segment).seg))
53 #define __access_ok(addr, size, segment) \ argument
54 (((addr) <= (segment).seg) && \
55 (((size) == 0) || (((size) - 1) <= ((segment).seg - (addr)))))
/arch/x86/pci/
Dpcbios.c58 unsigned short segment; member
99 unsigned short segment; member
350 u16 segment; member
367 opt.segment = __KERNEL_DS; in pcibios_get_irq_routing_table()
/arch/arm/plat-s3c24xx/
Dsleep.S86 @@ the next bits sit in the .data segment, even though they
90 @@ code to read it... since the .text segment needs to be RO,
91 @@ the data segment can be the only place to put this code.
/arch/s390/kernel/
Dhead31.S43 .long 0 # cr1: primary space segment table
49 .long 0 # cr7: secondary space segment table
55 .long 0 # cr13: home space segment table
Dhead64.S111 .quad 0 # cr1: primary space segment table
117 .quad 0 # cr7: secondary space segment table
123 .quad 0 # cr13: home space segment table
/arch/m68k/sun3/
Dmmu_emu.c356 unsigned long segment, offset; in mmu_emu_handle_fault() local
377 segment = (vaddr >> SUN3_PMEG_SIZE_BITS) & 0x7FF; in mmu_emu_handle_fault()
381 printk ("mmu_emu_handle_fault: segment=%lx offset=%lx\n", segment, offset); in mmu_emu_handle_fault()
384 pte = (pte_t *) pgd_val (*(crp + segment)); in mmu_emu_handle_fault()
/arch/ia64/hp/sim/boot/
Dbootloader.lds6 /* Read-only sections, merged into text segment: */
21 we can shorten the on-disk segment size. */
/arch/cris/arch-v10/
DREADME.mm112 ( seg_c, seg ) | // kernel linear segment
113 ( seg_b, seg ) | // kernel linear segment
145 segment) and need to setup the seg_4 to a unity mapping, so that we don't get
146 a fault before we have had time to jump into the real kernel segment (0xc0). This function
227 The vmalloc-system keeps a paged segment in kernel-space at 0xd0000000. What

12