Compare commits
3 commits
26fca2525c
...
599472a176
Author | SHA1 | Date | |
---|---|---|---|
599472a176 | |||
c6ce36e2f0 | |||
af557a0dba |
31 changed files with 30 additions and 14 deletions
8
.gitignore
vendored
8
.gitignore
vendored
|
@ -1,7 +1,7 @@
|
||||||
/target
|
/target
|
||||||
|
|
||||||
# agent
|
# agent
|
||||||
/agent-vs2022/.cache
|
/agent/.cache
|
||||||
/agent-vs2022/bin
|
/agent/bin
|
||||||
/agent-vs2022/obj
|
/agent/obj
|
||||||
/agent-vs2022/compile_commands.json
|
/agent/compile_commands.json
|
||||||
|
|
14
README.md
Normal file
14
README.md
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# Hazelnut
|
||||||
|
|
||||||
|
A semi-prototype of CollabVM 3.0 agent functionality (specifically display).
|
||||||
|
|
||||||
|
Currently NVIDIA-specific; support for DXGI duplication (for post Win7) should be added at some point
|
||||||
|
|
||||||
|
The agent should run on Windows 7 x64 onwards. Lower (or x86) is currently not supported as a target.
|
||||||
|
|
||||||
|
TCP sockets are currently used; this will be replaced with virtio-serial (mediated on top of agent pluggable support) and IVSHMEM.
|
||||||
|
|
||||||
|
This repository contains:
|
||||||
|
|
||||||
|
- The agent.
|
||||||
|
- A simple server end, written in Rust, which displays the framebuffer (in rather unoptimal fashion, both networking and graphics-wise.). Written for testing only.
|
|
@ -23,14 +23,14 @@ OBJS := $(OBJDIR)/capture.o \
|
||||||
$(OBJDIR)/nvfbc_library.o \
|
$(OBJDIR)/nvfbc_library.o \
|
||||||
$(OBJDIR)/main.o \
|
$(OBJDIR)/main.o \
|
||||||
|
|
||||||
LINK_LIBS := ~/vs2022/ucrt/lib/$(ARCH)/libucrt$(D).lib \
|
LINK_LIBS := $(VS2022_PATH)/ucrt/lib/$(ARCH)/libucrt$(D).lib \
|
||||||
~/vs2022/crt/lib/$(ARCH)/libcmt$(D).lib \
|
$(VS2022_PATH)/crt/lib/$(ARCH)/libcmt$(D).lib \
|
||||||
~/vs2022/crt/lib/$(ARCH)/libcpmt$(D).lib \
|
$(VS2022_PATH)/crt/lib/$(ARCH)/libcpmt$(D).lib \
|
||||||
~/vs2022/crt/lib/$(ARCH)/libvcruntime$(D).lib \
|
$(VS2022_PATH)/crt/lib/$(ARCH)/libvcruntime$(D).lib \
|
||||||
~/vs2022/winsdk/lib/$(ARCH)/kernel32.lib \
|
$(VS2022_PATH)/winsdk/lib/$(ARCH)/kernel32.lib \
|
||||||
~/vs2022/winsdk/lib/$(ARCH)/user32.lib \
|
$(VS2022_PATH)/winsdk/lib/$(ARCH)/user32.lib \
|
||||||
~/vs2022/winsdk/lib/$(ARCH)/comctl32.lib \
|
$(VS2022_PATH)/winsdk/lib/$(ARCH)/comctl32.lib \
|
||||||
~/vs2022/winsdk/lib/$(ARCH)/ws2_32.lib
|
$(VS2022_PATH)/winsdk/lib/$(ARCH)/ws2_32.lib
|
||||||
|
|
||||||
.PHONY: all dumpinfo clean matrix
|
.PHONY: all dumpinfo clean matrix
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
# Base compiler flags. Only change if you *explicitly* know what you're doing.
|
# Base compiler flags. Only change if you *explicitly* know what you're doing.
|
||||||
|
|
||||||
|
# replace this
|
||||||
|
VS2022_PATH := ~/vs2022
|
||||||
|
|
||||||
RC_INCLUDES := /I ~/vs2022/winsdk/include/um /I ~/vs2022/winsdk/include/shared
|
RC_INCLUDES := /I $(VS2022_PATH)/winsdk/include/um /I $(VS2022_PATH)/winsdk/include/shared
|
||||||
SDK_INCLUDES := -isystem ~/vs2022/ucrt/include -isystem ~/vs2022/crt/include -isystem ~/vs2022/winsdk/include/shared -isystem ~/vs2022/winsdk/include/um
|
SDK_INCLUDES := -isystem $(VS2022_PATH)/ucrt/include -isystem $(VS2022_PATH)/crt/include -isystem $(VS2022_PATH)/winsdk/include/shared -isystem $(VS2022_PATH)/winsdk/include/um
|
||||||
|
|
||||||
# Windows 6.1
|
# Windows 6.1
|
||||||
BASE_CCFLAGS := $(SDK_INCLUDES) -D_WIN32_WINNT=0x0601 -Ires -std=c17
|
BASE_CCFLAGS := $(SDK_INCLUDES) -D_WIN32_WINNT=0x0601 -Ires -std=c17
|
Loading…
Reference in a new issue