- Fix build on ARM:
authorReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Wed, 11 Jun 2008 16:48:07 +0000 (16:48 +0000)
committerReactOS Portable Systems Group <ros-arm-bringup@svn.reactos.org>
Wed, 11 Jun 2008 16:48:07 +0000 (16:48 +0000)
commite6d9765059166da0d84ec3d54fac376167ea97b9
treed645848a835f3f273e25a5dcf2c907bb3e180023
parent1f2f57762a2a79789b3d967f6191be5faf605f9e
- Fix build on ARM:
  - _iob is already defined as a dll_import
  - _rotl intrinsic is now implemented (should use rol instruction, but not sure on the syntax!)
  - Add a stub psctx.h for ARM
  - Added InterlockedEXchangePointers
  - Fix uninitialized variable warning in ex/resource.c
- Start to implement interrupt handling:
  - We now have a rudimentary interrupt handler that takes care of software interrupts
  - We now have a rudimentary DPC handler which takes care of switching to the next thread, if any
  - We now setup the HAL Interrupt Source -> IRQL Table (The IRQLMask Table).
  - Implemented HalGetInterruptSource, which allows us to get the interrupt # that cause the IRQ.
    Note: this wasn't needed on Alpha/PPC/MIPS NT ports, because that information is stored on the CPU,
    and the kernel could read it -- we must abstract it through the HAL.
  - Add the OldIrql to the TRAP_FRAME, we don't use it yet.
- We are now ready to context switch to the Phase 1 thread.

svn path=/trunk/; revision=33933
13 files changed:
reactos/hal/hal/hal_arm.def
reactos/hal/halarm/generic/hal.c
reactos/include/ndk/arm/ketypes.h
reactos/include/psdk/intrin_arm.h
reactos/include/reactos/armddk.h
reactos/lib/sdk/crt/string/scanf.c
reactos/ntoskrnl/ex/resource.c
reactos/ntoskrnl/ke/arm/kiinit.c
reactos/ntoskrnl/ke/arm/stubs_asm.s
reactos/ntoskrnl/ke/arm/trap.s
reactos/ntoskrnl/ke/arm/trapc.c
reactos/ntoskrnl/ntoskrnl-generic.rbuild
reactos/ntoskrnl/ps/arm/psctx.c [new file with mode: 0644]