MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sdtossd

Function sdtossd

freebsd/i386/i386/machdep.c:1649–1661  ·  view source on GitHub ↗
(sd, ssd)

Source from the content-addressed store, hash-verified

1647#endif
1648
1649void
1650sdtossd(sd, ssd)
1651 struct segment_descriptor *sd;
1652 struct soft_segment_descriptor *ssd;
1653{
1654 ssd->ssd_base = (sd->sd_hibase << 24) | sd->sd_lobase;
1655 ssd->ssd_limit = (sd->sd_hilimit << 16) | sd->sd_lolimit;
1656 ssd->ssd_type = sd->sd_type;
1657 ssd->ssd_dpl = sd->sd_dpl;
1658 ssd->ssd_p = sd->sd_p;
1659 ssd->ssd_def32 = sd->sd_def32;
1660 ssd->ssd_gran = sd->sd_gran;
1661}
1662
1663static int
1664add_physmap_entry(uint64_t base, uint64_t length, vm_paddr_t *physmap,

Callers 1

trap_fatalFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected