Reorganise HAL so multiple HAL versions can be built in parallel svn path=/trunk/; revision=11909
- Fix call to RtlInitializeBitMap (spotted and debugged by Arty). svn path=/trunk/; revision=11796
Hal DMA Patch: Implemented correct AdapterObject, updated some AdapterFunctions, which are much more complete and correct now. Implemented EISA structure for port access instead of hard-coded offsets. svn path=/trunk/; revision=11771
Use ASSERT macro instead of assert macro. svn path=/trunk/; revision=11388
- Implementation of HalReadDmaCounter. - Cleaned up implementation of HalGetAdapter. Moved the initialization stuff from there to HalpInitDma that is called by HalInitSystem. - Let HalAllocateCommonBuffer allocated 64K aligned memory. - Change IoMapTransfer to support auto initialize and single transfer mode, 16-bit DMA and common buffers. - Stop DMA transfer in IoFlushAdapterBuffers. svn path=/trunk/; revision=10254
Initial implementaions of MmAllocateContiguousMemorySpecifyCache() and MmFreeContiguousMemorySpecifyCache() svn path=/trunk/; revision=7360
This is part of the big 'ReactOS under MSVC6' project. Main work on converting ROS to be able to be compiled under MSVC6 was done by Mark Nordell. Work done by me - incorporating all this stuff into the newest CVS tree. So blame me if I did something wrong during tamlin -> new CVS tree merging :-) It's HAL turn now. svn path=/trunk/; revision=7301
improved IoMapTransfer (hopefylly) svn path=/trunk/; revision=6476
Fixes to get slave DMA working again, as well as more architectural changes that bring us closer to the Windows 2000 DMA model. adapter.c: significantly re-worked and heavily commented hal.h: more additions to ADAPTER_OBJECT; more pending dma.c: added initialization of ADAPTER_OBJECT ndis/io.c: minor DMA changes and addition of fixmes svn path=/trunk/; revision=6411
Changes to support the 3Com 3c90x ndis5 driver and other bugfixes: - Update registry with new 3com infor and set cards to disable by default - removed unnecessary crap from miniport.h - switch to using MINIPORT_BLOCK whenever possible for internal NDIS stuff - implemented NdisGetBufferPhysicalArraySize - fixed three similar bugs with overwriting memory in the config api - implemented NdisMQueryAssignedResources - fixed NdisMAllocateMapRegisters - implemented NdisMStartPhysicalBufferMapping - implemented NdisMCompletePhysicalBufferMapping - implemented NdisMMapIoSpace - implemented NdisMUnmapIoSpace - fixed HalAllocateAdapterChannel and IoAllocateAdapterChannel to act more like windows - fixed up a couple of enums - other misc. stuff svn path=/trunk/; revision=6382
created KEBUGCHECK, KEBUGCHECKEX, KEBUGCHECKWITHTS macros to report file/line of bugcheck. replace all direct calls of KeBugCheck, KeBugCheckEx and KeBugCheckWithTs with corresponding macros. I rebuilt from a make clean and it looks good. svn path=/trunk/; revision=5213
2002-10-01 Casper S. Hornstrup <chorns@users.sourceforge.net> * drivers/dd/floppy/floppy.c: Changed PAGESIZE to PAGE_SIZE. * drivers/fs/cdfs/fcb.c: Ditto. * drivers/fs/cdfs/fsctl.c: Ditto. * drivers/fs/cdfs/rw.c: Ditto. * drivers/fs/ext2/dir.c: Ditto. * drivers/fs/ext2/inode.c: Ditto. * drivers/fs/ext2/rw.c: Ditto. * drivers/fs/ext2/super.c: Ditto. * drivers/fs/minix/blockdev.c: Ditto. * drivers/fs/minix/cache.c: Ditto. * drivers/fs/minix/inode.c: Ditto. * drivers/fs/minix/rw.c: Ditto. * drivers/fs/ntfs/fcb.c: Ditto. * drivers/fs/ntfs/ntfs.h: Ditto. * drivers/fs/vfat/create.c: Ditto. * drivers/fs/vfat/direntry.c: Ditto. * drivers/fs/vfat/dirwr.c: Ditto. * drivers/fs/vfat/fat.c: Ditto. * drivers/fs/vfat/fcb.c: Ditto. * drivers/fs/vfat/fsctl.c: Ditto. * drivers/fs/vfat/rw.c: Ditto. * drivers/storage/class2/class2.c: Ditto. * drivers/storage/scsiport/scsiport.c: Ditto. * hal/halx86/adapter.c: Ditto. * hal/halx86/mp.c: Ditto. * include/ddk/mmfuncs.h: Ditto. * include/ddk/mmtypes.h: Ditto. * include/ddk/i386/pagesize.h: Ditto. * include/ntdll/pagesize.h: Ditto. * lib/kernel32/process/create.c: Ditto. * lib/kernel32/thread/thread.c: Ditto. * lib/ntdll/ldr/utils.c: Ditto. * lib/ntdll/rtl/env.c: Ditto. * lib/ntdll/rtl/heap.c: Ditto. * lib/ntdll/rtl/ppb.c: Ditto. * lib/ntdll/rtl/process.c: Ditto. * lib/ntdll/rtl/thread.c: Ditto. * ntoskrnl/cc/copy.c: Ditto. * ntoskrnl/cc/view.c: Ditto. * ntoskrnl/ex/sysinfo.c: Ditto. * ntoskrnl/include/internal/i386/mm.h: Ditto. * ntoskrnl/io/mdl.c: Ditto. * ntoskrnl/ke/kthread.c: Ditto. * ntoskrnl/ke/i386/kernel.c: Ditto. * ntoskrnl/ldr/init.c: Ditto. * ntoskrnl/ldr/loader.c: Ditto. * ntoskrnl/mm/anonmem.c: Ditto. * ntoskrnl/mm/cont.c: Ditto. * ntoskrnl/mm/freelist.c: Ditto. * ntoskrnl/mm/iospace.c: Ditto. * ntoskrnl/mm/kmap.c: Ditto. * ntoskrnl/mm/marea.c: Ditto. * ntoskrnl/mm/mdl.c: Ditto. * ntoskrnl/mm/mminit.c: Ditto. * ntoskrnl/mm/ncache.c: Ditto. * ntoskrnl/mm/npool.c: Ditto. * ntoskrnl/mm/pagefile.c: Ditto. * ntoskrnl/mm/pageop.c: Ditto. * ntoskrnl/mm/section.c: Ditto. * ntoskrnl/mm/slab.c: Ditto. * ntoskrnl/mm/i386/page.c: Ditto. * ntoskrnl/ob/handle.c: Ditto. * ntoskrnl/ps/create.c: Ditto. * ntoskrnl/ps/process.c: Ditto. * ntoskrnl/ps/w32call.c: Ditto. * subsys/win32k/include/object.h: Ditto. svn path=/trunk/; revision=3594
Reverted latest changes. svn path=/trunk/; revision=3473
Use free Windows DDK and compile with latest MinGW releases. svn path=/trunk/; revision=3466
Module wide .cvsignore for: *.sys, *.exe, *.dll, *.a, *.o, *.coff Seperated the HALs from ntoskrnl.exe Added template HAL svn path=/trunk/; revision=2186