Commit Graph

43404 Commits

Author SHA1 Message Date
Alexander von Gluck IV
7ccc9b45e8 arm loader: Style cleanup of loader arm arch code
* These video sources would be good cannidates to be
  refactored as classes. (like the arm serial code)
* No functional change. There are some order style issues
  in some of the code (the top externs), but I decided to
  not fix them as I can't build these atm to test.
2012-09-15 09:24:13 -05:00
Alexander von Gluck IV
d501b694bf rPi: Set 1 cpu in the loader 2012-09-15 09:24:12 -05:00
Marcus Overhagen
8e813c26cd ignore partition info logical_block_size 2012-09-15 12:39:01 +02:00
Marcus Overhagen
ed5e4ee428 also print partition info 2012-09-15 12:38:38 +02:00
Ryan Leavengood
721d056e11 Don't call unload_driver_settings twice. Thanks Hamish. 2012-09-15 00:19:42 -04:00
Marcus Overhagen
4a2ac3c2ac Fix size parameter for ioctl. 2012-09-15 01:22:34 +02:00
Marcus Overhagen
3c5216179e implement support for harddisks bigger than 2TB
* can't test this, it's untested, but similar to ATADevice.cpp
 * should no longer panic when hdd > 2TB is connected
 * fix request completition in two error cases
 * add const to some parameters
2012-09-14 22:21:47 +02:00
Marcus Overhagen
1f6d0a79c9 use template max() instead of max_c() macro 2012-09-14 20:24:36 +02:00
Marcus Overhagen
87b33446e1 gcc2 compile fix (gcc4 didn't complain) 2012-09-14 19:29:34 +02:00
Marcus Overhagen
2f0f9d8780 cleanup variable naming for port count 2012-09-14 18:58:58 +02:00
Marcus Overhagen
a63b046e90 add missing line breaks in debug output 2012-09-14 18:58:58 +02:00
Marcus Overhagen
0d73f6ec8a properly check intel port count and don't panic on more than 8. 2012-09-14 18:58:58 +02:00
Marcus Overhagen
6c9f2e94e7 set GHC.AE before performing reset (should be done by BIOS already) 2012-09-14 18:58:58 +02:00
Marcus Overhagen
863a181c0b make sure there are no pending interrupts during setup 2012-09-14 18:58:57 +02:00
Scott McCreary
c2ff7a30e3 Add OptionalPackage Droid, font from Google's Android project 2012-09-13 20:25:40 -07:00
Scott McCreary
4f444fab2e Add OptionalPackage Nanumfont, a Korean monospace font 2012-09-13 20:10:00 -07:00
Alexander von Gluck IV
f78dd1249a VM Preflet: Use AutoDeleter on the settings
* Prevents a minor memory leak
* Thanks for catching this Axel!
2012-09-13 11:11:36 -05:00
Marcus Overhagen
517a59c9a1 Make a void * pointer const. 2012-09-13 09:58:43 +02:00
Scott McCreary
8e77147bfc Rebuilt some more packages mostly to fix directory issues. 2012-09-12 22:48:04 -07:00
Jérôme Duval
ce14ea0c3e DevelopmentMin optional package: add 3rdparty headers
* Add freetype, libpng and jpeg headers
2012-09-12 22:12:32 +02:00
Axel Dörfler
267b646396 Run the transaction flusher in another thread.
* This fixes bug #8977.
2012-09-12 20:20:43 +02:00
Scott McCreary
30aeebc716 Rebuilf beam and transmission gcc4 packages 2012-09-11 23:45:07 -07:00
Scott McCreary
554fe146cb Updated several more OptionalPackages 2012-09-11 23:45:06 -07:00
Ingo Weinhold
1bd0748253 Fix crash in MemoryManager::PerformMaintenance()
sFreeAreaCount wasn't decremented after removing an area from
sFreeAreas, thus causing the loop to continue until enountering and
crashing on a NULL pointer after removing the last area. Introduce
helper methods _PushFreeArea() and _PopFreeArea() to ensure this cannot
easily happen again.

Fixes ticket #8972.
2012-09-11 22:31:19 +02:00
Marcus Overhagen
8040911a25 Use implemented ports mask to check if maximum port count needs to be extended.
* This should fix #8953
 * Also fix some harmless off-by-one errors
2012-09-10 22:32:20 +02:00
Alexander von Gluck IV
1946d374f2 rPi: Update boot process for later Pi firmwares
* The bootprocess is better documented now.
  Put technical info in linker script, user info
  into info.txt
2012-09-09 21:10:16 -05:00
Axel Dörfler
7d362bb34c The sFragmentLock was never being initialized.
* This fixes bug #8958.
2012-09-09 22:53:19 +02:00
Fredrik Holmqvist
cdca279abd Remove unused header hpet.h. 2012-09-09 14:47:49 +02:00
Fredrik Holmqvist
953ca70721 Removing the acpi_avoid_full_init config option.
I've never heard anyone that been helped by that setting.
2012-09-09 13:13:53 +02:00
Alexander von Gluck IV
b772f88c88 VM Preflet: Fix user prompt string typo. Thanks ttcoder! 2012-09-07 18:04:17 -05:00
Alexander von Gluck IV
59c595739c VM Preflet: Add a BStatusBar to show swap file usage
* Correct a situation where disabling the auto swap without
  adjusting the swap size would result in an invalid swap
  size getting written to the configuration
2012-09-07 12:40:56 -05:00
Alexander von Gluck IV
5e7287f987 VM Preflet: Style cleanup; check for success of fs_stat_dev
* Cleanup as per Axel on the ML
* Remove superfluous else statements
2012-09-07 07:18:20 -05:00
Alexander von Gluck IV
f18cace156 VM Preflet: More correctly calculate default swap 2012-09-07 00:46:14 +00:00
Alexander von Gluck IV
5dff42570e VM Preflet: Center properly on screen
* On first run, dialog was at 0,0
* Rename window location/settings file
  from VM_data to virtualmemory_preferences
2012-09-07 00:34:00 +00:00
Alexander von Gluck IV
534268052d Kernel VM: Utilize swap_auto option
* Refine the swap logic a little
* Refine header copyright to preferred format
  I had hamishm's verbal permission to change his entry
2012-09-07 00:13:14 +00:00
Alexander von Gluck IV
91390fb0d3 VM Preflet: Add an automatic swap option swap_auto
* Add swap_auto to the virtual memory settings file
* Disable controls based on the context of what is enabled
* hamishm gave permission to adjust his copyrights to Haiku, Inc.
2012-09-07 00:13:03 +00:00
Alexander von Gluck IV
91a8191a25 VM Preflet: Style fix. bootDev to gBootDev. No functional change 2012-09-07 00:12:54 +00:00
Alexander von Gluck IV
ab4f001685 VM Preflet: More throughly translate BAlert window titles
* Ensure we call translate BAlert window titles
2012-09-07 00:12:46 +00:00
Hamish Morrison
b8838e91d9 VM Preflet: Add support for device selection
* Enables swap file to be placed on non-boot partition
* Changes tied closely to recent kernel virtual memory change
2012-09-07 00:12:37 +00:00
Axel Dörfler
5c69b8405b Added fallback model string parsing for Intel CPUs.
* When we do not have a predefined model string, we now try to parse
  the reported model string into something that is at least usable,
  and should look comparable to what we have now.
* For models where the parsed type string is acceptable, we could remove
  the predefined ones.
2012-09-06 22:09:42 +02:00
Axel Dörfler
f1cbaf5c8f Fixed warnings, 80 character line limit. 2012-09-06 22:09:42 +02:00
Humdinger
f6d33da6a4 Small corrections to AboutSystem.
Thanks Rene.
2012-09-05 19:38:14 +02:00
Humdinger
ae7bcbaa12 Updated the list of contributers.
Added people to the list contributers.
Moved people to the list of past maintainers.
Added GCI to our Google thanks.
2012-09-05 18:19:40 +02:00
Ryan Leavengood
e665a8baa6 New icons for source code and patch files.
Both are from #8867, created by Justin Stressman. The previous source code icon
was not friendly to those with green color blindness. I also think it was an
ugly green.

Fixes #8867 of course.
2012-09-05 01:36:25 -04:00
Scott McCreary
d9cfdbd1e9 Fix typo 2012-09-04 21:38:00 -07:00
Scott McCreary
aa8be1fc17 Update several more packages for R1A4 2012-09-04 21:19:22 -07:00
Alexander von Gluck IV
4517ef5728 Kernel VM: A few changes as per Axel in #7742
* Avoid floating point numbers in the kernel
* Warning would always show if custom swap file in use
* Don't change a custom swap file size if low space occurs
* Ram > 1GB? Don't double the memory for the automatic size
2012-09-04 15:35:10 -05:00
Alexander von Gluck IV
3e01905aca Kernel VM: Add compatibility logic
* If old-format swap config file found, parse it properly
2012-09-04 13:27:33 -05:00
Alexander von Gluck IV
0606074fd9 Kernel VM: Improve swap file selection
* Heavily based on Hamish Morrison's GCI work with some
  modified logic and cleanup. #3723
* Adds automatic swap as well as user specified swap
* Limits:
  Automatic: (ram * 2) up to 25% of the disk
  User: user specified up to 90% of the disk
* Supports changing the swap disk location
2012-09-04 12:31:56 -05:00
Alexander von Gluck IV
3d87b8120c Kernel VM: Style cleanup; No functional change 2012-09-04 08:42:36 -05:00