InOsEmuPkg: Update code to support BerkeleyPacketFilter, and add a template for LinuxPacketFilter.

BerkelyPacketFilter seems to work. Some one else will need to use the BerkeleyPacketFilter as a template and implement the LinuxPacketFilter. I don't think it will be that hard, as they are simular. 

Signed-off-by: andrewfish



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11828 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
andrewfish
2011-06-15 18:51:30 +00:00
parent a0aab286ec
commit 2b59fcd5b3
11 changed files with 2270 additions and 61 deletions

View File

@@ -36,7 +36,9 @@
Pthreads.c
PosixFileSystem.c
BlockIo.c
LinuxPacketFilter.c
BerkeleyPacketFilter.c
[Sources.X64]
X64/Gasket.S # convert between Emu x86_64 ABI and EFI X64 ABI
X64/SwitchStack.S
@@ -70,6 +72,7 @@
gEmuGraphicsWindowProtocolGuid
gEmuThreadThunkProtocolGuid
gEmuBlockIoProtocolGuid
gEmuSnpProtocolGuid
gEfiSimpleFileSystemProtocolGuid
[Guids]
@@ -90,6 +93,7 @@
gInOsEmuPkgTokenSpaceGuid.PcdEmuFileSystem
gInOsEmuPkgTokenSpaceGuid.PcdEmuSerialPort
gInOsEmuPkgTokenSpaceGuid.PcdEmuNetworkInterface
gInOsEmuPkgTokenSpaceGuid.PcdNetworkPacketFilterSize
gInOsEmuPkgTokenSpaceGuid.PcdEmuFlashFvRecoveryBase
gInOsEmuPkgTokenSpaceGuid.PcdEmuFlashFvRecoverySize