-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #108 from TheNullicorn/xvio-revision
Replace "context" with "service" in XVIO pages
- Loading branch information
Showing
6 changed files
with
25 additions
and
25 deletions.
There are no files selected for viewing
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
8 changes: 4 additions & 4 deletions
8
docs/development/xvio/ring-buffers/xvio-get-ring-buffer-context-safe.md
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 |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# XvioGetRingBufferContextSafe | ||
Safe version of *[XvioGetRingBufferContext](./xvio-get-ring-buffer-context.md).* Essentially just checks if the XVIO context is initialized and the *ContextId* parameter matches the ring buffer's context ID. | ||
Safe version of *[XvioGetRingBufferContext](./xvio-get-ring-buffer-context.md).* Essentially just checks if the XVIO service is initialized and the *ServiceId* parameter matches the ring buffer's service ID. | ||
|
||
## Syntax | ||
```cpp title='C++' | ||
PXVIO_RING_BUFFER XvioGetRingBufferContext( | ||
uint32_t TargetPartition, | ||
uint32_t ContextId | ||
uint32_t ServiceId | ||
); | ||
``` | ||
|
||
## Parameters | ||
`uint32_t TargetPartition` | ||
The *[Partition ID](../xvio-overview.md/#partition-identifiers)* of the partition the ring buffer targets. | ||
|
||
`uint32_t ContextId` | ||
The *[Context ID](../xvio-overview.md/#context-identifiers)* of the XVIO context the ring buffer targets. | ||
`uint32_t ServiceId` | ||
The *[Service ID](../xvio-overview.md/#service-identifiers)* of the XVIO service the ring buffer targets. | ||
|
||
## Return value | ||
Returns a pointer to a **XVIO_RING_BUFFER** structure. |
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# XvioCleanup function | ||
Cleans up and frees an XVIO Context ID. Also destroys the allocated ring buffer, if one has been allocated. | ||
Cleans up and frees an XVIO Service ID. Also destroys the allocated ring buffer, if one has been allocated. | ||
|
||
## Syntax | ||
```cpp title='C++' | ||
NTSTATUS XvioCleanup( | ||
uint32_t XvioContextId | ||
uint32_t XvioServiceId | ||
); | ||
``` | ||
|
||
## Parameters | ||
`uint32_t XvioContextId` | ||
The ID of the context to be cleaned up, same as the one created with *XvioInitialize.* | ||
`uint32_t XvioServiceId` | ||
The ID of the service to be cleaned up, same as the one created with *XvioInitialize.* | ||
|
||
## Return value | ||
Returns a generic **NTSTATUS** value. |
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
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
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