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

Function sdtossd

freebsd/amd64/amd64/machdep.c:912–926  ·  view source on GitHub ↗
(sd, ssd)

Source from the content-addressed store, hash-verified

910#endif
911
912void
913sdtossd(sd, ssd)
914 struct user_segment_descriptor *sd;
915 struct soft_segment_descriptor *ssd;
916{
917
918 ssd->ssd_base = (sd->sd_hibase << 24) | sd->sd_lobase;
919 ssd->ssd_limit = (sd->sd_hilimit << 16) | sd->sd_lolimit;
920 ssd->ssd_type = sd->sd_type;
921 ssd->ssd_dpl = sd->sd_dpl;
922 ssd->ssd_p = sd->sd_p;
923 ssd->ssd_long = sd->sd_long;
924 ssd->ssd_def32 = sd->sd_def32;
925 ssd->ssd_gran = sd->sd_gran;
926}
927
928void
929ssdtosd(ssd, sd)

Callers 1

trap_fatalFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected