Home
last modified time | relevance | path

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

12345

/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/fruaccess/
H A Dlibfruaccess.c62 int fru_delete_segment(segment_hdl_t segment,
70 int fru_get_packets(segment_hdl_t segment, packet_t *packet,
216 segments.frus = segment; in fru_get_segments()
225 fru_add_segment(section_hdl_t section, segment_t *segment, in fru_add_segment() argument
242 newsegment.frus = segment; in fru_add_segment()
270 delsegment.hdl = segment; in fru_delete_segment()
290 readsegment.fru_hdl = segment; in fru_read_segment()
310 writesegment.fru_hdl = segment; in fru_write_segment()
331 numpackets.hdl = segment; in fru_get_num_packets()
350 packets.fru_hdl = segment; in fru_get_packets()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dpic8259.c35 previous_handler->segment = irq_vector->segment; in install_irq_handler()
39 handler->segment, handler->offset, irq, in install_irq_handler()
42 previous_handler->segment, previous_handler->offset ); in install_irq_handler()
43 irq_vector->segment = handler->segment; in install_irq_handler()
64 if ( ( irq_vector->segment != handler->segment ) || in remove_irq_handler()
72 irq_vector->segment = previous_handler->segment; in remove_irq_handler()
100 IRQ_VECTOR(irq)->segment, in dump_irq_status()
H A Dundi.c373 undi.undi_call_info->routine.segment = routine_seg; in _undi_call()
424 pxenv_exit = _undi_call ( undi.pxe->EntryPointSP.segment, in undi_call_silent()
624 undi.pxs->undi_transmit.DestAddr.segment = in eb_pxenv_undi_transmit_packet()
640 undi.pxs->undi_transmit.DestAddr.segment, in eb_pxenv_undi_transmit_packet()
642 undi.pxs->undi_transmit.TBD.segment, in eb_pxenv_undi_transmit_packet()
646 undi.xmit_data->tbd.Xmit.segment, in eb_pxenv_undi_transmit_packet()
721 undi.pxs->undi_isr.Frame.segment, in eb_pxenv_undi_isr()
1026 VIRTUAL( undi.pxs->undi_isr.Frame.segment, in undi_poll()
1072 undi.xmit_data->tbd.Xmit.segment = SEGMENT( p ); in undi_transmit()
1256 undi.pxs->get_cached_info.Buffer.segment = 0; in eb_pxenv_get_cached_info()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.h88 int fru_get_segments(section_hdl_t section, segment_t *segment,
90 int fru_add_segment(section_hdl_t section, segment_t *segment,
92 int fru_delete_segment(segment_hdl_t segment, section_hdl_t *newsection,
94 ssize_t fru_read_segment(segment_hdl_t segment, void *buffer, size_t nbytes,
96 int fru_write_segment(segment_hdl_t segment, const void *data, size_t nbytes,
98 int fru_get_num_packets(segment_hdl_t segment, door_cred_t *cred);
99 int fru_get_packets(segment_hdl_t segment, packet_t *packet,
105 int fru_append_packet(segment_hdl_t segment, packet_t *packet,
H A Dfru_access.c360 segment_layout_t *segment; in move_segment_data() local
369 ret = pread(contfd, buffer, segment->length, segment->offset); in move_segment_data()
370 if (ret != segment->length) { in move_segment_data()
374 segment->offset = newoffset; in move_segment_data()
376 ret = pwrite(contfd, buffer, segment->length, segment->offset); in move_segment_data()
429 segment_layout_t *segment; in build_offset_tbl() local
1252 segment->descriptor = seg_object->u.seg_obj->segment.descriptor; in fru_get_segments()
1254 segment->offset = seg_object->u.seg_obj->segment.offset; in fru_get_segments()
1255 segment->length = seg_object->u.seg_obj->segment.length; in fru_get_segments()
1257 segment++; in fru_get_segments()
[all …]
/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Dfru_access.h86 int fru_get_segments(section_hdl_t section, segment_t *segment,
88 int fru_add_segment(section_hdl_t section, segment_t *segment,
90 int fru_delete_segment(segment_hdl_t segment, section_hdl_t *newsection,
92 ssize_t fru_read_segment(segment_hdl_t segment, void *buffer, size_t nbytes,
94 int fru_write_segment(segment_hdl_t segment, const void *data, size_t nbytes,
96 int fru_get_num_packets(segment_hdl_t segment, door_cred_t *cred);
97 int fru_get_packets(segment_hdl_t segment, packet_t *packet,
103 int fru_append_packet(segment_hdl_t segment, packet_t *packet,
H A Dfruraw.c297 segment_t *segment) in find_seg_in_sect() argument
325 *segment = segs[j]; in find_seg_in_sect()
339 segment_t *segment) in find_segment() argument
383 segment_t segment; in frt_get_seg_def() local
390 (void) memcpy(def->name, segment.name, SEG_NAME_LEN); in frt_get_seg_def()
392 def->desc.raw_data = segment.descriptor; in frt_get_seg_def()
393 def->size = segment.length; in frt_get_seg_def()
394 def->address = segment.offset; in frt_get_seg_def()
474 tmp_list->segment = &segs[each_seg]; in frt_for_each_segment()
645 if (node == tmp_list->segment->handle) { in frt_for_each_packet()
[all …]
H A Draw_access.c540 segment->handle = seg_object->obj_hdl; in fru_get_segments()
541 (void) memcpy(segment->name, in fru_get_segments()
542 seg_object->u.seg_obj->segment.name, SEG_NAME_LEN); in fru_get_segments()
543 segment->descriptor = seg_object->u.seg_obj->segment.descriptor; in fru_get_segments()
545 segment->offset = seg_object->u.seg_obj->segment.offset; in fru_get_segments()
546 segment->length = seg_object->u.seg_obj->segment.length; in fru_get_segments()
548 segment++; in fru_get_segments()
907 offset = seg_hash->u.seg_obj->segment.offset; in get_packets()
978 seg_hash = lookup_handle_object(segment, SEGMENT_TYPE); in fru_get_num_packets()
993 offset = segment_object->segment.offset; in fru_get_num_packets()
[all …]
/illumos-gate/usr/src/common/mapfiles/common/
H A Dmap.noexdata23 # Link-editor mapfile to create a non-executable data segment definition
25 # x86 architecture. On SPARC, the data segment contains a Procedure Linkage
28 # As the data segment is extended by sbrk(2) to enlarge the heap, a
29 # non-executable data segment also results in a non-exutable heap.
38 # Executables can also create a separate non-executable bss segment.
39 # This segment may use additional memory, but also results in a
H A Dmap.noexbss23 # Link-editor mapfile to create a non-executable bss segment definition
26 # segment. On SPARC, the data segment contains a Procedure Linkage
29 # As the bss segment is extended by sbrk(2) to enlarge the heap, a
30 # non-executable bss segment also results in a non-exutable heap.
H A Dmap.filter24 # Creates a single, read-only, executable text segment to catch all loadable
29 # be constructed as a single read-only segment, the execute attribute of the
30 # segment is maintained to allow for simple .init processing (i.e., .init
39 # This compaction of a filter into a single segment allows ld.so.1 to optimize
40 # its processing of a filter. If the filter is small enough this segment may
43 # The assignment of all allocatable sections to this segment insures that the
H A Dmap.execdata23 # Link-editor mapfile to create an executable data segment definition within
26 # provided to facilitate an executable data segment for AMD64 executables.
41 # Executables can also create a separate executable bss segment. Adding
42 # the following line creates a bss segment.
/illumos-gate/usr/src/lib/libfru/libfrupicl/
H A Dfrupicl.c438 if (strcmp(segment, name) == 0) { in get_segment_node()
806 get_tag_handle(picl_nodehdl_t handle, const char *segment, in get_tag_handle() argument
950 int (*function)(fru_treeseghdl_t segment, void *args), in fpt_for_each_segment() argument
958 section, segment; in fpt_for_each_segment() local
991 &segment, in fpt_for_each_segment()
992 sizeof (segment)); in fpt_for_each_segment()
994 status = picl_get_propval_by_name(segment, in fpt_for_each_segment()
996 &segment, in fpt_for_each_segment()
997 sizeof (segment))) { in fpt_for_each_segment()
999 if (cmp_class_name(segment, PICL_CLASS_SEGMENT) in fpt_for_each_segment()
[all …]
/illumos-gate/usr/src/lib/libfru/libfrupicltree/
H A Dfrupicltree.c449 if (strcmp(segment, name) == 0) { in get_segment_node()
818 get_tag_handle(picl_nodehdl_t handle, const char *segment, in get_tag_handle() argument
962 int (*function)(fru_treeseghdl_t segment, void *args), in fpt_for_each_segment() argument
970 section, segment; in fpt_for_each_segment() local
1003 &segment, in fpt_for_each_segment()
1004 sizeof (segment)); in fpt_for_each_segment()
1006 status = ptree_get_propval_by_name(segment, in fpt_for_each_segment()
1008 &segment, in fpt_for_each_segment()
1009 sizeof (segment))) { in fpt_for_each_segment()
1011 if (cmp_class_name(segment, PICL_CLASS_SEGMENT) in fpt_for_each_segment()
[all …]
/illumos-gate/usr/src/lib/libfru/include/
H A Dlibfrup.h70 int (*function)(fru_seghdl_t segment,
73 extern fru_errno_t fru_get_segment_name(fru_seghdl_t segment, char **name);
74 extern fru_errno_t fru_for_each_packet(fru_seghdl_t segment,
H A Dlibfruds.h72 int (*function)(fru_treeseghdl_t segment,
75 fru_errno_t (*get_segment_name)(fru_treeseghdl_t segment, char **name);
90 fru_errno_t (*for_each_packet)(fru_treeseghdl_t segment,
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dlinux.c285 uint16_t segment; in linux_exec() local
388 segment = linux_data_real_addr >> 4; in linux_exec()
389 relocator_ds = segment; in linux_exec()
390 relocator_es = segment; in linux_exec()
391 relocator_fs = segment; in linux_exec()
392 relocator_gs = segment; in linux_exec()
393 relocator_ss = segment; in linux_exec()
396 relocator_cs = segment + 0x20; in linux_exec()
H A Dpxe.c138 pxe_p = (pxe_t *)PTOV(pxenv_p->PXEPtr.segment * 16 + in pxe_enable()
221 pxe_p->EntryPointSP.segment, in pxe_init()
225 pxenv_p->RMEntry.segment, pxenv_p->RMEntry.offset); in pxe_init()
246 bcopy(PTOV((gci_p->Buffer.segment << 4) + gci_p->Buffer.offset), in pxe_init()
321 __pxenvseg = pxenv_p->RMEntry.segment; in pxenv_call()
343 __bangpxeseg = pxe_p->EntryPointSP.segment; in bangpxe_call()
520 frame = (char *)((uintptr_t)isr->Frame.segment << 4); in pxe_netif_receive_isr()
623 trans_p->TBD.segment = VTOPSEG(tbd_p); in pxe_netif_put()
627 tbd_p->Xmit.segment = VTOPSEG(data); in pxe_netif_put()
H A Dpxetramp.s30 __bangpxeseg: .word 0x0000 # segment
37 __pxenvseg: .word 0x0000 # segment
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dbios.c32 int nsec, int segment);
53 unsigned long long sector, int nsec, int segment) in biosdisk() argument
85 dap.buffer = segment << 16; in biosdisk()
105 return biosdisk (read, drive, geometry, sector, nsec, segment); in biosdisk()
126 nsec, segment); in biosdisk()
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dphdr.msg79 @ MSG_DESC_P_FILESZ "# of bytes in file image of segment"
80 @ MSG_DESC_P_MEMSZ "# bytes in memory image of segment"
116 byte of the segment resides in memory.\n"
120 byte of the segment resides in memory.\n"
124 of the segment, which can be zero.\n"
128 of the segment, which can be zero.\n"
135 Value to which the segment is aligned in memory, and in\n\
183 at which the first byte of the segment resides.\n\
197 of the segment resides in memory\n\
229 of the segment. This value can be zero.\n\
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c410 seg_node->segment_hdl = segment->handle; in alloc_segment_node_object()
1547 segment_t *segment; in frudata_read_segment() local
1584 if (segment == NULL) { in frudata_read_segment()
1590 retval = fru_get_segments(sec_acc_hdl, segment, in frudata_read_segment()
1600 desc = (fru_segdesc_t *)&segment[cnt].descriptor; in frudata_read_segment()
1610 &segment[cnt], cont_tbl, &rarg->cred); in frudata_read_segment()
1642 segment_t segment; in frudata_add_segment() local
1653 segment.handle = 0; in frudata_add_segment()
1655 segment.descriptor = seg_def->desc.raw_data; in frudata_add_segment()
1659 desc = (fru_segdesc_t *)&segment.descriptor; in frudata_add_segment()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcpolicy/
H A Dpsvcpolicy.c86 static int32_t find_segment(psvc_opaque_t hdlp, char *fru, seg_desc_t *segment,
206 find_segment(psvc_opaque_t hdlp, char *fru, seg_desc_t *segment, in find_segment() argument
249 fru_data.buf = (char *)segment; in find_segment()
276 seg_desc_t segment; in psvc_update_thresholds_0() local
294 seg_found = find_segment(hdlp, fru, &segment, "ES"); in psvc_update_thresholds_0()
304 temp_address = segment.segoffset + TEMP_OFFSET; in psvc_update_thresholds_0()
319 temp_address = segment.segoffset + data_offset; in psvc_update_thresholds_0()
345 seg_found = find_segment(hdlp, fru, &segment, "SD"); in psvc_update_thresholds_0()
354 segment.segoffset + PART_NO_OFFSET; in psvc_update_thresholds_0()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_init_ops.c105 u16 i, segment; in ecore_init_rt() local
125 for (segment = 1; i + segment < size; segment++) in ecore_init_rt()
126 if (!p_valid[i + segment]) in ecore_init_rt()
131 addr + (i << 2), segment, 0); in ecore_init_rt()
136 i += segment; in ecore_init_rt()
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/arm/
H A Dldscript.arm6 /* Read-only sections, merged into text segment: */
40 we can shorten the on-disk segment size. */

12345