This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RpiLanPropertyChange: Add ARM64 Support
- Loading branch information
1 parent
5ab3b72
commit 4dc59a7
Showing
2 changed files
with
150 additions
and
4 deletions.
There are no files selected for viewing
55 changes: 55 additions & 0 deletions
55
drivers/RpiLanPropertyChange/bcm2836/RpiLanPropertyChange.inf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
; | ||
; RpiLanPropertyChange.inf | ||
; | ||
[Version] | ||
Signature = "$WINDOWS NT$" | ||
Class = SYSTEM | ||
ClassGuid = {4d36e97d-e325-11ce-bfc1-08002be10318} | ||
Provider = %ProviderString% | ||
DriverVer = 04/27/2020,1.0.0.0000 | ||
CatalogFile = RpiLanPropertyChange.cat | ||
|
||
[DestinationDirs] | ||
RpiLanPropertyChange_Files = 11 ;System32 | ||
|
||
[SourceDisksNames] | ||
0 = "Disk" | ||
|
||
[SourceDisksFiles] | ||
RpiLanPropertyChange.dll = 0,, | ||
|
||
[DefaultInstall.NT] | ||
CopyFiles = RpiLanPropertyChange_Files | ||
AddReg = RpiLanPropertyChange_Reg | ||
|
||
[DefaultInstall.NT.Services] | ||
AddService = ,2 | ||
|
||
[RpiLanPropertyChange_Files] | ||
RpiLanPropertyChange.dll | ||
|
||
[RpiLanPropertyChange_Reg] | ||
HKLM, System\ControlSet001\Services\RpiLanPropertyChange , DisplayName , %REG_SZ% , "%ServiceName%" | ||
HKLM, System\ControlSet001\Services\RpiLanPropertyChange , Description , %REG_SZ% , "%ServiceDescription%" | ||
HKLM, System\ControlSet001\Services\RpiLanPropertyChange , ImagePath , %REG_EXPAND_SZ% , "%%systemroot%%\system32\svchost.exe -k netsvcs -p" | ||
HKLM, System\ControlSet001\Services\RpiLanPropertyChange , Type , %REG_DWORD% , 0x0020 | ||
HKLM, System\ControlSet001\Services\RpiLanPropertyChange , Start , %REG_DWORD% , 0x0002 | ||
HKLM, System\ControlSet001\Services\RpiLanPropertyChange , ErrorControl , %REG_DWORD% , 0x0001 | ||
HKLM, System\ControlSet001\Services\RpiLanPropertyChange , ObjectName , %REG_SZ% , "LocalSystem" | ||
HKLM, System\ControlSet001\Services\RpiLanPropertyChange , RequiredPrivileges , %REG_APPEND_MULTI_SZ% , "SeTcbPrivilege" | ||
HKLM, System\ControlSet001\Services\RpiLanPropertyChange\Parameters , ServiceDll , %REG_EXPAND_SZ% , "%%SystemRoot%%\System32\RpiLanPropertyChange.dll" | ||
HKLM, System\ControlSet001\Services\RpiLanPropertyChange\Parameters , ServiceDllUnloadOnStop, %REG_DWORD% , 0x0001 | ||
HKLM, Software\Microsoft\Windows NT\CurrentVersion\Svchost , netsvcs , %REG_APPEND_MULTI_SZ% , "RpiLanPropertyChange" | ||
|
||
[Strings] | ||
ProviderString = "MS-IOT" | ||
MfgName="Microsoft" | ||
ServiceName="Raspberry Pi Lan MAC Updater Service" | ||
ServiceDescription="Update Lan MAC address according to registry setting" | ||
|
||
REG_SZ = 0x00000000 | ||
REG_MULTI_SZ = 0x00010000 | ||
REG_APPEND_MULTI_SZ = 0x00010008 | ||
REG_EXPAND_SZ = 0x00020000 | ||
REG_DWORD = 0x00010001 | ||
REG_BINARY = 0x00000001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters