vmm.c (c49761dd572ca667babda4253e14498c7161e21a) | vmm.c (bd50262f705c4fed70ea94d16a0f19b5f5497cf2) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2011 NetApp, Inc. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 43 unchanged lines hidden (view full) --- 52#include <vm/pmap.h> 53#include <vm/vm_map.h> 54#include <vm/vm_extern.h> 55#include <vm/vm_param.h> 56 57#include <machine/cpu.h> 58#include <machine/pcb.h> 59#include <machine/smp.h> | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2011 NetApp, Inc. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 43 unchanged lines hidden (view full) --- 52#include <vm/pmap.h> 53#include <vm/vm_map.h> 54#include <vm/vm_extern.h> 55#include <vm/vm_param.h> 56 57#include <machine/cpu.h> 58#include <machine/pcb.h> 59#include <machine/smp.h> |
60#include <machine/md_var.h> |
|
60#include <x86/psl.h> 61#include <x86/apicreg.h> 62 63#include <machine/vmm.h> 64#include <machine/vmm_dev.h> 65#include <machine/vmm_instruction_emul.h> 66 67#include "vmm_ioport.h" --- 254 unchanged lines hidden (view full) --- 322 323static int 324vmm_init(void) 325{ 326 int error; 327 328 vmm_host_state_init(); 329 | 61#include <x86/psl.h> 62#include <x86/apicreg.h> 63 64#include <machine/vmm.h> 65#include <machine/vmm_dev.h> 66#include <machine/vmm_instruction_emul.h> 67 68#include "vmm_ioport.h" --- 254 unchanged lines hidden (view full) --- 323 324static int 325vmm_init(void) 326{ 327 int error; 328 329 vmm_host_state_init(); 330 |
330 vmm_ipinum = lapic_ipi_alloc(&IDTVEC(justreturn)); | 331 vmm_ipinum = lapic_ipi_alloc(pti ? &IDTVEC(justreturn1_pti) : 332 &IDTVEC(justreturn)); |
331 if (vmm_ipinum < 0) 332 vmm_ipinum = IPI_AST; 333 334 error = vmm_mem_init(); 335 if (error) 336 return (error); 337 338 if (vmm_is_intel()) --- 2254 unchanged lines hidden --- | 333 if (vmm_ipinum < 0) 334 vmm_ipinum = IPI_AST; 335 336 error = vmm_mem_init(); 337 if (error) 338 return (error); 339 340 if (vmm_is_intel()) --- 2254 unchanged lines hidden --- |