Uploaded image for project: 'ReactOS Test Suite'
  1. ReactOS Test Suite
  2. ROSTESTS-363

KmtAreInterruptsEnabled() can be compiled for i386/amd64 only

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Major
    • None
    • ReactOS Tests

    Description

      MSVC ARM:

      ...\modules\rostests\kmtests\include\kmt_test_kernel.h(60): error C4013: '__readeflags' undefined; assuming extern returning int
      

      Cause:
      __readeflags() intrinsic is x86(_64) specific.

      https://git.reactos.org/?p=reactos.git;a=blob;f=modules/rostests/kmtests/include/kmt_test_kernel.h;hb=HEAD#l57

        58 BOOLEAN KmtAreInterruptsEnabled(VOID)
        59 {
        60     return (__readeflags() & (1 << 9)) != 0;
        61 }
      

      Attachments

        Issue Links

          Activity

            People

              bug zilla Bug Zilla
              Serge Gautherie Serge Gautherie
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: