Commit Graph

42546 Commits

Author SHA1 Message Date
Alexander von Gluck IV b069fa30d9 mesa: Update rtasm fix to work with latest mainline Mesa 2012-06-07 11:53:51 -05:00
Alexander von Gluck IV 7c5d8dd2a8 mesa-o-matic: Fix bug exposed by new Mesa build
* While we want to exclude include/GL (because we
  get the whole directory) we also exclude include/GLES2
  which gets picked up in newer Mesa code
* Add a slash on the end of the grep to make sure we omit
  *just* include/GL
2012-06-07 11:52:25 -05:00
Alexander von Gluck IV 7c8e561489 ATA: Display trim support of ata disk 2012-06-06 12:35:12 -05:00
Axel Dörfler 2996f64881 Implemented a value hint, changed colors.
* When you press on a value, that value will be shown with a
  highlighted background across the board until another value is set.
* Changed the colors to those from the Haiku logo rather than the BeOS
  logo. This makes it a bit more colorful which one might need to get
  used to -- comments welcome.
2012-06-06 00:35:51 +02:00
Axel Dörfler 0ba36860ad Added a few convenience methods. 2012-06-06 00:34:51 +02:00
Axel Dörfler bea2387b68 Made constants static, coding style cleanup. 2012-06-05 23:15:54 +02:00
Jérôme Duval 75d1324b91 ntfs: fix double free #8484 2012-06-05 21:55:41 +02:00
Alexander von Gluck IV 966df2f98b cpuidtool: Style cleanup 2012-06-04 11:05:36 -05:00
Alexander von Gluck IV 548b1a4988 cpuid: Rework AMD CPUID numbers
* If family is 0xF, we grab extended family and model
  like Intel does
* Idenfify AMD cpu's more correctly
2012-06-04 11:01:39 -05:00
Alexander von Gluck IV bd12d75f96 cpuid: consolidate tools to one tool
* Don't move vendor mask
* Place extended cpu info before vendor *if* amd
  cpu family == 0xF
2012-06-04 08:34:44 -05:00
Humdinger 76f066c2a1 Newly built Beam package fixes ticket #8611 2012-06-04 15:35:28 +02:00
Humdinger 931b441f63 Added info on configuring GRUB via os-prober, see #8578. 2012-06-04 14:51:59 +02:00
Jérôme Duval 411272adfd Work in progress on xHCI bus driver
* added a thread to handle events, locking wasn't easy in an interrupt
  handler
* the td struct can now track several buffers instead of just one.
* use Transfer::Data*() instead of Vector*() for the time being
  until support for fragmented transfers is done
* added CreateDescriptorChain, WriteDescriptorChain and ReadDescriptorChain,
  chained tds not working yet though.
* added a mutex lock per enabled endpoint, lock when touching the endpoint
  transfer ring.
* correctly configure interval and average trb length for endpoint contexts.
* interrupt transfers seem to work on real hardware
* xhci qemu driver doesn't advance ring dequeue pointers on link trbs, thus
  accessing freed trbs that could already be reused, leading to crash.
2012-06-03 22:51:28 +02:00
François Revol dc09611aad U-Boot: move gFDT declaration to shell.S
* this avoids it falling into the BSS section which we clear quite late,
and allows setting it from asm code if needed.
2012-06-02 13:46:45 +02:00
François Revol cce9d8cf89 U-Boot PPC: Enable ppc440 FPU correctly
* On ppc440, the FPU is implemented as an Auxiliary Processing Unit,
we must therefore enable sending commands to it,
in addition to setting the MSR bit.
2012-06-02 01:30:48 +02:00
François Revol b837149e73 Sam460ex: Add cpu type and model defines to board_config.h
* we need this in arch_cpu.cpp in the bootloader.
2012-06-02 01:25:53 +02:00
François Revol 68a593ba2a Sam460ex: Change load address for debugging
* Change haiku_loader load address to leave U-Boot's exceptions vector for easier debugging.
2012-06-02 01:21:59 +02:00
Rene Gollent 983f0b53d9 Add Gerald Zajac's Intel 810 driver to the image. 2012-06-01 17:24:27 -04:00
Fredrik Modeen 87a8b1c97b change wlan iwp2100 to use iprowifi2100 and the right firmware, should fix Ticket #7938 and #7898 2012-06-01 22:29:26 +02:00
Alexander von Gluck IV d995d3c634 intelcpuid: A small tool for OS.h
* Takes an Intel CPUID and converts it to a number for OS.h
2012-06-01 11:01:29 -05:00
Alexander von Gluck IV c84fd0f0fe amdcpuid: Redo how we store amd cpuid's
* Ran out of space, so we do AMD chips as VVFFMM
* Longer family and model masks work
* Plug in any raw hex AMD CPUID and get back Haiku format
2012-05-31 23:57:53 -05:00
Alexander von Gluck IV f0aca319b9 amdcpuid: A small tool for OS.h
* Takes an AMD CPUID and converts it to a number for OS.h
* Splits on family 0xF as per AMD recommendation
2012-05-31 19:16:30 -05:00
François Revol 264aaaeeb5 Sam460ex: force using hardware floating point
* our current gcc can't be built with multilib for ppc anyway,
* this allows going further on real hardware, though dprintf() sends wrong data to the serial port.
2012-05-31 01:04:09 +02:00
Axel Dörfler 0084fa5209 Reverted the rounded buttons again.
* Following the previous discussion on the mailing list and Stippi's final mail.
* I tried to get used to it in the last couple of weeks, but I think it just
  looks out of place, and not good either.
2012-05-30 23:36:03 +02:00
Axel Dörfler 712fdb70b2 Style cleanup. 2012-05-30 23:36:02 +02:00
Axel Dörfler d6e44c9c82 If all fields for a specific value are set, mark it.
* In this case, the value is drawn a bit less intense than incomplete values.
* Make the keyboard focus background color depend on the actual background
  color.
* No longer allow to drag remove random hint values after removing a value
  from a field.
2012-05-30 23:36:02 +02:00
Axel Dörfler 3a1a1e1b82 Style cleanup. 2012-05-30 23:36:01 +02:00
Alexander von Gluck IV 0e8316cc90 intel_810: Style cleanup. No functional change
* I think the FunctionNames need to change to function_name
2012-05-30 16:11:09 -05:00
Gerald Zajac e0ee3b7971 driver: New intel 810 video driver
* Introduced by Gerald Zajac in #8615
* Will need reviewed, tested, and some style cleanup
* Not in images until steps above complete
2012-05-30 15:21:18 -05:00
François Revol 9c02217342 PPC: Add PVR identifiers for 440 and 460 cpus
* from QEMU, 440EP is 0x4222.
* from the datasheet, 460EX is 0x1302.
2012-05-29 18:50:32 +02:00
Rene Gollent f4ee2d048e Slight and cleanup and fix potential section leak. 2012-05-28 15:48:00 -04:00
Rene Gollent dbf07c84a2 Fix problems unwinding call frames.
Our more recent build of gcc4 appears to have switched to using
.eh_frame for almost all useful call frame information when built
with debugging. Use a somewhat crude heuristic (size) to determine
if the .debug_frame section we've been given might actually be of use
or not (assuming it exists at all, this was inconsistent in my tests.
Sometimes apps had no .debug_frame at all, other times it was present
but was only roundabouts 100 bytes).

Fixes ticket #8508.
2012-05-28 15:39:38 -04:00
Rene Gollent e0a6e07bb3 Minor cleanup, no functional change. 2012-05-28 14:51:58 -04:00
Reznikov Sergei 72b7db341b Added resize to fit shortcuts. Partially fixes #7467.
* Adjusted initial tracker windows width to fit modified column.
* Resolved a TODO: Added get info shortcut to Open with window.

 Author:    Sergei Reznikov <diver@gelios.net>

Signed-off-by: Alexandre Deckner <alexandre.deckner@uzzl.com>
2012-05-28 16:29:43 +02:00
Rene Gollent c2d1fc4ffa Fix updating of source path.
Factor out updating of the source path view into a dedicated function,
and fix some errors that would sometimes result in the text not updating
properly when switching stack frames, particularly if the target frame
didn't have source code available.
2012-05-27 21:46:50 -04:00
Adrien Destugues - PulkoMandy 028ad0311c Fix collecting of ifdef dependant strings
Following some recent changes, the collection of strings does not use
B_COLLECTING_CATKEYS define anymore. Adjust the code to use
B_TRANSLATE_MARK_VOID instead, leading to the same result (string is
added to catalog, but not used)
2012-05-27 08:42:33 +02:00
John Scipione 85136facde Fix formatting bug in Deskcalc.
Calculations that take up the full width of the Deskcalc window
sometimes scroll the result over showing you only the tail end. This
is because the horizontal inset makes the area too small to fit the
result. Removing this horizontal inset means that the result will
always fit in the space provided, and Deskcalc will recalculate to
fit, but it also means that the result always starts at the leftmost
side of the textarea, a fair tradeoff.
2012-05-24 21:38:25 -04:00
Axel Dörfler 936b7fe433 Fixed a possible FD leak, CID 702009. 2012-05-25 01:40:31 +02:00
Alexander von Gluck IV b7aa0a94ff ARM platform: Undo change to MMU page table assignment
* While the baremetal arm book I have says mrc, it breaks
  verdex and doesn't work on the Pi.
* Moving the page table address to the p15 coprocessor makes
  more logical sense anyway... i think mrc was a typo.
2012-05-24 10:25:52 -05:00
François Revol 1348022133 PPC: Move asm helpers to U-Boot arch Jamfile
* the OpenFirmware arch/ppc/Jamfile already has it, so move it to avoid duplicated symbols.
2012-05-24 21:55:21 +02:00
Alexander von Gluck IV 93d5b79f06 rPi console: Implement console_wait_for_key 2012-05-24 08:53:32 -05:00
François Revol 037f252fd0 U-Boot: split cpu.cpp into arch-specific and common parts
* the common part should try to use the U-Boot API when found.
* the arch part can make use of cpu features (like timer register)
* the ppc code enables the FPU in the MSR, since it's used by vsnprintf(),
which at least saves one FP register in its prologue.
2012-05-24 21:27:37 +02:00
François Revol 3bd0ac4aa3 PPC: Add eioio as barrier for the UART class
* probably unneeded but it shouldn't harm.
2012-05-24 21:20:15 +02:00
François Revol 6ca4ac0978 PPC: Add some kernel asm helpers to the bootloader
* get/set_msr() will be useful for U-Boot.
2012-05-24 21:20:14 +02:00
François Revol 134ef79db0 U-Boot: add some sections to the ppc ldscript
* it seems ld creates most of them anyway, taken from the openfirmware script.
2012-05-24 21:20:14 +02:00
Alexander von Gluck IV 9b2efb1ad5 rPi Console: Fix console vt100 calls
* Use correct clear screen escape codes
* Use correct set cursor location escape codes
* Use correct set color escape codes
2012-05-24 06:39:43 -05:00
Alexander von Gluck IV 361ec26f10 rPi MMU: Cleanup, add gPeripheralBase
* gPeripheralBase keeps track of the device
  peripherals before and after mmu_init
* Add ability to disable mmu for troubleshooting
* Remove static FB_BASE, we actually don't know
  where the FB is yet. (depends on firmware used)
2012-05-24 06:39:43 -05:00
Alexander von Gluck IV 16307934fa rPi: Fix missing % 2012-05-24 06:39:42 -05:00
Fredrik Holmqvist d6e724d549 Only set FT_LOAD_TARGET_LCD when we have specified it. Use FT_LOAD_TARGET_NORMAL when we havn't.
(FT_LOAD_TARGET_LIGHT might also be an option.)
2012-05-23 20:30:27 +02:00
Pawel Dziepak 021ccbd18f Fix #8596: common_getgroups copies too little data
common_getgroups, when called from within the kernel, copies actualCount
bytes instead of actualCount * sizeof(gid_t) bytes.
2012-05-23 12:56:10 -04:00