Leaked source code of windows server 2003
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.

131 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. stubs.c
  5. Abstract:
  6. This implements the HAL routines which don't do anything on x86.
  7. Author:
  8. John Vert (jvert) 11-Jul-1991
  9. Revision History:
  10. --*/
  11. #include "nthal.h"
  12. #include "arc.h"
  13. #include "arccodes.h"
  14. VOID
  15. HalSaveState(
  16. VOID
  17. )
  18. /*++
  19. Routine Description:
  20. Saves the system state into the restart block. Currently does nothing.
  21. Arguments:
  22. None
  23. Return Value:
  24. Does not return
  25. --*/
  26. {
  27. DbgPrint("HalSaveState called - System stopped\n");
  28. KeBugCheck(0);
  29. }
  30. BOOLEAN
  31. HalDataBusError(
  32. VOID
  33. )
  34. /*++
  35. Routine Description:
  36. Called when a data bus error occurs. There is no way to fix this on
  37. x86.
  38. Arguments:
  39. None
  40. Return Value:
  41. FALSE
  42. --*/
  43. {
  44. return(FALSE);
  45. }
  46. BOOLEAN
  47. HalInstructionBusError(
  48. VOID
  49. )
  50. /*++
  51. Routine Description:
  52. Called when an instruction bus error occurs. There is no way to fix this
  53. on x86.
  54. Arguments:
  55. None
  56. Return Value:
  57. FALSE
  58. --*/
  59. {
  60. return(FALSE);
  61. }
  62. VOID
  63. KeFlushWriteBuffer(
  64. VOID
  65. )
  66. /*++
  67. Routine Description:
  68. Flushes all write buffers and/or other data storing or reordering
  69. hardware on the current processor. This ensures that all previous
  70. writes will occur before any new reads or writes are completed.
  71. Arguments:
  72. None
  73. Return Value:
  74. None.
  75. --*/
  76. {
  77. }