Move RtlFillMemory() routine to ntosdrv driver
Некоторые проверки не удались
Builds / ExectOS (i686) (push) Failing after 42s
Builds / ExectOS (amd64) (push) Successful in 49s
Некоторые проверки не удались
Builds / ExectOS (i686) (push) Failing after 42s
Builds / ExectOS (amd64) (push) Successful in 49s
Этот коммит содержится в:
36
drivers/ntosdrv/rtl.c
Обычный файл
36
drivers/ntosdrv/rtl.c
Обычный файл
@@ -0,0 +1,36 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* COPYRIGHT: See COPYING.md in the top level directory
|
||||
* FILE: drivers/ntosdrv/rtl.c
|
||||
* DESCRIPTION: NTOS compatibility driver runtime library
|
||||
* DEVELOPERS: Rafal Kupiec <belliash@codingworkshop.eu.org>
|
||||
*/
|
||||
|
||||
#include <xtkmapi.h>
|
||||
|
||||
|
||||
/**
|
||||
* This routine fills a section of memory with a specified byte.
|
||||
*
|
||||
* @param Destination
|
||||
* Supplies a pointer to the buffer to fill.
|
||||
*
|
||||
* @param Length
|
||||
* Specifies a number of bytes to store in memory.
|
||||
*
|
||||
* @param Byte
|
||||
* Supplies a pattern to fill memory.
|
||||
*
|
||||
* @return This routine does not return any value.
|
||||
*
|
||||
* @since NT 3.5
|
||||
*/
|
||||
XTAPI
|
||||
VOID
|
||||
RtlFillMemory(OUT PVOID Destination,
|
||||
IN SIZE_T Length,
|
||||
IN UCHAR Byte)
|
||||
{
|
||||
/* Fill the buffer with specified byte */
|
||||
RtlSetMemory(Destination, Byte, Length);
|
||||
}
|
||||
Ссылка в новой задаче
Block a user