1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-11-17 15:07:10 +00:00

We missed a doc-block for the new set16 func

This commit is contained in:
Peter Evans 2018-01-10 16:46:55 -06:00
parent fcba14f91b
commit cb53c70cda

View File

@ -304,6 +304,12 @@ vm_segment_get_map_machine()
return map_mach;
}
/*
* This is similar in spirit to the get16 function, but obviously more
* practically similar to the set() function. Given a 16-bit value, we
* will save this into the given address in little-endian order; this
* therefore consumes bytes at both addr and addr+1.
*/
int
vm_segment_set16(vm_segment *segment, size_t addr, vm_16bit value)
{