You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
250 lines
4.6 KiB
250 lines
4.6 KiB
/*++
|
|
|
|
Copyright (c) 2000 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
psldt.c
|
|
|
|
Abstract:
|
|
|
|
This module contains AMD64 stubs for the process and thread ldt support.
|
|
|
|
Author:
|
|
|
|
David N. Cutler (davec) 13-Oct-2000
|
|
|
|
--*/
|
|
|
|
#include "psp.h"
|
|
|
|
NTSTATUS
|
|
PspQueryLdtInformation (
|
|
IN PEPROCESS Process,
|
|
OUT PVOID LdtInformation,
|
|
IN ULONG LdtInformationLength,
|
|
OUT PULONG ReturnLength
|
|
)
|
|
|
|
/*++
|
|
|
|
Routine Description:
|
|
|
|
This function is not implemented on AMD64.
|
|
|
|
Arguments:
|
|
|
|
Process - Supplies a pointer to a executive process object.
|
|
|
|
LdtInformation - Supplies a pointer to the information buffer.
|
|
|
|
LdtInformationLength - Supplies the length of the information buffer.
|
|
|
|
ReturnLength - Supplies a pointer to a variable that receives the number
|
|
of bytes returned in the information buffer.
|
|
|
|
Return Value:
|
|
|
|
STATUS_NOT_IMPLEMENTED
|
|
|
|
--*/
|
|
|
|
{
|
|
|
|
UNREFERENCED_PARAMETER(Process);
|
|
UNREFERENCED_PARAMETER(LdtInformation);
|
|
UNREFERENCED_PARAMETER(LdtInformationLength);
|
|
UNREFERENCED_PARAMETER(ReturnLength);
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
}
|
|
|
|
NTSTATUS
|
|
PspSetLdtSize(
|
|
IN PEPROCESS Process,
|
|
IN PVOID LdtSize,
|
|
IN ULONG LdtSizeLength
|
|
)
|
|
|
|
/*++
|
|
|
|
Routine Description:
|
|
|
|
This function is not implemented on AMD64.
|
|
|
|
Arguments:
|
|
|
|
Process -- Supplies a pointer to an executive process object.
|
|
|
|
LdtSize -- Supplies a pointer to the LDT size infomration.
|
|
|
|
LdtSizeLength - Supplies the length of the LDT size information.
|
|
|
|
|
|
Return Value:
|
|
|
|
STATUS_NOT_IMPLEMENTED
|
|
|
|
--*/
|
|
|
|
{
|
|
UNREFERENCED_PARAMETER(Process);
|
|
UNREFERENCED_PARAMETER(LdtSize);
|
|
UNREFERENCED_PARAMETER(LdtSizeLength);
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
}
|
|
|
|
NTSTATUS
|
|
PspSetLdtInformation(
|
|
IN PEPROCESS Process,
|
|
IN PVOID LdtInformation,
|
|
IN ULONG LdtInformationLength
|
|
)
|
|
|
|
/*++
|
|
|
|
Routine Description:
|
|
|
|
This function is not implemented on AMD64.
|
|
|
|
Arguments:
|
|
|
|
Process -- Supplies a pointer to an executive process object.
|
|
|
|
LdtInformation -- Supplies a pointer to the information buffer.
|
|
|
|
LdtInformationLength -- Supplies the length of the information buffer.
|
|
|
|
Return Value:
|
|
|
|
STATUS_NOT_IMPLEMENTED
|
|
|
|
--*/
|
|
|
|
{
|
|
|
|
UNREFERENCED_PARAMETER(Process);
|
|
UNREFERENCED_PARAMETER(LdtInformation);
|
|
UNREFERENCED_PARAMETER(LdtInformationLength);
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
}
|
|
|
|
NTSTATUS
|
|
PspQueryDescriptorThread (
|
|
PETHREAD Thread,
|
|
PVOID ThreadInformation,
|
|
ULONG ThreadInformationLength,
|
|
PULONG ReturnLength
|
|
)
|
|
|
|
/*++
|
|
|
|
Routine Description:
|
|
|
|
This function is not implemented on AMD64.
|
|
|
|
Arguments:
|
|
|
|
Thread - Supplies a pointer to an executive thread object.
|
|
|
|
ThreadInformation - Supplies a pointer to the thread descriptor
|
|
information.
|
|
|
|
ThreadInformationLength - Supplies the length of the thread descriptor
|
|
information.
|
|
|
|
ReturnLength - Supplies a pointer to a variable that receives the number
|
|
of bytes returned in the descriptor information buffer.
|
|
|
|
Return Value:
|
|
|
|
STATUS_NOT_IMPLEMENTED
|
|
|
|
--*/
|
|
|
|
{
|
|
|
|
UNREFERENCED_PARAMETER(Thread);
|
|
UNREFERENCED_PARAMETER(ThreadInformation);
|
|
UNREFERENCED_PARAMETER(ThreadInformationLength);
|
|
UNREFERENCED_PARAMETER(ReturnLength);
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
}
|
|
|
|
VOID
|
|
PspDeleteLdt(
|
|
IN PEPROCESS Process
|
|
)
|
|
|
|
/*++
|
|
|
|
Routine Description:
|
|
|
|
This function is not implemented on AMD64.
|
|
|
|
Arguments:
|
|
|
|
Process -- Supplies a pointer to an executive process object.
|
|
|
|
Return Value:
|
|
|
|
None.
|
|
|
|
--*/
|
|
|
|
{
|
|
|
|
UNREFERENCED_PARAMETER(Process);
|
|
|
|
return;
|
|
}
|
|
|
|
NTSTATUS
|
|
NtSetLdtEntries(
|
|
IN ULONG Selector0,
|
|
IN ULONG Entry0Low,
|
|
IN ULONG Entry0Hi,
|
|
IN ULONG Selector1,
|
|
IN ULONG Entry1Low,
|
|
IN ULONG Entry1High
|
|
)
|
|
|
|
/*++
|
|
|
|
Routine Description:
|
|
|
|
This function is not implemented on AMD64.
|
|
|
|
Arguments:
|
|
|
|
Selector0 - Supplies the number of the first descriptor to set.
|
|
|
|
Entry0Low - Supplies the low 32 bits of the descriptor.
|
|
|
|
Entry0Hi - Supplies the high 32 bits of the descriptor.
|
|
|
|
Selector1 - Supplies the number of the last descriptor to set.
|
|
|
|
Entry1Low - Supplies the low 32 bits of the descriptor.
|
|
|
|
Entry1Hi - Supplies the high 32 bits of the descriptor.
|
|
|
|
Return Value:
|
|
|
|
None.
|
|
|
|
--*/
|
|
|
|
{
|
|
UNREFERENCED_PARAMETER(Selector0);
|
|
UNREFERENCED_PARAMETER(Entry0Low);
|
|
UNREFERENCED_PARAMETER(Entry0Hi);
|
|
UNREFERENCED_PARAMETER(Selector1);
|
|
UNREFERENCED_PARAMETER(Entry1Low);
|
|
UNREFERENCED_PARAMETER(Entry1High);
|
|
|
|
return STATUS_NOT_IMPLEMENTED;
|
|
}
|