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

Function ssdtosyssd

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

Source from the content-addressed store, hash-verified

944}
945
946void
947ssdtosyssd(ssd, sd)
948 struct soft_segment_descriptor *ssd;
949 struct system_segment_descriptor *sd;
950{
951
952 sd->sd_lobase = (ssd->ssd_base) & 0xffffff;
953 sd->sd_hibase = (ssd->ssd_base >> 24) & 0xfffffffffful;
954 sd->sd_lolimit = (ssd->ssd_limit) & 0xffff;
955 sd->sd_hilimit = (ssd->ssd_limit >> 16) & 0xf;
956 sd->sd_type = ssd->ssd_type;
957 sd->sd_dpl = ssd->ssd_dpl;
958 sd->sd_p = ssd->ssd_p;
959 sd->sd_gran = ssd->ssd_gran;
960}
961
962#if !defined(DEV_ATPIC) && defined(DEV_ISA)
963#include <isa/isavar.h>

Callers 5

user_ldt_allocFunction · 0.85
pmap_bootstrapFunction · 0.85
pmap_bootstrap_la57Function · 0.85
init_secondaryFunction · 0.85
hammer_timeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected