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.

171 lines
2.7 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. return STATUS_NOT_IMPLEMENTED;
  31. }
  32. NTSTATUS
  33. PspSetLdtSize(
  34. IN PEPROCESS Process,
  35. IN PVOID LdtSize,
  36. IN ULONG LdtSizeLength
  37. )
  38. /*++
  39. Routine Description:
  40. This function returns STATUS_NOT_IMPLEMENTED
  41. Arguments:
  42. Process -- Supplies a pointer to the process whose Ldt is to be sized
  43. LdtSize -- Supplies a pointer to the size information
  44. Return Value:
  45. STATUS_NOT_IMPLEMENTED
  46. --*/
  47. {
  48. return STATUS_NOT_IMPLEMENTED;
  49. }
  50. NTSTATUS
  51. PspSetLdtInformation(
  52. IN PEPROCESS Process,
  53. IN PVOID LdtInformation,
  54. IN ULONG LdtInformationLength
  55. )
  56. /*++
  57. Routine Description:
  58. This function returns STATUS_NOT_IMPLEMENTED
  59. Arguments:
  60. Process -- Supplies a pointer to the process whose Ldt is to be modified
  61. LdtInformation -- Supplies a pointer to the information about the Ldt
  62. modifications
  63. LdtInformationLength -- Supplies the length of the LdtInformation
  64. structure.
  65. Return Value:
  66. Return Value:
  67. STATUS_NOT_IMPLEMENTED
  68. --*/
  69. {
  70. return STATUS_NOT_IMPLEMENTED;
  71. }
  72. NTSTATUS
  73. PspQueryDescriptorThread (
  74. PETHREAD Thread,
  75. PVOID ThreadInformation,
  76. ULONG ThreadInformationLength,
  77. PULONG ReturnLength
  78. )
  79. /*++
  80. Routine Description:
  81. This function returns STATUS_NOT_IMPLEMENTED
  82. Arguments:
  83. Thread -- Supplies a pointer to the thread.
  84. ThreadInformation -- Supplies information on the descriptor.
  85. ThreadInformationLength -- Supplies the length of the information.
  86. ReturnLength -- Returns the number of bytes returned.
  87. Return Value:
  88. STATUS_NOT_IMPLEMENTED
  89. --*/
  90. {
  91. return STATUS_NOT_IMPLEMENTED;
  92. }
  93. VOID
  94. PspDeleteLdt(
  95. IN PEPROCESS Process
  96. )
  97. /*++
  98. Routine Description:
  99. This is a stub for the Ldt delete routine
  100. Arguments:
  101. Process -- Supplies a pointer to the process
  102. Return Value:
  103. None
  104. --*/
  105. {
  106. }
  107. NTSTATUS
  108. NtSetLdtEntries(
  109. IN ULONG Selector0,
  110. IN ULONG Entry0Low,
  111. IN ULONG Entry0Hi,
  112. IN ULONG Selector1,
  113. IN ULONG Entry1Low,
  114. IN ULONG Entry1High
  115. )
  116. {
  117. return STATUS_NOT_IMPLEMENTED;
  118. }