Deleted Added
sdiff udiff text old ( 241766 ) new ( 243640 )
full compact
1/*-
2 * Copyright (c) 2011 NetApp, Inc.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 16 unchanged lines hidden (view full) ---

25 *
26 * $FreeBSD$
27 */
28
29#ifndef _VMM_LAPIC_H_
30#define _VMM_LAPIC_H_
31
32struct vm;
33struct vie;
34
35boolean_t lapic_msr(u_int num);
36int lapic_rdmsr(struct vm *vm, int cpu, u_int msr, uint64_t *rval);
37int lapic_wrmsr(struct vm *vm, int cpu, u_int msr, uint64_t wval);
38
39int lapic_mmio(struct vm *vm, int cpu, u_int offset, int rd, struct vie *);
40
41int lapic_timer_tick(struct vm *vm, int cpu);
42
43/*
44 * Returns a vector between 32 and 255 if an interrupt is pending in the
45 * IRR that can be delivered based on the current state of ISR and TPR.
46 *
47 * Note that the vector does not automatically transition to the ISR as a

--- 22 unchanged lines hidden ---