From a760716e530a7809d39247eb54596a69569fada9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 1 May 2017 03:53:16 +0300 Subject: README updates --- README.md | 20 ++++++++------------ um/README.md | 7 ------- um/service/README.md | 10 +++------- um/wrappers/simple/README.md | 16 +++++----------- um/wrappers/special/nt_namespace/README.md | 14 ++++---------- 5 files changed, 20 insertions(+), 47 deletions(-) diff --git a/README.md b/README.md index 874c52b..a55f657 100644 --- a/README.md +++ b/README.md @@ -9,20 +9,16 @@ running in the kernel mode. Development ----------- -* [Using WDK 7.1.0] -* [Using WDK 8.1 Update] - -[Using WDK 7.1.0]: km/build/wdk7.1/README.md -[Using WDK 8.1 Update]: km/build/wdk8.1update/README.md +* [Using WDK 7.1.0](km/build/wdk7.1/README.md) +* [Using WDK 8.1 Update](km/build/wdk8.1update/README.md) Installation ------------ To install a driver as a Windows service, you can use the `sc` utility. -For example, to install `simple.sys` as a service with the name `simple`, -execute: +For example: - sc create simple type= kernel binPath= C:\workspace\personal\windows7-drivers\km\build\wdk7.1\bin\x64\Release\simple.sys + sc create simple type= kernel binPath= C:\workspace\personal\windows7-drivers\km\build\wdk7.1\bin\x64\release\simple.sys You can then load/unload the driver by starting/stopping the corresponding service using the `net` utility. @@ -34,11 +30,11 @@ To uninstall a driver, delete the corresponding service using `sc`. sc delete simple -Please note, that **64-bit versions of Windows 7 disallow loading 32-bit -drivers**! +Please note that **64-bit versions of Windows 7 (or later) disallow loading +32-bit drivers**! -You may also need to explicitly enable loading self-signed drivers on 64-bit -versions of Windows. +You may also need to explicitly enable self-signed drivers on 64-bit versions +of Windows. Using the `bcdedit` utility, execute bcdedit /set testsigning on diff --git a/um/README.md b/um/README.md index 7601f25..905a47a 100644 --- a/um/README.md +++ b/um/README.md @@ -29,10 +29,3 @@ x86): > cmake --build . --config release ... - -See also --------- - -* [License] - -[License]: ../README.md#license diff --git a/um/service/README.md b/um/service/README.md index d3bd6bd..7848a31 100644 --- a/um/service/README.md +++ b/um/service/README.md @@ -1,5 +1,5 @@ -Driver management utilities -=========================== +Driver management +================= Utilities to load/unload the drivers. @@ -46,8 +46,4 @@ The same as See also -------- -* [Building] -* [License] - -[Building]: ../README.md#building -[License]: ../../README.md#license +* [Building](../README.md#building) diff --git a/um/wrappers/simple/README.md b/um/wrappers/simple/README.md index fa92fff..eebfb83 100644 --- a/um/wrappers/simple/README.md +++ b/um/wrappers/simple/README.md @@ -1,9 +1,7 @@ -simple driver utilities -======================= +simple +====== -[simple] driver usage examples. - -[simple]: ../../../km/src/simple +[simple](../../../km/src/simple): usage examples. Usage ----- @@ -15,7 +13,7 @@ Usage: exchange_ints.exe N ``` Parses its argument as an `unsigned int` and exchanges it with the one stored -in [simple] driver's memory. +in the driver's memory. For example: ``` @@ -36,8 +34,4 @@ For example: See also -------- -* [Building] -* [License] - -[Building]: ../../README.md#building -[License]: ../../../README.md#license +* [Building](../../README.md#building) diff --git a/um/wrappers/special/nt_namespace/README.md b/um/wrappers/special/nt_namespace/README.md index 22a74ee..c9fbe3e 100644 --- a/um/wrappers/special/nt_namespace/README.md +++ b/um/wrappers/special/nt_namespace/README.md @@ -1,9 +1,7 @@ -nt_namespace driver utilities -================================== +nt_namespace +============ -[nt_namespace] driver usage examples. - -[nt_namespace]: ../../../../km/src/special/nt_namespace +[nt_namespace](../../../../km/src/special/nt_namespace): usage examples. Usage ----- @@ -24,8 +22,4 @@ For example: See also -------- -* [Building] -* [License] - -[Building]: ../../../README.md#building -[License]: ../../../../README.md#license +* [Building](../../../README.md#building) -- cgit v1.2.3