Skip to content

Commit

Permalink
Moved files on Windows (preparation for shmem)
Browse files Browse the repository at this point in the history
Change-Id: I56a58bb29ac5fa937d1b520a2fa2081ef3a7b4a6
Partial-Bug: #1737177
  • Loading branch information
Michał Cłapiński committed Jan 17, 2018
1 parent 095889a commit eec6545
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion utils/flow.c
Expand Up @@ -38,7 +38,7 @@

#ifdef _WIN32
#include <winioctl.h>
#include "windows_flow_ioctl.h"
#include "windows_shmem_ioctl.h"
#endif

#include "vr_types.h"
Expand Down
2 changes: 1 addition & 1 deletion windows/precomp.h
Expand Up @@ -7,5 +7,5 @@
#include <wdmsec.h>

#include "vr_windows.h"
#include "windows_mem.h"
#include "windows_shmem.h"
#include "windows_devices.h"
4 changes: 2 additions & 2 deletions windows/vRouter.vcxproj
Expand Up @@ -495,12 +495,12 @@
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="vr_driver.c" />
<ClCompile Include="vr_flow_device.c" />
<ClCompile Include="vr_shmem_devices.c" />
<ClCompile Include="vr_ksync.c">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="vr_host_interface.c" />
<ClCompile Include="vr_mem.c">
<ClCompile Include="vr_shmem.c">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="vr_nbl.c" />
Expand Down
4 changes: 2 additions & 2 deletions windows/vRouter.vcxproj.filters
Expand Up @@ -243,7 +243,7 @@
<ClCompile Include="dp-core\vr_bitmap.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="windows\vr_mem.c">
<ClCompile Include="windows\vr_shmem.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="windows\vr_pkt0.c">
Expand Down Expand Up @@ -285,7 +285,7 @@
<ClCompile Include="windows\vr_nbl.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="windows\vr_flow_device.c">
<ClCompile Include="windows\vr_shmem_devices.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
Expand Down
1 change: 0 additions & 1 deletion windows/vr_driver.c
Expand Up @@ -4,7 +4,6 @@
#include "precomp.h"
#include "vr_windows.h"
#include "windows_devices.h"
#include "windows_mem.h"
#include "windows_nbl.h"

#include "vrouter.h"
Expand Down
2 changes: 1 addition & 1 deletion windows/vr_mem.c → windows/vr_shmem.c
Expand Up @@ -2,7 +2,7 @@
* Copyright (c) 2017 Juniper Networks, Inc. All rights reserved.
*/
#include "precomp.h"
#include "windows_mem.h"
#include "windows_shmem.h"

#include "vrouter.h"
#include "vr_flow.h"
Expand Down
4 changes: 2 additions & 2 deletions windows/vr_flow_device.c → windows/vr_shmem_devices.c
Expand Up @@ -4,9 +4,9 @@
#include "precomp.h"

#include "windows_devices.h"
#include "windows_flow_ioctl.h"
#include "windows_shmem_ioctl.h"
#include "windows_ksync.h"
#include "windows_mem.h"
#include "windows_shmem.h"

static const WCHAR FlowDeviceName[] = L"\\Device\\vrouterFlow";
static const WCHAR FlowDeviceSymLink[] = L"\\DosDevices\\vrouterFlow";
Expand Down
2 changes: 1 addition & 1 deletion windows/windows_mem.h → windows/windows_shmem.h
@@ -1,5 +1,5 @@
/*
* windows_mem.h -- definitions used in shared memmory handling on Windows
* windows_shmem.h -- definitions used in shared memmory handling on Windows
*
* Copyright (c) 2017 Juniper Networks, Inc. All rights reserved.
*/
Expand Down
@@ -1,5 +1,5 @@
/*
* windows_flow_ioctl.h -- definitions used in flow device DeviceIoControl calls
* windows_shmem_ioctl.h -- definitions used in flow device DeviceIoControl calls
*
* Copyright (c) 2017 Juniper Networks, Inc. All rights reserved.
*/
Expand Down

0 comments on commit eec6545

Please sign in to comment.