8000 tmp/workstation 17.0.2 k6.8 by skitheo · Pull Request #290 · mkubecek/vmware-host-modules · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tmp/workstation 17.0.2 k6.8 #290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: workstation-17.0.2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vmmon-only/common/task.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ Task_Terminate(void)
*-----------------------------------------------------------------------------
*/

Selector
static Selector
TaskGetFlatWriteableDataSegment(void)
{
DTR hostGDTR;
Expand Down
6 changes: 3 additions & 3 deletions vmmon-only/common/vmx86.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
#include "x86svm.h"
#include "x86cpuid_asm.h"
#if defined(__linux__)
#include <asm/timex.h>
#include <linux/timex.h>
#endif
#include "perfctr.h"
#include "x86vtinstr.h"
Expand Down Expand Up @@ -696,7 +696,7 @@ Vmx86FreeCrossPages(VMDriver *vm)
*-----------------------------------------------------------------------------
*/

void
static void
Vmx86FreeVMDriver(VMDriver *vm)
{
Vmx86_Free(vm->ptRootMpns);
Expand Down Expand Up @@ -729,7 +729,7 @@ Vmx86FreeVMDriver(VMDriver *vm)
*-----------------------------------------------------------------------------
*/

VMDriver *
static VMDriver *
Vmx86AllocVMDriver(uint32 numVCPUs)
{
VMDriver *vm = Vmx86_Calloc(1, sizeof *vm, TRUE);
Expand Down
4 changes: 2 additions & 2 deletions vmmon-only/linux/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ LinuxDriverInitTSCkHz(void)
*----------------------------------------------------------------------
*/

int
static int
LinuxDriverInit(void)
{
int retval;
Expand Down Expand Up @@ -335,7 +335,7 @@ LinuxDriverInit(void)
*----------------------------------------------------------------------
*/

void
static void
LinuxDriverExit(void)
{
/*
Expand Down
6 changes: 3 additions & 3 deletions vmmon-only/linux/hostif.c
Original file line number Diff line number Diff line change
Expand Up @@ -2922,7 +2922,7 @@ HostIF_CallOnEachCPU(void (*func)(void*), // IN: function to call
*-----------------------------------------------------------------------------
*/

Bool
static Bool
HostIFCheckTrackedMPN(VMDriver *vm, // IN: The VM instance
MPN mpn) // IN: The MPN
{
Expand Down Expand Up @@ -3042,7 +3042,7 @@ HostIF_ReadPhysical(VMDriver *vm, // IN: The VM instance
*----------------------------------------------------------------------
*/

int
static int
HostIFWritePhysicalWork(MA ma, // MA to be written to
VA64 addr, // src data to write
Bool kernelBuffer, // is the buffer in kernel space?
Expand Down Expand Up @@ -3201,7 +3201,7 @@ HostIF_GetCurrentPCPU(void)
*----------------------------------------------------------------------
*/

int
static int
HostIFStartTimer(Bool rateChanged, //IN: Did rate change?
unsigned int rate) //IN: current clock rate
{
Expand Down
2 changes: 1 addition & 1 deletion vmnet-only/bridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -1411,7 +1411,7 @@ VNetBridgeComputeHeaderPos(struct sk_buff *skb) // IN: buffer to examine
*----------------------------------------------------------------------
*/

void
static void
VNetBridgeSendLargePacket(struct sk_buff *skb, // IN: packet to split
VNetBridge *bridge) // IN: bridge
{
Expand Down
16 changes: 2 additions & 14 deletions vmnet-only/driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,6 @@

#include "vmnetInt.h"

/*
* Initialization and creation routines from other files.
* Putting them here reduces the need for so many header files.
*/

extern int VNetUserIf_Create(VNetPort **ret);
extern int VNetNetIf_Create(char *devName, VNetPort **ret, int hubNum);
extern int VNetBridge_Create(char *devName, uint32 flags, VNetJack *hubJack,
VNetPort **ret);
extern int VNetUserListener_Create(uint32 classMask, VNetJack *hubJack, VNetPort **ret);


/*
* Structure for cycle detection of host interfaces. This
* struct is only used by VNetCycleDetectIf().
Expand Down Expand Up @@ -295,7 +283,7 @@ VNetRemovePortFromList(const VNetPort *port) // IN: port to remove from list
*----------------------------------------------------------------------
*/

int
static int
vmnet_init_module(void)
{
int retval;
Expand Down Expand Up @@ -374,7 +362,7 @@ vmnet_init_module(void)
*----------------------------------------------------------------------
*/

void
static void
vmnet_cleanup_module(void)
{
unregister_chrdev(VNET_MAJOR_NUMBER, "vmnet");
Expand Down
12 changes: 12 additions & 0 deletions vmnet-only/vnetInt.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,18 @@ extern int VNetProc_Init(void);
extern void VNetProc_Cleanup(void);


/*
* Initialization and creation routines from other files.
* Putting them here reduces the need for so many header files.
*/

extern int VNetUserIf_Create(VNetPort **ret);
extern int VNetNetIf_Create(char *devName, VNetPort **ret, int hubNum);
extern int VNetBridge_Create(const char *devName, uint32 flags, VNetJack *hubJack,
VNetPort **ret);
extern int VNetUserListener_Create(uint32 classMask, VNetJack *hubJack, VNetPort **ret);


/*
*----------------------------------------------------------------------
*
Expand Down
0