Commit Graph

42686 Commits

Author SHA1 Message Date
Alexander von Gluck IV
fd52e77cda PL011 uart: Disable "fluff" code
* Once I can confirm it works will re-enable
* Not needed for basic functionality
2012-05-14 14:08:03 -05:00
Alexander von Gluck IV
4ffe10ca33 rpi gpio: Remove alt0 mode on serial pins
* Confirmed this places pins in miniUART mode
  (we don't want this mode however)
* We do need to fully understand *which* mode
  the pins need to be in for PL011 mode.. however
  the boot state of the Pi is PL011
2012-05-14 14:08:03 -05:00
Fredrik Holmqvist
78af90d494 Fix codestyle violation:
Multiline statements after if should always be in a code block.
No functional change.
2012-05-14 21:05:12 +02:00
Alexander von Gluck IV
b0df02004f pl011: Fix baud divisor (correctly this time)
* Order of operations error, seen after writing
  a quick test app.. sorry for spam
2012-05-14 13:42:35 -05:00
Alexander von Gluck IV
96ca76504f pl011: Fix baud divisor, enable fifo.
* Correct the baud calculations
* Be sure to enable fifo mode
2012-05-14 13:20:50 -05:00
Humdinger
f149a777c7 Tiny cosmetic string changes for Appearance prefs.
* More general tab title "Decorators"
* Sentence casing "Window decorator:". Here the "Window" is OK,
  there could be "OSD decorators" etc. in the future.
2012-05-14 07:35:17 +02:00
Yongcong Du
44c3c03412 scheduler: Don't setup the quantumTimer for idle thread
Let's say the timer is waken up when its hook is called. This patch
reduces ~41% wakeups during idle

Signed-off-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
2012-05-13 19:06:47 +02:00
François Revol
229e112eb4 Drop ARM-specific register pointer
* the global data is already stored in a variable from shell.S anyway when available
2012-05-12 19:50:03 +02:00
François Revol
5409323add Add empty C linux-style entry points
* On PPC, there are two different kernel entry signatures for Linux
2012-05-12 19:38:46 +02:00
Stephan Aßmus
dbfa06fa45 Fixed dropping color on "current color" swatch
* When the color of the "current color" swatch view
   (the bigger one) changes because of a color drop, adopt the
   new color just like when changing the color via other means.
2012-05-12 13:58:52 +02:00
Stephan Aßmus
a184e9f5b1 Style clean up. 2012-05-12 13:56:09 +02:00
Stephan Aßmus
f50e7b8dc5 Cleanup & small fixes
* Style cleanup
 * Don't delete message in case they happen to be the passed in pointers.
2012-05-12 13:48:54 +02:00
Niels Sascha Reedijk
4b140bad0d Update the BString documentation.
* Remove the reference to BString::fPrivateData, as it currently really
   is marked as private and as such disappeared from the docs.
 * Add the various character methods that have been added in the
   previous revisions.
2012-05-12 11:54:07 +02:00
François Revol
93a13fb071 No need to force TARGET_BOOT_PLATFORM now. 2012-05-11 18:23:15 +02:00
François Revol
3884764492 Include BoardSetup from BuildSetup
* while it seemed to work before, BuildSetup was actually adding includes from the default boot platform, before BoardSetup had a chance of changing it.
2012-05-11 17:53:30 +02:00
François Revol
d1645229d1 Rename u-boot start2.cpp to start.cpp
* rename the file for consistency with other platforms.
* there used to be a start.S, long since renamed to shell.S anyway.
2012-05-11 03:14:49 +02:00
François Revol
6fe5c2f194 Fix u-boot ppc jamfile
* fix leftover openfirmware stuff from copy-paste.
* shell.S is still missing.
2012-05-11 02:49:47 +02:00
François Revol
0fa5c3d115 Add board config header for ACube Sam460ex
* the UART is hardcoded for now, ideally it should be set up from the address found in the FDT blob.
2012-05-11 02:31:57 +02:00
François Revol
935a9b24cf Add board definition for ACube Sam460ex
* It's a PowerPC embedded board that uses U-Boot.
* We don't want an SD image (yet?)
* tune for the ppc440 with soft-float for now.
2012-05-11 02:29:46 +02:00
François Revol
730a376b32 Hardcode the boot platform for the Raspberry Pi
* for now at least the board uses a custom boot platform.
This way one only has to define HAIKU_BOOT_BOARD now.
2012-05-11 02:17:38 +02:00
John Scipione
9104048d18 Minor updates to the PC Czech.keymap
Some issues in the Czech.keymap were discovered while creating
the Czech (Mac).keymap. These include the RCommand key not being
set, extra spaces in the option map, and characters defined in
0x7e and 0x7f which correspond to the sysreq and break keys.
2012-05-10 15:55:14 -04:00
John Scipione
7743b9f9a7 Add Czech (Mac).keymap by janiczek closing Ticket #8536. 2012-05-10 15:37:32 -04:00
Alexander von Gluck IV
f78cbe4710 pl011 uart: Work on uart startup code
* Add missing PL011 register locations
* Move startup code to class init and ensure port is
  started up more like Linux PL011 Amba driver.
2012-05-10 12:38:52 -05:00
czeidler
875b218202 Calling the BView version of {Enable,Disable}LayoutInvalidation() seems to be more natural. 2012-05-10 10:36:42 +12:00
czeidler
31f768577e The layout checks the target view now if the layout invalidation has been disabled in the view. 2012-05-10 10:36:41 +12:00
Alexander von Gluck IV
57a2ea0d54 uart: Replace Init calls with Enable/Disable
* Enable/Disable makes more sense and matches
  platform loader serial functions.
* Rework PL011 code after finding a PDF covering
  the details of it.
* Rename UART global defines in loader to be more
  exact about location
2012-05-09 12:46:35 -05:00
Alexander von Gluck IV
605041242a radeon_hd: Build fix
* Misplaced '"', sorry for spam
2012-05-09 11:52:51 -05:00
Alexander von Gluck IV
e62d1ff387 radeon_hd: Better handle and detect load on DVI-I connectors
* A tricky situation as DVI-I digital + analog paths show
  up as two display connectors sharing one EDID data source.
2012-05-09 09:08:26 -05:00
Alexander von Gluck IV
eaad49bab7 rpi: Restore ctors and bss functions
* Fixes pre-mmu new and malloc's
* Use nothrow for new
2012-05-08 22:53:30 -05:00
Alexander von Gluck IV
78004f1677 arm uart: Convert new uart code to classes
* This makes things a little more flexible and
  the interface to use the uarts cleaner.
* May want to make a generic Uart wrapper
  class in uart.h / uart.cpp and call drivers
  as needed from there.
2012-05-08 22:17:03 -05:00
czeidler
58f3387d56 Workaround to not trigger a relayout in DoLayout when adding the label view again. 2012-05-09 14:34:44 +12:00
Philippe Saint-Pierre
f1e0212d72 top: Attempt to avoid negative "(unknown)" %
Top was using the 'theorical' interval value to determine the percentages.
The measured thread times were taken in an always a bit larger interval than
that theorical value, hence the negative '%' occuring regularly.

Should fix #4589.
2012-05-08 21:09:36 -04:00
Alexander von Gluck IV
f5b83627d0 rpi gpio: Rework GPIO support
* GPIO calls now simplier and more correct
* Set UART pins to AUX0 mode
2012-05-08 13:14:03 -05:00
czeidler
9c7f297dd6 Remove lp_solve headers. 2012-05-08 07:28:16 +12:00
Alexander von Gluck IV
b74906293b pl011 uart: Add port_init code
* Add code to initilize the uart port
* Fix uart clock
2012-05-06 22:53:56 -05:00
Alexander von Gluck IV
c76127fade arm uart: First work towards Amba serial driver
* Move Raspberry Pi board over to Amba driver
* Add initial set of registers and values
* Few small style cleanups
2012-05-06 19:30:43 -05:00
Philippe Saint-Pierre
78614977b0 Tracker: Removing the Desktop Background Image don't clear a pointer
fBackgroundImage wasn't being cleared when removing the desktop
background image because the loading process wasn't ignoring
loading failures (as is the "no background for this workspace" setting).

fBackgroundImage not being NULL was causing crashes mainly in
ScreenChanged(), where it was trying to re-center a non-existant
background.  Was causing #7376 and maybe others.
2012-05-06 20:00:15 -04:00
Philippe Saint-Pierre
4dad975dda Tracker: Consider extra column margin in PoseView::Extent()
In List Mode, consider the extra margin added to the right of
the last column when computing the Extent of the PoseView. This
was causing the ResizeToFit to resize a bit too small.

Fixes #4318
2012-05-06 18:43:59 -04:00
Alexander von Gluck IV
aa7d070732 arm uart: Rename getc/putc to getchar/getchar
* Avoid name collisions
* This uart stuff may work better as a class at
  some point, however I didn't want to rock the
  u-boot boat *too* much as I don't have the
  hardware to test.
2012-05-06 17:03:34 -05:00
Alexander von Gluck IV
917e9be1a6 arm uart: Complete redesign of ARM uart code
* Add nested function wrappers to allow usage of other
  uart drivers depending on board. We may want to use this
  on other platforms at some point (haha, maybe)
2012-05-06 17:03:33 -05:00
Rene Gollent
95aae4ae1e Style fixes. 2012-05-06 16:12:16 -04:00
Philippe Saint-Pierre
42ae726e67 setgcc: add -l argument to ls call in script
In previous, it was still working as I was more interested into != 0 than
exact count. Still, for clarity sake, I add -l to get the actual count.

Thanks Axel.
2012-05-06 15:52:04 -04:00
Alexander von Gluck IV
60433c9277 rpi: Reduce superfluous code in loader.
* Remove unneeded complexity and a few left over
  linux items
2012-05-06 12:20:40 -05:00
Alexander von Gluck IV
19b42424c6 rpi: Remove need for first32k.bin
* Thanks go out to Simon Arlott for replacing
  the first32k.bin blob with assembly removing
  the need for first32k.bin hack.
* This assembly is a modified version removing
  the Linux kernel boot args.
* haiku_loader renamed to kernel.img will boot
  on Raspberry Pi directly.
2012-05-06 12:06:17 -05:00
Alexander von Gluck IV
79a9f645ba arm uart: Cleanup serial port setup.
* Be a little more discreet on how we
  configure the serial port.
2012-05-06 12:06:17 -05:00
Axel Dörfler
52a5878b74 Added command line programm to rename/move attributes.
* Called mvattr, move is not yet implemented which is why it's not part of
  the image yet.
* Defaults to rename, moving attributes needs an extra option.
* Suggestions welcome :-)
2012-05-06 16:55:36 +02:00
Stephan Aßmus
e4ef668253 Implemented drag&drop of shape items between I-O-M windows.
* The ShapeListView also knows the PathContainer and StyleContainer
 * When constructing the drag message, also include a complete archive
   of the dragged shapes, bundled with archives for each included path
   and the style.
 * When handling the drop, and it came from another I-O-M window,
   exract the Shape archive bundle from the drag message. For the
   Style and the included Paths, try to find an existing Style and
   existing Paths and reference those in the added Shape(s) instead
   of adding duplicates.
2012-05-06 16:50:25 +02:00
Stephan Aßmus
2d35ee03c0 Added operator== implementation 2012-05-06 16:50:02 +02:00
Stephan Aßmus
7a20125661 Style cleanup, no functional change intended 2012-05-06 15:26:52 +02:00
Philippe Saint-Pierre
85fb3e7df8 setgcc: error message
The bash script tried to verify the existence of a file,
but there were several fils fitting the wildcard expression.
So, [ -e .../*gcc ]; was interpreted as if it had too many
arguments.  Replaced that expression by a count of files.

Fixes #8493.
2012-05-05 23:55:19 -04:00