FreeBSD/sys/contrib/x86emu/x86emu.c
/*
 * PARAMETERS:
 * segment	- Segment to store data at
 * offset	- Offset to store data at
 * val		- Value to store
 * 
 * REMARKS:
 * Writes a word value to an absolute memory location.
 * 
 * NOTE: Do not inline this function as (*emu->emu_wrX) is already inline!
 */
segment      - Segment to store data at
offset       - Offset to store data at
val          - Value to store

Writes a word value to an absolute memory location.

Do not inline this function as (*emu->emu_wrX) is already inline!
segment - Segment to store data at offset - Offset to store data at val - Value to store Writes a word value to an absolute memory location . Do not inline this function as ( * emu - > emu_wrX ) is already inline!
static void 
store_word(struct x86emu *emu, uint32_t segment, uint32_t offset, uint16_t val)
{
	(*emu->emu_wrw) (emu, ((uint32_t) segment << 4) + offset, val);
}
static void store_word ( struct x86emu * emu , uint32_t segment , uint32_t offset , uint16_t val ) { ( * emu -> emu_wrw ) ( emu , ( ( uint32_t ) segment << 4 ) + offset , val ) ; }
PARAMETERS:
 segment      - Segment to store data at
 offset       - Offset to store data at
 val          - Value to store
PARAMETERS : segment - Segment to store data at offset - Offset to store data at val - Value to store