pmap
struct pmap pmap;
map->SetFlushCallback((callback_type)&ret->pmap.pm_tlb_flush, &ret->pmap);
map->SetFlushCallback((callback_type)&ret->pmap.pm_tlb_flush, &ret->pmap);
extern "C" struct pmap*
return &vm->pmap;
#define os_vmspace_pmap(vm) ((vm)->vm_map.pmap)
#define os_vmspace_pdirpa(vm) ((vm)->vm_map.pmap->pm_pdirpa[0])
void (*pm_tlb_flush)(struct pmap *);
struct pmap *os_vmspace_pmap(os_vmspace_t *vm);
svm_tlb_flush(struct pmap *pm)
struct pmap *pmap = os_vmspace_pmap(mach->vm);
os_pmap_mach(pmap) = (void *)mach;
pmap->pm_tlb_flush = svm_tlb_flush;
pmap_npt_transform(pmap, 0);
vmx_tlb_flush(struct pmap *pm)
struct pmap *pmap = os_vmspace_pmap(mach->vm);
os_pmap_mach(pmap) = (void *)mach;
pmap->pm_tlb_flush = vmx_tlb_flush;
pmap_ept_transform(pmap, vmx_ept_has_ad ? 0 : PMAP_EMULATE_AD_BITS);
const color_map *pmap = system_colors();
if (!pmap)
rgb_color c = pmap->color_list[i];
const color_map *pmap = NULL;
pmap = system_colors();
if (!pmap) {
rgb_color c = pmap->color_list[bitspixel[0]];
uint32 width, const color_map *pmap, int32 bitsBytesPerPixel)
c = pmap->color_list[pbits[0]];
const color_map *pmap = NULL;
pmap = system_colors();
if (!pmap)
pmap, bitsBytesPerPixel);
width, pmap, bitsBytesPerPixel);
const color_map *pmap = system_colors();
if (!pmap)
rgb_color c = pmap->color_list[i];
uint16 width, uint8 depth, uint8 *pmap)
ptgapixel = pmap +
ptgapixel = pmap +
ptgapixel = pmap +
ptgapixel = pmap +
TGAImageSpec &imagespec, uint8 *pmap)
imagespec.width, mapspec.entrysize, pmap);
TGAColorMapSpec &mapspec, TGAImageSpec &imagespec, uint8 *pmap)
ptgapixel = pmap + (tgaindex * tgaPalBytesPerPixel);
rawcount, mapspec.entrysize, pmap);
uint16 width, const color_map *pmap, int32 bitsBytesPerPixel)
c = pmap->color_list[pbits[0]];
color_space fromspace, const color_map *pmap,
ptga, fromspace, 1, pmap, bitsBytesPerPixel) + 1;
color_space fromspace, const color_map *pmap,
count, pmap, bitsBytesPerPixel) + 1;
uint16 width, const color_map *pmap, int32 bitsBytesPerPixel)
fromspace, pmap, bitsBytesPerPixel);
fromspace, pmap, bitsBytesPerPixel);
fromspace, pmap, bitsBytesPerPixel);
fromspace, pmap, bitsBytesPerPixel);
color_space fromspace, uint16 width, const color_map *pmap,
const color_map *pmap = NULL;
pmap = system_colors();
if (!pmap) {
imagespec.width, pmap, bitsBytesPerPixel);
color_space fromspace, uint16 width, const color_map *pmap,
TGAColorMapSpec &mapspec, TGAImageSpec &imagespec, uint8 *pmap);
struct pmap pmap;
map->SetFlushCallback((callback_type)&ret->pmap.pm_tlb_flush, &ret->pmap);
map->SetFlushCallback((callback_type)&ret->pmap.pm_tlb_flush, &ret->pmap);
extern "C" struct pmap*
return &vm->pmap;
#define os_vmspace_pmap(vm) ((vm)->vm_map.pmap)
#define os_vmspace_pdirpa(vm) ((vm)->vm_map.pmap->pm_pdirpa[0])
void (*pm_tlb_flush)(struct pmap *);
struct pmap *os_vmspace_pmap(os_vmspace_t *vm);
svm_tlb_flush(struct pmap *pm)
struct pmap *pmap = os_vmspace_pmap(mach->vm);
os_pmap_mach(pmap) = (void *)mach;
pmap->pm_tlb_flush = svm_tlb_flush;
pmap_npt_transform(pmap, 0);
vmx_tlb_flush(struct pmap *pm)
struct pmap *pmap = os_vmspace_pmap(mach->vm);
os_pmap_mach(pmap) = (void *)mach;
pmap->pm_tlb_flush = vmx_tlb_flush;
pmap_ept_transform(pmap, vmx_ept_has_ad ? 0 : PMAP_EMULATE_AD_BITS);