Timo Kreuzer [Sat, 6 Feb 2010 19:16:23 +0000 (19:16 +0000)]
[HAL]
Add the x86 emulator to x86BiosCall. It can call into int 10 and executes a few instructions.
svn path=/branches/ros-amd64-bringup/; revision=45466
Timo Kreuzer [Sat, 6 Feb 2010 19:14:12 +0000 (19:14 +0000)]
Add x86emu to build
svn path=/branches/ros-amd64-bringup/; revision=45465
Timo Kreuzer [Sat, 6 Feb 2010 19:13:54 +0000 (19:13 +0000)]
[X86EMU]
Beginning of a real mode x86 emulator for BIOS calls.
svn path=/branches/ros-amd64-bringup/; revision=45464
Timo Kreuzer [Sat, 6 Feb 2010 19:12:02 +0000 (19:12 +0000)]
[RTL]
Prevent RtlLargeInteger functions to be "occupied" by inline functions.
svn path=/branches/ros-amd64-bringup/; revision=45463
Sir Richard [Sat, 6 Feb 2010 14:58:23 +0000 (14:58 +0000)]
[NTOS]: Combine all exit trap stubs into a single function with flags (same thing we did for the entry stub). Now there are only 15 lines of ASM instead of 60.
svn path=/trunk/; revision=45462
Eric Kohl [Sat, 6 Feb 2010 14:10:18 +0000 (14:10 +0000)]
Convert offset to pointers when enumeration functions return ERROR_SUCCESS or ERROR_MORE_DATA because there is something to convert in both cases.
svn path=/trunk/; revision=45459
Timo Kreuzer [Sat, 6 Feb 2010 01:39:31 +0000 (01:39 +0000)]
Add missing _PTRSIZEOF
svn path=/branches/ros-amd64-bringup/; revision=45447
Timo Kreuzer [Sat, 6 Feb 2010 01:31:38 +0000 (01:31 +0000)]
[NTOS]
- Move DECLSPEC_ALIGN before the variable name
svn path=/branches/ros-amd64-bringup/; revision=45446
Timo Kreuzer [Sat, 6 Feb 2010 01:29:37 +0000 (01:29 +0000)]
[RTL]
__inline__ -> __inline
svn path=/branches/ros-amd64-bringup/; revision=45445
Timo Kreuzer [Sat, 6 Feb 2010 01:28:58 +0000 (01:28 +0000)]
[CRT]
- Remove underscore from _MsgUnimplemented
svn path=/branches/ros-amd64-bringup/; revision=45444
Timo Kreuzer [Sat, 6 Feb 2010 01:26:52 +0000 (01:26 +0000)]
[HAL]
- Simplify check for matching kernel/hal
- Remove underscore from _MsgUnimplemented
svn path=/branches/ros-amd64-bringup/; revision=45443
Timo Kreuzer [Sat, 6 Feb 2010 01:24:30 +0000 (01:24 +0000)]
Add _crt_va_start, _crt_va_arg, _crt_va_end and __va_copy definitions for (MSVC & AMD64)
svn path=/branches/ros-amd64-bringup/; revision=45442
Timo Kreuzer [Sat, 6 Feb 2010 01:22:07 +0000 (01:22 +0000)]
Move definitinf of BitScanforward and BitScanReverse out of gcc specific area
svn path=/branches/ros-amd64-bringup/; revision=45441
evb [Sat, 6 Feb 2010 00:49:30 +0000 (00:49 +0000)]
- Make boot.s just stub to force load address, since ARM LLB already does setup. Will get rid of later.
- Get rid of all .pagedata stuff from boot.s. Now define simpler static page tables. Will probably get rid of later.
- Fix memory map to include framebuffer, had forgotten about it. Moved framebuffer to the nearest hole found. It happens to be 0xA0000, nice coincidence (matches x86!).
- Switch to nicer 8x16 font instead of 8x13. Now FreeLDR UI looks 99% identical to real PC.
- Start writing new ARMv6 Paging Code. Enable extended page tables and access bit, redefine structures, only for OS Loader for now.
- Identity map low-memory 1MB and MMIO 2MB space at 0x10000000 for Versatile. Need to make this board-specific later.
- Need to investigate sharing code with WinLDR.
- MMU enabled and Printf/LCD output works!.
svn path=/trunk/; revision=45440
Timo Kreuzer [Sat, 6 Feb 2010 00:05:48 +0000 (00:05 +0000)]
Use .asciz instead of .ascii, because ML doesn't understand "\0"
svn path=/branches/ros-amd64-bringup/; revision=45439
Timo Kreuzer [Fri, 5 Feb 2010 03:05:51 +0000 (03:05 +0000)]
[NTOS]
On MSVC implement _lgdt, __sgdt, __lldt, __sldt, __ltr and __str as assembly functions, because there is no inline assembly.
The MSVC/ML64 built kernel now boots and WinDbg connects.
svn path=/branches/ros-amd64-bringup/; revision=45433
Timo Kreuzer [Fri, 5 Feb 2010 03:04:18 +0000 (03:04 +0000)]
- comment out an #error, looks like we don't need this
- comment out MINGW_ATTRIB_DEPRECATED definition
svn path=/branches/ros-amd64-bringup/; revision=45432
Timo Kreuzer [Fri, 5 Feb 2010 03:03:38 +0000 (03:03 +0000)]
[FREELDR]
- Add DPRINT_WINDOWS DPRINT_PELOADER (the only useful) to DEBUG_ALL and DEBUG_CUSTOM
- Enable a few useful DPRINTs
svn path=/branches/ros-amd64-bringup/; revision=45431
Timo Kreuzer [Fri, 5 Feb 2010 02:56:55 +0000 (02:56 +0000)]
- Add #pragma intrinsic for msvc intrinsics
svn path=/branches/ros-amd64-bringup/; revision=45430
Timo Kreuzer [Fri, 5 Feb 2010 02:53:23 +0000 (02:53 +0000)]
fix UNIMPLEMENTED macro yet another time
svn path=/branches/ros-amd64-bringup/; revision=45429
Timo Kreuzer [Fri, 5 Feb 2010 02:51:38 +0000 (02:51 +0000)]
[RTL]
Make slist.S ML64 compatible
svn path=/branches/ros-amd64-bringup/; revision=45428
Timo Kreuzer [Fri, 5 Feb 2010 01:39:05 +0000 (01:39 +0000)]
[NTOS]
- Make assembly ML64 safe
- remove 2 stubs, add 2 others
svn path=/branches/ros-amd64-bringup/; revision=45427
Timo Kreuzer [Fri, 5 Feb 2010 01:36:20 +0000 (01:36 +0000)]
[RTL]
MSVC compatibility fixes: inline -> __inline
svn path=/branches/ros-amd64-bringup/; revision=45426
evb [Thu, 4 Feb 2010 20:11:48 +0000 (20:11 +0000)]
- Reading MBR from RAMDISK does not work since RAMDISK starts at BootSector (rdoffset) and disk sector functions are NULL. Build bogus signature/checksum for now, unless MBR really needed later.
- Now FreeLDR crashes no more and arrives at FrLdrStartup to boot kernel and setup paging.
svn path=/trunk/; revision=45425
evb [Thu, 4 Feb 2010 19:52:13 +0000 (19:52 +0000)]
- Define memory map structure for Versatile board/QEMU and send to OS Loader.
- Many hack removed.
- Better efficency use of memory layout.
- Region at 0x800000 now available for FreeLDR use to load kernel files.
- Implement simple ArmDiskNormalizeSystemPath so boot is allowed to happen.
- Use better stack address as defined in memory map.
- Now FreeLDR loads all files correctly from disk and is ready to jump to kernel. ARMv5 paging code must be rewritten before that can happen.
svn path=/trunk/; revision=45424
evb [Thu, 4 Feb 2010 19:49:25 +0000 (19:49 +0000)]
- Change NANDFlash again for Versatile support. Now the LLB and OS Loader are created in one binary blob (loaded with -kernel), while the RAMDISK is loaded with -initrd.
- Now the only complication is that RAMDISK loaded at 0x80000 which will conflict with the 0x800000 range where kernel loads. Could move RAMDISK in code through LLB, but that would be very expensive (shift by 16MB up). Instead, NANDflash creates ramdisk image starting at offset 16MB. This way, emulator thinks it's loading at 0x80000, but actually loads at 0x1800000. Would be better if QEMU not hardcoded the INITRD_LOAD_ADDR...
svn path=/trunk/; revision=45423
Sir Richard [Thu, 4 Feb 2010 16:47:23 +0000 (16:47 +0000)]
[RBUILD]: Fix make install and make install_registry. mkhive command was wrong (MKHIVE_TARGET instead of mkhive_TARGET) and so the executable was never launched.
svn path=/trunk/; revision=45422
evb [Thu, 4 Feb 2010 15:59:22 +0000 (15:59 +0000)]
- Fix text output
- Allow for more than just one parameter on the bootROM command line (sepearate with commas).
- Rdoffset is not hardcoded anymore, but passed on cmdline. Allows using images with different partition offsets.
svn path=/trunk/; revision=45420
Aleksey Bragin [Thu, 4 Feb 2010 14:49:40 +0000 (14:49 +0000)]
- Update README.WINE.
svn path=/trunk/; revision=45419
Aleksey Bragin [Thu, 4 Feb 2010 14:40:36 +0000 (14:40 +0000)]
[base/system/expand]
- Update expand utility to Wine-1.1.37. Last update happened 7 years ago and since then it was translated into 20 languages. Sorry to all the translators but the preference is given to a working untranslated version rather than a non-working localized one.
See issue #4637 for more details.
svn path=/trunk/; revision=45418
evb [Thu, 4 Feb 2010 08:02:30 +0000 (08:02 +0000)]
- Refactor keyboard support to match serial. Now reading a key and waiting for a key are two things.
- Implement KbHit Firmware routine.
- It is now possible to interact with FreeLDR using the keyboard.
svn path=/trunk/; revision=45416
evb [Thu, 4 Feb 2010 07:55:26 +0000 (07:55 +0000)]
- Switch to bootvid 8x13 font (closer to PC/VGA experience).
- Fix LlbFwVideoGetDisplaySize return characters X/Y, not pixels. Now "Press F8 for advanced menu" shows".
svn path=/trunk/; revision=45415
evb [Thu, 4 Feb 2010 07:22:03 +0000 (07:22 +0000)]
- Add PL031 RTC code for Versatile.
- Add RTC time to TimeInfo convert.
- Implement FirmWare GetTime function. Countdown in FreeLDR now working.
svn path=/trunk/; revision=45414
evb [Thu, 4 Feb 2010 06:44:06 +0000 (06:44 +0000)]
- Add GetTime stub, bump version to 1.4.
- Implement function for drawing character on the screen when request come from firmware.
- Tui.c assumes all screens are x86 VGA Consoles with 8-bit character and 8-bit attribute. On ARM, call Mach function to draw character instead of drawing into ScreenMemory off-screen buffer.
- FreeLDR menu now appears, need GetTime for counter.
svn path=/trunk/; revision=45413
evb [Thu, 4 Feb 2010 06:09:03 +0000 (06:09 +0000)]
- Implement some simple video routines.
- Fix usable RAM not to include loader code and ram disk (up to 32MB).
svn path=/trunk/; revision=45412
evb [Thu, 4 Feb 2010 05:43:02 +0000 (05:43 +0000)]
- Add stubs for video mach functions and update minor to 1.3.
svn path=/trunk/; revision=45411
Timo Kreuzer [Thu, 4 Feb 2010 04:58:09 +0000 (04:58 +0000)]
[AMD64]
Switch from underscore prefixed symbols to unprefixed symbols. (MSVC compatibility)
svn path=/branches/ros-amd64-bringup/; revision=45410
Timo Kreuzer [Thu, 4 Feb 2010 04:45:58 +0000 (04:45 +0000)]
[CRT]
Add back sin and cos to libcntpr, as they are needed by win32k atm ...
svn path=/branches/ros-amd64-bringup/; revision=45409
Timo Kreuzer [Thu, 4 Feb 2010 04:31:02 +0000 (04:31 +0000)]
[NDK]
- fix KGDT64 names
- make asm.h masm/ml compatible by using a HEX macro, that converts constants into either 0xAA or 0AAh format
svn path=/branches/ros-amd64-bringup/; revision=45408
Timo Kreuzer [Thu, 4 Feb 2010 04:22:58 +0000 (04:22 +0000)]
[HAL]
Fix KGDT64 macro name
svn path=/branches/ros-amd64-bringup/; revision=45407
Timo Kreuzer [Thu, 4 Feb 2010 04:21:38 +0000 (04:21 +0000)]
[FREELDR]
Remove Ke386SetXx, we don't need them and we don't have anymore.
svn path=/branches/ros-amd64-bringup/; revision=45406
evb [Thu, 4 Feb 2010 01:24:45 +0000 (01:24 +0000)]
- Add support for ram disk offset (.IMG file is a RAW image, partition starts later...)
- Fix ram disk support in FreeLDR, ARC changes had broken support for booting FreeLDR (not just the Windows) from a ram disk. ARM port now initializes ramdisk as an FS device.
- Fix hardcoded DISKREADBUFFER and FILESYSBUFFER values. On ARM these will be dynamically selected for each board (need to improve this through LLB).
- Now FreeLDR.ini is read, and crash happens because UI routines are all NULL.
svn path=/trunk/; revision=45405
Cameron Gutman [Thu, 4 Feb 2010 00:02:45 +0000 (00:02 +0000)]
- Merge r45400 from aicom-network-branch to fix the crash that occurs when Steam starts
svn path=/trunk/; revision=45404
evb [Wed, 3 Feb 2010 23:17:16 +0000 (23:17 +0000)]
- Enable RAMDISK support in LLB.
- Build commandline for OS Loader (FreeLDR).
- Now ready to start loading freeldr.ini
svn path=/trunk/; revision=45403
evb [Wed, 3 Feb 2010 23:16:26 +0000 (23:16 +0000)]
- Fix bugs.
- Enable non-OOB mode for Versatile.
svn path=/trunk/; revision=45402
Eric Kohl [Wed, 3 Feb 2010 20:46:21 +0000 (20:46 +0000)]
- Implement GetEventLogInformation.
- OpenBackupEventLogA, OpenEventLogA, RegisterEventSourceA and ReportEventA: Call the ANSI RPC-Server Function directly instead of converting arguments to Unicode and calling the matching Unicode Function.
- OpenEventLogW: Fix argument checks.
svn path=/trunk/; revision=45401
Timo Kreuzer [Wed, 3 Feb 2010 18:53:41 +0000 (18:53 +0000)]
[NTOS]
- Get rid of all Ke386* inline functions for amd64
- add some stubs for msvc
svn path=/branches/ros-amd64-bringup/; revision=45399
Timo Kreuzer [Wed, 3 Feb 2010 18:49:44 +0000 (18:49 +0000)]
Add some EXTERNs and use OR instead of | for MASM/ML compatibility
svn path=/branches/ros-amd64-bringup/; revision=45398
Timo Kreuzer [Wed, 3 Feb 2010 18:47:30 +0000 (18:47 +0000)]
Fix setjmp based on the new syntax
svn path=/branches/ros-amd64-bringup/; revision=45397
Sir Richard [Wed, 3 Feb 2010 17:47:41 +0000 (17:47 +0000)]
[VMX_SVGA]: Begin implementation of VMWARE SVGA-II Video Card Driver.
svn path=/trunk/; revision=45396
Timo Kreuzer [Wed, 3 Feb 2010 16:57:14 +0000 (16:57 +0000)]
Improve the UNIMPLEMENTED macro. Dedicated to aicom.
svn path=/branches/ros-amd64-bringup/; revision=45394
Timo Kreuzer [Wed, 3 Feb 2010 16:50:34 +0000 (16:50 +0000)]
inline -> __inline
svn path=/branches/ros-amd64-bringup/; revision=45393
Johannes Anderwald [Wed, 3 Feb 2010 12:48:27 +0000 (12:48 +0000)]
[WDMAUD.DRV]
- Cleanup code
- Fix a bug which made the caller assume that a wave handle has already been open.
- define a macro which appends a postfix depending on wether USE_MMIXER_LIB has been defined
svn path=/trunk/; revision=45390
Ged Murphy [Wed, 3 Feb 2010 11:36:49 +0000 (11:36 +0000)]
Fix typo in vcproj generator code
svn path=/trunk/; revision=45389
Daniel Reimer [Wed, 3 Feb 2010 07:34:59 +0000 (07:34 +0000)]
Bug 4342: Update log2lines to Version 1.12b. (Jan Roeloffzen)
svn path=/trunk/; revision=45387
evb [Wed, 3 Feb 2010 03:14:59 +0000 (03:14 +0000)]
- Flesh out more code.
- Support ATAG Linux/ARMBoot architecture defined-structures. These are used by all ARMBoot-compatible loaders (QEmu, U-boot, etc).
- Read RAMDisk, RAM, Command Line from ATAGs (use -append boot-device=RAMDISK).
- Make environment-get function read command-line.
- Allocate RAM memory structure portably.
- Validate board info on boot.
svn path=/trunk/; revision=45386
evb [Wed, 3 Feb 2010 01:19:26 +0000 (01:19 +0000)]
- Implement logical keyboard interface. Converts scan code to ASCII codes (just ok).
- Implement firmware ConsGetCh based on keyboard interface.
- Implement KMI (Keyboard & Mouse Interface) PL050 driver for Versatile to init PS/2 and read keyboard scancodes. Can now press ENTER/whatever when FreeLDR gives "Cannot find freeldr.ini" error.
- More fixes
svn path=/trunk/; revision=45385
Timo Kreuzer [Wed, 3 Feb 2010 00:18:24 +0000 (00:18 +0000)]
[NTOS]
- Fix KGDT64 names,
- Add missing .ALLOCSTACK
svn path=/branches/ros-amd64-bringup/; revision=45384
Timo Kreuzer [Wed, 3 Feb 2010 00:04:27 +0000 (00:04 +0000)]
[FREELDR]
Fix KGDT64 names, initialize KGDT64_NULL and KGDT64_R3_CMCODE
svn path=/branches/ros-amd64-bringup/; revision=45383
Timo Kreuzer [Tue, 2 Feb 2010 23:48:03 +0000 (23:48 +0000)]
Fix the UNIMPLEMENTED macro
svn path=/branches/ros-amd64-bringup/; revision=45382
Sir Richard [Tue, 2 Feb 2010 22:56:13 +0000 (22:56 +0000)]
[NTOS]: Yet another fix for KiEnterInterruptTrap: Set correct DS/ES before touching the TrapFrame.
[NTOS]: Make this operation an inline so any possible future code will not make this mistake twice.
Thanks to Physicus for the bug report.
svn path=/trunk/; revision=45381
Christoph von Wittich [Tue, 2 Feb 2010 17:28:10 +0000 (17:28 +0000)]
[FREELDR]
fix a typo
svn path=/trunk/; revision=45380
evb [Tue, 2 Feb 2010 17:21:19 +0000 (17:21 +0000)]
- Change ARM loading architecture to match EFI/Firmware model. LLB provides "firmware" routines, FreeLDR obtains "firmware" routines from the ARM block, and sets them as the Machine VTable. All board-specific FreeLDR code gone now.
- Start work on UI. Serial output is now only for debugging, not usual console.
- Need PL045 Keyboard code to handle KbHit/GetCh.
- Have PL011 code ready for MachVideo routines, coming soon...
- Start stub of environment functions.
svn path=/trunk/; revision=45379
Timo Kreuzer [Tue, 2 Feb 2010 00:23:59 +0000 (00:23 +0000)]
Update Doxyfile to version 1.6.2 with the following changes:
- INHERIT_DOCS enabled
- SEPARATE_MEMBER_PAGES enabled: will prevent incredible huge html files generated from large headers.
- Add *.cc and *.hxx extensions
- REFERENCED_BY_RELATION enabled
- VERBATIM_HEADERS disabled
- ENABLE_PREPROCESSING enabled, so we can see macros, too
svn path=/trunk/; revision=45378
evb [Tue, 2 Feb 2010 00:14:14 +0000 (00:14 +0000)]
- More fixes
- Plugin support for booting FreeLDR when used as initrd on QEMU command-line.
svn path=/trunk/; revision=45377
evb [Mon, 1 Feb 2010 21:07:03 +0000 (21:07 +0000)]
- Forgot to change SARCH back to Versatile.
svn path=/trunk/; revision=45376
Danny Götte [Mon, 1 Feb 2010 20:16:42 +0000 (20:16 +0000)]
acivate server based search for doxygen
svn path=/trunk/; revision=45375
Eric Kohl [Mon, 1 Feb 2010 19:45:50 +0000 (19:45 +0000)]
Reset a services thread and process ids when the service has been stopped. Fixes one more test.
svn path=/trunk/; revision=45374
evb [Mon, 1 Feb 2010 19:28:40 +0000 (19:28 +0000)]
- Fix bugs.
- Enable serial output.
svn path=/trunk/; revision=45373
evb [Mon, 1 Feb 2010 18:33:24 +0000 (18:33 +0000)]
- ARM LLB for OMAP3/Beagle (test with QEMU-Maemo) and Versatile (test with QEMU).
- Boots to blue screen with white text to indicate checkpoint.
- More cleanup/work needed.
- Will post Wiki on testing info soon.
svn path=/trunk/; revision=45372
evb [Mon, 1 Feb 2010 18:29:19 +0000 (18:29 +0000)]
- NANDFlash tool for building OMAP3 FLASH Images for DevBoard and QEMU-Maemo.
svn path=/trunk/; revision=45371
James Tabor [Mon, 1 Feb 2010 15:13:35 +0000 (15:13 +0000)]
[Gdi32]
- Miscellaneous implementations and forwards.
svn path=/trunk/; revision=45370
Sir Richard [Mon, 1 Feb 2010 03:51:45 +0000 (03:51 +0000)]
[ARM]: Fix the ARM build, hopefully without breaking the x86 build in the process. Sorry buds!
svn path=/trunk/; revision=45368
Sir Richard [Mon, 1 Feb 2010 03:47:42 +0000 (03:47 +0000)]
[NTOS]: Try to fix KiEnterInterrupt once and for all. Only set segments for V8086 or user traps.
[NTOS]: Rework the way traps with possibly dirty DS/ES segments are handled. The FAST V86 hack is gone. Intead, created a "safe" version of IsTrapV86 and IsTrapUser that does an SS segment dereference (known good). The condition is then based on this, and the segments are saved and loaded safely. Note that for GCC 4.5 the ASM can be improved to directly branch or not to a label, instead of returning a boolean that is then further compared before branching.
This will fix certain exceptions that were seen in KeUpdateSystemTime, and might fix the sneaking HalpTrap0D while not in V86 mode (no promises).
svn path=/trunk/; revision=45367
Eric Kohl [Sun, 31 Jan 2010 22:22:50 +0000 (22:22 +0000)]
GetServiceDisplayNameA/W and GetServiceKeyNameA/W must return an empty String if the given Buffer is too small. This fixes 6 tests.
svn path=/trunk/; revision=45366
Eric Kohl [Sun, 31 Jan 2010 21:00:45 +0000 (21:00 +0000)]
[FORMATTING]
- Fix indentation. No code changes.
svn path=/trunk/; revision=45364
Aleksey Bragin [Sun, 31 Jan 2010 20:35:06 +0000 (20:35 +0000)]
[FORMATTING]
- Reformat dma.c, no code change.
svn path=/trunk/; revision=45363
Eric Kohl [Sun, 31 Jan 2010 20:28:04 +0000 (20:28 +0000)]
- Implement RCreateServiceA.
- Make CreateServiceA call RCreateServiceA instead of CreateServiceW.
svn path=/trunk/; revision=45362
Eric Kohl [Sun, 31 Jan 2010 19:44:02 +0000 (19:44 +0000)]
Implement basic version of PNP_CreateKey.
svn path=/trunk/; revision=45361
Johannes Anderwald [Sun, 31 Jan 2010 19:09:30 +0000 (19:09 +0000)]
[MMEBUDDY]
- Hackfix corruption of audio buffer list which made the playback thread spin forever on an already played buffer.
- Tested with Winamp / VLC / mplay32 with Vbox 3.1.2
svn path=/trunk/; revision=45360
James Tabor [Sun, 31 Jan 2010 18:38:45 +0000 (18:38 +0000)]
[Win32k|User32]
- Updated DrawIconEx information for Meta support.
svn path=/trunk/; revision=45359
Johannes Anderwald [Sun, 31 Jan 2010 15:32:31 +0000 (15:32 +0000)]
[PORTCLS]
- Use silence buffer when no audio buffers are available. Replaces the endless disturbing sound loop.
- Sound still broken
svn path=/trunk/; revision=45358
Sir Richard [Sun, 31 Jan 2010 15:22:55 +0000 (15:22 +0000)]
[NTOS]: Always set correct segments; the if/else branch should decide which segments to save, not whether or not to set the sane ones. Fixes boot on VirtualBox and real hardware.
svn path=/trunk/; revision=45357
Cameron Gutman [Sun, 31 Jan 2010 02:07:23 +0000 (02:07 +0000)]
- Merge some small changes from aicom-network-branch to fix potential memory corruption and remove unused code in oskittcp
- Add a hack to WSHSetSocketInformation so we don't fail with options that aren't implemented yet
- Fixes bug #5131
svn path=/trunk/; revision=45356
Sir Richard [Sat, 30 Jan 2010 19:10:22 +0000 (19:10 +0000)]
[NTOS]: Simplify KiTrapStub and write registers in order.
[PERF]: Change instructions used to save registers on the trap frame to fix some WaW and RaW hazards.
svn path=/trunk/; revision=45354
Sir Richard [Sat, 30 Jan 2010 18:25:30 +0000 (18:25 +0000)]
[PERF]: Omit setting certain useless trap frame fields.
[NTOS]: Fix KiEnterInterruptFrame. In the case of a V86 trap, the segments were overriden because this wasn't a kernel trap (missing if/elseif).
svn path=/trunk/; revision=45353
Sylvain Petreolle [Sat, 30 Jan 2010 17:07:33 +0000 (17:07 +0000)]
Move Reactos logon sound to WindowsLogon sound scheme.
Fixes bug 5002.
svn path=/trunk/; revision=45350
Sir Richard [Sat, 30 Jan 2010 16:40:57 +0000 (16:40 +0000)]
[HAL]: Add debugging feature to HalpTrap06 error that sometimes happen. Please post/email/IM your trap frame should you see this error.
svn path=/trunk/; revision=45348
Timo Kreuzer [Sat, 30 Jan 2010 13:35:46 +0000 (13:35 +0000)]
[NTOS]
- Implement KiSystemFatalException, stubplement KiGeneralProtectionFaultHandler and KiXmmExceptionHandler, KiNpxNotAvailableFaultHandler in C
- Implement KiDivideErrorFault, KiOverflowTrap, KiBoundFault, KiInvalidOpcodeFault, KiNpxNotAvailableFault, KiNpxSegmentOverrunAbort, KiInvalidTssFault, KiSegmentNotPresentFault, KiStackFault, KiAlignmentFault, KiMcheckAbort, KiXmmException, KiRaiseAssertion in assembler
- Modify rsp instead of pushing a pseudo error code
- Move all unwind ops into ENTER_TRAP_FRAME macro
svn path=/branches/ros-amd64-bringup/; revision=45344
Timo Kreuzer [Sat, 30 Jan 2010 13:21:28 +0000 (13:21 +0000)]
Add exception codes for asm
svn path=/branches/ros-amd64-bringup/; revision=45343
James Tabor [Sat, 30 Jan 2010 06:41:39 +0000 (06:41 +0000)]
[User32]
- More movement to WND support.
svn path=/trunk/; revision=45341
Timo Kreuzer [Sat, 30 Jan 2010 04:27:17 +0000 (04:27 +0000)]
add else
svn path=/branches/ros-amd64-bringup/; revision=45340
James Tabor [Sat, 30 Jan 2010 04:23:58 +0000 (04:23 +0000)]
[Win32k|User32]
- Updated paint functions to use one calls.
- Found one leak in engwindow.c and monitor.c, not the big one.
svn path=/trunk/; revision=45339
Timo Kreuzer [Sat, 30 Jan 2010 03:18:20 +0000 (03:18 +0000)]
and the same for trap.S
svn path=/branches/ros-amd64-bringup/; revision=45338
Timo Kreuzer [Sat, 30 Jan 2010 03:17:11 +0000 (03:17 +0000)]
remove the RIP() hack, instead use a constant rip=0 for MASM/ML
svn path=/branches/ros-amd64-bringup/; revision=45337
Timo Kreuzer [Sat, 30 Jan 2010 03:12:26 +0000 (03:12 +0000)]
trap.S is now fully MASM/ML compatible
svn path=/branches/ros-amd64-bringup/; revision=45336
Timo Kreuzer [Sat, 30 Jan 2010 03:11:39 +0000 (03:11 +0000)]
use .altmacro for gas and hack the UNIMPLEMENTED macro
svn path=/branches/ros-amd64-bringup/; revision=45335
Timo Kreuzer [Sat, 30 Jan 2010 01:46:16 +0000 (01:46 +0000)]
fix macros...
svn path=/branches/ros-amd64-bringup/; revision=45334
Timo Kreuzer [Sat, 30 Jan 2010 01:17:06 +0000 (01:17 +0000)]
fixup trap.S. Almost there...
svn path=/branches/ros-amd64-bringup/; revision=45333
Timo Kreuzer [Sat, 30 Jan 2010 01:16:42 +0000 (01:16 +0000)]
More macros and fixes
svn path=/branches/ros-amd64-bringup/; revision=45332