Source code of Windows XP (NT5)
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.

192 lines
3.6 KiB

  1. /*++
  2. Copyright (c) 1990 Microsoft Corporation
  3. Module Name:
  4. psldt.c
  5. Abstract:
  6. This module contains mips stubs for the process and thread ldt support
  7. Author:
  8. Dave Hastings (daveh) 20 May 1991
  9. Revision History:
  10. --*/
  11. #include "psp.h"
  12. NTSTATUS
  13. PspQueryLdtInformation(
  14. IN PEPROCESS Process,
  15. OUT PVOID LdtInformation,
  16. IN ULONG LdtInformationLength,
  17. OUT PULONG ReturnLength
  18. )
  19. /*++
  20. Routine Description:
  21. This routine returns STATUS_NOT_IMPLEMENTED
  22. Arguments:
  23. Process -- Supplies a pointer to the process to return LDT info for
  24. LdtInformation -- Supplies a pointer to the buffer
  25. ReturnLength -- Returns the number of bytes put into the buffer
  26. Return Value:
  27. STATUS_NOT_IMPLEMENTED
  28. --*/
  29. {
  30. UNREFERENCED_PARAMETER (Process);
  31. UNREFERENCED_PARAMETER (LdtInformation);
  32. UNREFERENCED_PARAMETER (LdtInformationLength);
  33. UNREFERENCED_PARAMETER (ReturnLength);
  34. return STATUS_NOT_IMPLEMENTED;
  35. }
  36. NTSTATUS
  37. PspSetLdtSize(
  38. IN PEPROCESS Process,
  39. IN PVOID LdtSize,
  40. IN ULONG LdtSizeLength
  41. )
  42. /*++
  43. Routine Description:
  44. This function returns STATUS_NOT_IMPLEMENTED
  45. Arguments:
  46. Process -- Supplies a pointer to the process whose Ldt is to be sized
  47. LdtSize -- Supplies a pointer to the size information
  48. Return Value:
  49. STATUS_NOT_IMPLEMENTED
  50. --*/
  51. {
  52. UNREFERENCED_PARAMETER (Process);
  53. UNREFERENCED_PARAMETER (LdtSize);
  54. UNREFERENCED_PARAMETER (LdtSizeLength);
  55. return STATUS_NOT_IMPLEMENTED;
  56. }
  57. NTSTATUS
  58. PspSetLdtInformation(
  59. IN PEPROCESS Process,
  60. IN PVOID LdtInformation,
  61. IN ULONG LdtInformationLength
  62. )
  63. /*++
  64. Routine Description:
  65. This function returns STATUS_NOT_IMPLEMENTED
  66. Arguments:
  67. Process -- Supplies a pointer to the process whose Ldt is to be modified
  68. LdtInformation -- Supplies a pointer to the information about the Ldt
  69. modifications
  70. LdtInformationLength -- Supplies the length of the LdtInformation
  71. structure.
  72. Return Value:
  73. Return Value:
  74. STATUS_NOT_IMPLEMENTED
  75. --*/
  76. {
  77. UNREFERENCED_PARAMETER (Process);
  78. UNREFERENCED_PARAMETER (LdtInformation);
  79. UNREFERENCED_PARAMETER (LdtInformationLength);
  80. return STATUS_NOT_IMPLEMENTED;
  81. }
  82. NTSTATUS
  83. PspQueryDescriptorThread (
  84. PETHREAD Thread,
  85. PVOID ThreadInformation,
  86. ULONG ThreadInformationLength,
  87. PULONG ReturnLength
  88. )
  89. /*++
  90. Routine Description:
  91. This function returns STATUS_NOT_IMPLEMENTED
  92. Arguments:
  93. Thread -- Supplies a pointer to the thread.
  94. ThreadInformation -- Supplies information on the descriptor.
  95. ThreadInformationLength -- Supplies the length of the information.
  96. ReturnLength -- Returns the number of bytes returned.
  97. Return Value:
  98. STATUS_NOT_IMPLEMENTED
  99. --*/
  100. {
  101. UNREFERENCED_PARAMETER (Thread);
  102. UNREFERENCED_PARAMETER (ThreadInformation);
  103. UNREFERENCED_PARAMETER (ThreadInformationLength);
  104. UNREFERENCED_PARAMETER (ReturnLength);
  105. return STATUS_NOT_IMPLEMENTED;
  106. }
  107. VOID
  108. PspDeleteLdt(
  109. IN PEPROCESS Process
  110. )
  111. /*++
  112. Routine Description:
  113. This is a stub for the Ldt delete routine
  114. Arguments:
  115. Process -- Supplies a pointer to the process
  116. Return Value:
  117. None
  118. --*/
  119. {
  120. UNREFERENCED_PARAMETER (Process);
  121. }
  122. NTSTATUS
  123. NtSetLdtEntries(
  124. IN ULONG Selector0,
  125. IN ULONG Entry0Low,
  126. IN ULONG Entry0Hi,
  127. IN ULONG Selector1,
  128. IN ULONG Entry1Low,
  129. IN ULONG Entry1High
  130. )
  131. {
  132. UNREFERENCED_PARAMETER (Selector0);
  133. UNREFERENCED_PARAMETER (Entry0Low);
  134. UNREFERENCED_PARAMETER (Entry0Hi);
  135. UNREFERENCED_PARAMETER (Selector1);
  136. UNREFERENCED_PARAMETER (Entry1Low);
  137. UNREFERENCED_PARAMETER (Entry1High);
  138. return STATUS_NOT_IMPLEMENTED;
  139. }