Commit Graph

42525 Commits

Author SHA1 Message Date
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
Alexander von Gluck IV
4fd190af6e MMU: Add in section L1 MMU size
* Not used atm, but exists.
2012-05-22 09:07:29 -05:00
Alexander von Gluck IV
f0ba7f9400 MMU: Clean up arm L1 MMU types
* Include map for each page table type
* Reduce MMU_TYPE define name length
2012-05-22 08:30:52 -05:00
Alexander von Gluck IV
9c5e60f656 rPi MMU: Fixes to hrev44189
* I had the wrong addresses, 0x20 was the physical
  address not a mapped one.
* Attempt to map uart in mmu post mmu_init.
2012-05-22 08:30:52 -05:00
Matt Madia
87a01ad64e Added Caya as an optional package.
Provided by Barrett. Fixes #7439.
2012-05-20 14:31:11 +00:00
Matt Madia
96e2080d5e Updated Keymap Switcher. Provided by Siarzhuk Zharski. 2012-05-20 10:23:08 +00:00
Siarzhuk Zharski
5f25cf08b3 Put hostname option into DHCPDISCOVER/DHCPREQUEST if provided by system
If Haiku has the hostname set, inform DHCP server with corresponding
option in DHCPDISCOVER and DHCPREQUEST messages. That should simplify
accessing Haiku hosts by using it's hostname instead of raw addresses.
2012-05-20 12:46:58 +02:00
Humdinger
0ae4e1b785 Added wpa_supplicant to alpha and nightly profiles. Fixes #8585. 2012-05-19 18:25:55 +02:00
Alexander von Gluck IV
b8733e36c7 rPi MMU: Working towards mapped memory
* BCM2708 defines no longer assume 0x20 address
  We will be throwing away the blob memory mapping
  and using our own.
* Use existing blob mapping to turn GPIO led on pre mmu_init
* Remap MMU hardware addresses from 0x7E. We could map each device,
  however the kernel will throw away the mappings again anyway. For
  now we just map the whole range and use offsets.
* Serial uart no longer works, however at least
  we know why now :). Serial driver now needs to
  use mapped address.
2012-05-18 10:16:30 -05:00
Siarzhuk Zharski
80cbddc9f7 Preventive fixes for possible Coverity complaints in the future. 2012-05-18 22:23:45 +02:00
Siarzhuk Zharski
34e730c8fa Fixes for Coverity CIDs 702013,702014,702015,702016,702017.
Satisfying Coverity for case of resource leak in case open() returns
file descriptor equal to 0.
2012-05-18 22:22:10 +02:00
Alexander von Gluck IV
e8aa6be532 rPi MMU: Enhance debugging
* TRACE calls no longer need double '('
* Added CALLED trace function
* Add better debugging output
2012-05-18 08:57:00 -05:00
Alexander von Gluck IV
249e5492c1 ARM MMU: Use MRC vs MCR for TTBR
* Verified to use MRC vs MCR multiple locations
* Small bit of style cleanup as well
* Better comment function usage
2012-05-18 08:57:00 -05:00
Humdinger
7a81151b1b Merge branch 'master' of ssh://git.haiku-os.org/haiku 2012-05-18 19:40:29 +02:00
Humdinger
a7bee8e40c Corrected typo correction... thanks Starseed. /me needs glasses. 2012-05-18 19:39:49 +02:00
Humdinger
268816a3ce Corrected typo. Fixes #8557. 2012-05-18 18:20:49 +02:00
Humdinger
761dac127b Small layout changes to FileType add-on panel. Fixes #8581. 2012-05-18 18:19:36 +02:00
Alexander von Gluck IV
77591e9657 rPi: MMU Work
* Use U-Boot mmu code as base
* This will be factored out someday into common arch mmu
  code when we can read Flattened Device Trees
* Move mmu_init after serial_init.
  Temporary change as we will want serial_init to use
  memory mapped addresses... for debugging.
2012-05-18 06:36:53 -05:00
Alexander von Gluck IV
6d4270e3ce U-Boot mmu: Style cleanup, no functional change 2012-05-18 06:36:52 -05:00
Alexander von Gluck IV
8b99a08215 rPi: Fix Raspberry Pi binaries
* Since mmu_man fixed these vars to actually be used,
  we now know these floating point flags cause issues
  on the Raspberry Pi currently.
2012-05-18 04:05:33 -05:00
François Revol
55cf6de91b Fix passing flags from BoardSetup
* since we include BoardSetup earlier now, the TARGET_* flags were discarded. Use HAIKU_* instead.
* Add variables to hold the default entry point and the desired uimage OS emulation.
2012-05-18 01:22:50 +02:00
Fredrik Holmqvist
7ca2da76f0 rand() is used, but srand() was never called. 2012-05-18 00:01:12 +02:00