Commit graph

42336 commits

Author SHA1 Message Date
Timo Kreuzer
7e65e8ce41 [RTL]
Make slist.S ML64 compatible

svn path=/branches/ros-amd64-bringup/; revision=45428
2010-02-05 02:51:38 +00:00
Timo Kreuzer
bf7d707939 [NTOS]
- Make assembly ML64 safe
- remove 2 stubs, add 2 others

svn path=/branches/ros-amd64-bringup/; revision=45427
2010-02-05 01:39:05 +00:00
Timo Kreuzer
139c298d14 [RTL]
MSVC compatibility fixes: inline -> __inline

svn path=/branches/ros-amd64-bringup/; revision=45426
2010-02-05 01:36:20 +00:00
evb
f00336e8df - 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
2010-02-04 20:11:48 +00:00
evb
466a1c65ee - 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
2010-02-04 19:52:13 +00:00
evb
724f076f8a - 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
2010-02-04 19:49:25 +00:00
Sir Richard
59842d0e20 [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
2010-02-04 16:47:23 +00:00
evb
d8dbcc153f - 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
2010-02-04 15:59:22 +00:00
Aleksey Bragin
fa8448cfec - Update README.WINE.
svn path=/trunk/; revision=45419
2010-02-04 14:49:40 +00:00
Aleksey Bragin
c2c6cc65aa [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
2010-02-04 14:40:36 +00:00
evb
ff14d245dd - 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
2010-02-04 08:02:30 +00:00
evb
57a1c9dbbf - 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
2010-02-04 07:55:26 +00:00
evb
d598e90edb - 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
2010-02-04 07:22:03 +00:00
evb
1dc4d1bc2e - 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
2010-02-04 06:44:06 +00:00
evb
ee2e3391be - Implement some simple video routines.
- Fix usable RAM not to include loader code and ram disk (up to 32MB).


svn path=/trunk/; revision=45412
2010-02-04 06:09:03 +00:00
evb
509e67f84f - Add stubs for video mach functions and update minor to 1.3.
svn path=/trunk/; revision=45411
2010-02-04 05:43:02 +00:00
Timo Kreuzer
28c8b7fbec [AMD64]
Switch from underscore prefixed symbols to unprefixed symbols. (MSVC compatibility)

svn path=/branches/ros-amd64-bringup/; revision=45410
2010-02-04 04:58:09 +00:00
Timo Kreuzer
cb076d0fef [CRT]
Add back sin and cos to libcntpr, as they are needed by win32k atm ...

svn path=/branches/ros-amd64-bringup/; revision=45409
2010-02-04 04:45:58 +00:00
Timo Kreuzer
ad67929566 [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
2010-02-04 04:31:02 +00:00
Timo Kreuzer
e817db75e4 [HAL]
Fix KGDT64 macro name

svn path=/branches/ros-amd64-bringup/; revision=45407
2010-02-04 04:22:58 +00:00
Timo Kreuzer
9a5b1e6a62 [FREELDR]
Remove Ke386SetXx, we don't need them and we don't have anymore.


svn path=/branches/ros-amd64-bringup/; revision=45406
2010-02-04 04:21:38 +00:00
evb
c478b48128 - 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
2010-02-04 01:24:45 +00:00
Cameron Gutman
4f21767b6a - Merge r45400 from aicom-network-branch to fix the crash that occurs when Steam starts
svn path=/trunk/; revision=45404
2010-02-04 00:02:45 +00:00
evb
09504f4242 - Enable RAMDISK support in LLB.
- Build commandline for OS Loader (FreeLDR).
- Now ready to start loading freeldr.ini


svn path=/trunk/; revision=45403
2010-02-03 23:17:16 +00:00
evb
8649bab99c - Fix bugs.
- Enable non-OOB mode for Versatile.


svn path=/trunk/; revision=45402
2010-02-03 23:16:26 +00:00
Eric Kohl
5e9564ed2d - 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
2010-02-03 20:46:21 +00:00
Timo Kreuzer
025e922f69 [NTOS]
- Get rid of all Ke386* inline functions for amd64
- add some stubs for msvc

svn path=/branches/ros-amd64-bringup/; revision=45399
2010-02-03 18:53:41 +00:00
Timo Kreuzer
7f625e9e03 Add some EXTERNs and use OR instead of | for MASM/ML compatibility
svn path=/branches/ros-amd64-bringup/; revision=45398
2010-02-03 18:49:44 +00:00
Timo Kreuzer
f495eb586a Fix setjmp based on the new syntax
svn path=/branches/ros-amd64-bringup/; revision=45397
2010-02-03 18:47:30 +00:00
Sir Richard
b4da1d81d9 [VMX_SVGA]: Begin implementation of VMWARE SVGA-II Video Card Driver.
svn path=/trunk/; revision=45396
2010-02-03 17:47:41 +00:00
Timo Kreuzer
0efb2e9187 Improve the UNIMPLEMENTED macro. Dedicated to aicom.
svn path=/branches/ros-amd64-bringup/; revision=45394
2010-02-03 16:57:14 +00:00
Timo Kreuzer
da4f165f23 inline -> __inline
svn path=/branches/ros-amd64-bringup/; revision=45393
2010-02-03 16:50:34 +00:00
Johannes Anderwald
2f8f2409dd [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
2010-02-03 12:48:27 +00:00
Ged Murphy
ce1b8768d1 Fix typo in vcproj generator code
svn path=/trunk/; revision=45389
2010-02-03 11:36:49 +00:00
Daniel Reimer
6ae884e3c9 Bug 4342: Update log2lines to Version 1.12b. (Jan Roeloffzen)
svn path=/trunk/; revision=45387
2010-02-03 07:34:59 +00:00
evb
59e8be0b65 - 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
2010-02-03 03:14:59 +00:00
evb
e7ff33a8bc - 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
2010-02-03 01:19:26 +00:00
Timo Kreuzer
832d8290c8 [NTOS]
- Fix KGDT64 names, 
- Add missing .ALLOCSTACK

svn path=/branches/ros-amd64-bringup/; revision=45384
2010-02-03 00:18:24 +00:00
Timo Kreuzer
c8f9aa3f4b [FREELDR]
Fix KGDT64 names, initialize KGDT64_NULL and KGDT64_R3_CMCODE

svn path=/branches/ros-amd64-bringup/; revision=45383
2010-02-03 00:04:27 +00:00
Timo Kreuzer
a5e16bf6a6 Fix the UNIMPLEMENTED macro
svn path=/branches/ros-amd64-bringup/; revision=45382
2010-02-02 23:48:03 +00:00
Sir Richard
66bdab40af [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
2010-02-02 22:56:13 +00:00
Christoph von Wittich
d25de563d3 [FREELDR]
fix a typo

svn path=/trunk/; revision=45380
2010-02-02 17:28:10 +00:00
evb
2ce8b56e7c - 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
2010-02-02 17:21:19 +00:00
Timo Kreuzer
28bb8f1a56 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
2010-02-02 00:23:59 +00:00
evb
10d18dcf41 - More fixes
- Plugin support for booting FreeLDR when used as initrd on QEMU command-line.


svn path=/trunk/; revision=45377
2010-02-02 00:14:14 +00:00
evb
0e650cc897 - Forgot to change SARCH back to Versatile.
svn path=/trunk/; revision=45376
2010-02-01 21:07:03 +00:00
Danny Götte
47c3e2e09b acivate server based search for doxygen
svn path=/trunk/; revision=45375
2010-02-01 20:16:42 +00:00
Eric Kohl
5499d3c924 Reset a services thread and process ids when the service has been stopped. Fixes one more test.
svn path=/trunk/; revision=45374
2010-02-01 19:45:50 +00:00
evb
5024029061 - Fix bugs.
- Enable serial output.


svn path=/trunk/; revision=45373
2010-02-01 19:28:40 +00:00
evb
fc22be1381 - 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
2010-02-01 18:33:24 +00:00