Commit Graph

38037 Commits

Author SHA1 Message Date
Rene Gollent
45b52be1b9 Also show hardware architecture. 2012-11-27 20:56:45 -05:00
Alexander von Gluck IV
153dd4767e softpipe: Initial work on Gallium renderer
* This is still early, but I want to track the
  development in tree.
* swpipe will support Gallium softpipe or llvmpipe
  (llvm pipe will give improved software rendering
  permance when llvm is included at os build time)
* Used Artur Wyszynski's original code as a
  road map... however a *lot* has changed.
* Crashes at startup.. not in image yet
2012-11-27 19:55:16 -06:00
Michael Lotz
c5dbfbe5fc Remove early video init, don't need the debug output anymore. 2012-11-28 02:30:56 +01:00
Michael Lotz
32064fee1b Copy platform_start_kernel from uboot as well.
The kernel now starts on the rPi.
2012-11-28 02:30:56 +01:00
Michael Lotz
d95ecd7341 Remove empty devices implementation and use the one from uboot.
Since we have the same setup with a loaded and mapped boot archive, we
can reuse the MemoryDevice implemented in uboot. This gets the loader
to the stage where it loads and attempts to boot the kernel.
2012-11-28 02:30:37 +01:00
Michael Lotz
046e01014d Add boot archive base and size and map the boot archive.
An archive (ramfs) to be loaded can be specified in the raspberry pi
config.txt with a certain base address. We can use this to put our
floppy boot archive into memory on startup.

During the start procedure we now map that archive so we can later
load the kernel from it.
2012-11-28 02:00:00 +01:00
Michael Lotz
05e2d61a5e Fill the kernel args framebuffer config. 2012-11-28 01:41:05 +01:00
Michael Lotz
3c3b8858a1 Move framebuffer init past mmu_init and map the framebuffer.
Add more fields to arch framebuffer to hold the physical address and
size of the framebuffer. Then fill these in when mapping the
framebuffer to virtual memory.
2012-11-28 01:38:38 +01:00
Michael Lotz
87cedaf493 Fix more format strings for MMU trace output. 2012-11-28 01:35:42 +01:00
Michael Lotz
ebd0697853 Enable the early framebuffer and on-screen debug output. 2012-11-27 22:42:33 +01:00
Michael Lotz
18b04bdde1 Also hand debug output to the on-screen debug output. 2012-11-27 22:42:33 +01:00
Michael Lotz
75b481f2a4 Attach frame_buffer_console and initialize/enter blue_screen.
This enables early on-screen debug output on the raspberry pi.
2012-11-27 22:42:32 +01:00
Michael Lotz
94b364b469 Add blue_screen and frame_buffer_console into the bootloader.
These can be used for on-screen debug output with relatively little
effort, as they just need a plain framebuffer definition to work.

Some stubs are added to not clutter up the kernel sources with too
many ifdefs.
2012-11-27 22:41:47 +01:00
Landon Fuller
297feca8e5 Add an x86-64 compatible _ExecuteCommand()
This implementation introduces the minimal changes necessary to support
the existing VMWareTypes API on x86-64. If a more expansive set of guest
additions are required, it may make sense to adopt a more general
approach akin to the one used here:
	https://github.com/jcs/vmwh/blob/f177dd3cf/vmware.c#L49

Signed-off-by: Michael Lotz <mmlr@mlotz.ch>
2012-11-27 21:03:02 +01:00
Michael Lotz
054ec8a776 Fix warnings by using format macros in debug output. 2012-11-27 20:58:32 +01:00
Michael Lotz
fc1ca8cb5a Initialize the BCM2708 arch framebuffer in platform_init_video. 2012-11-27 20:58:32 +01:00
Michael Lotz
8b9562633f Add BCM2708 arch framebuffer implementation for rPi.
It uses the mailbox mechanism to instruct the VideoCore to configure
the desired video mode and fills it with a black and white test
pattern.
2012-11-27 20:58:32 +01:00
Michael Lotz
57e6aff3f7 Add debug helpers that communicate information via the LED.
Blink patterns and delay mechanisms allow for "easier" debugging using
just the onboard LED on the raspberry pi.
2012-11-27 20:58:31 +01:00
Michael Lotz
0d92f5576d Allow getting and setting arch framebuffer config.
Making the fields protected allows them to be set by arch framebuffer
implementations. The getters can be used to retrieve the configuration
from outside the implementation.
2012-11-27 20:58:31 +01:00
Michael Lotz
a961b0f2ed Turn on unaligned memory access on raspberry pi. 2012-11-27 20:58:31 +01:00
Michael Lotz
4818400fcf Add BCM2708 mailbox definitions and implementation.
The mailbox is used to communicate with the VideoCore on the rPi for
various tasks. First it will be used to configure the framebuffer.
2012-11-27 20:58:30 +01:00
Michael Lotz
5db97b2668 Add memory barrier functions to the ARM bootloader. 2012-11-27 20:58:30 +01:00
Michael Lotz
0f434c4a95 Initialize the stack pointer to allow rPi to jump into C.
The stack pointer is set up so that it uses the space below our .text
section at 0x8000. The stack pointer actually points at one entry less
than the specified address, so it starts at 0x8000 - sizeof(uint32) and
grows downwards from there.
2012-11-27 20:58:30 +01:00
Michael Lotz
dc333d7460 Remove conflicting _start prototype to fix raspberry pi build. 2012-11-27 20:58:29 +01:00
Adrien Destugues - PulkoMandy
959cf38384 Remove deprecated usb_joy driver
* Our usb_hid driver handles joysticks already, no need for another one
 * Also add the emuxki driver to the Jamfile tree even if it's in unknown state and unused.
2012-11-27 20:25:12 +01:00
Philippe Saint-Pierre
b25611eac0 FileTypes: Localize Attribute List Views (types and display) #7321. 2012-11-26 21:45:34 -05:00
Philippe Saint-Pierre
aa18b83504 udf kernel add-on: memory leak fix (CID 743820). 2012-11-26 20:59:28 -05:00
Philippe Saint-Pierre
6fc6cc0c57 Canna: incorrect strlen calculation (CID 602178). 2012-11-26 20:03:50 -05:00
Alex Smith
afd0470932 Disable DEBUG in x86emu Jamfile rather than in x86emui.h. 2012-11-26 15:17:47 +00:00
Oliver Tappe
c077f5002f Fix #9217 - BTextView should clamp given offsets to avoid crashes
* applied patch provided with ticket, thanks!
* extended patch to implement offset clamping for all public methods
  of BTextView and remove some checks from private methods to define
  a clear baseline for sanity of offsets used in the code
2012-11-26 11:36:22 +01:00
Philippe Saint-Pierre
1a58fe65ee fwcontrol: initialize the string before using it, and style fixes
CID 702202.
2012-11-25 23:31:32 -05:00
Philippe Saint-Pierre
02ca2d82d6 ZombieReplicantView: Dereferrence before NULL check (CID 743868) 2012-11-25 21:44:09 -05:00
Philippe Saint-Pierre
815ae79848 StackAndTile: deferencing occuring before null check (CID 743845) 2012-11-25 21:05:17 -05:00
Philippe Saint-Pierre
923d64efa1 Tracker: Prevent TextWidget to start editing twice
It was possible to confuse TextWidget to start editing twice (clicking on the widget and during the wait,
pressing F2) and confusing the states of the TextWidget.
2012-11-25 20:35:40 -05:00
Philippe Saint-Pierre
d6a17f3d78 Tracker: fix memory leak in OpenWithFilter. (CID #715684) 2012-11-25 20:35:39 -05:00
Philippe Saint-Pierre
dbe3088153 Tracker: Tracker crashes in KeyDown() if there are no models associated with the PoseView.
Happens in special windows, such as OpenWith Window, that do have a PoseView not associated
with a model.  Fixes #8160.
2012-11-25 20:35:39 -05:00
Oliver Tappe
52cdfde04b Fix relying on order of static object destruction in Locale Kit.
* use only a single static object (MutableLocaleRoster) instead of
  two, which avoids any problems if the order of static object
  destruction would destroy RosterData before MutableLocaleRoster
* rename BPrivate::RosterData to BPrivate::LocaleRosterData and move
  it into a header and implementation file of its own
This should hopefully fix problems encountered with a clang-compiled
Locale Kit.
2012-11-26 01:19:27 +01:00
Oliver Tappe
a22e8c6fe2 Cleanup: respect 80 chars/line limit. 2012-11-26 01:19:24 +01:00
Matt Madia
9d833d3147 Add newline at end of file. 2012-11-25 15:07:48 -05:00
Adrien Destugues - PulkoMandy
f139447d0a Fix catalogs stored in resources
We used the hash of the language code as a key for identifying catalogs.
However, hash do collide, and in particular, "en" and "fi" have the same hash.
Identify catalog resources by name instead.
2012-11-24 22:05:26 +01:00
Rene Gollent
f1ea2af3e7 Check that both state and reason are the same.
- If a thread was already in a stopped state, but we received
  an update that indicated something more specific, it would be
  ignored, i.e. changing
  from simply being in a debugged state to specifying a debugger
  call + message. We now check both state and reason before ignoring
  the update. Fixes debug reports not receiving the debugger call
  message properly when intercepting an actual crash as opposed to
  an app running inside the debugger.
2012-11-24 12:49:07 -05:00
John Scipione
e1fb666f81 While I'm at it update Tracker preferences ListView.
* Use be_control_look->DefaultLabelSpacing() instead of hard-coding 4px.
* Use pre-generated system colors.
* Indicate a pane is revertable by making the font bold instead of
  blue. This makes the revertable setting orthogonal with the
  selected setting (can be both bold and selected color).
2012-11-24 11:37:51 -05:00
John Scipione
63881c3a88 Update StringItem use be_control_look->DefaultLabelSpacing()
Also update the Update() method to take into account the added
spacing.

Thanks Axel and Stippi.
2012-11-24 11:37:50 -05:00
Alexander von Gluck IV
7018b3c67e Rpi: Convert start.c to cpp
* Wrap _start in extern "C" to prevent
  symbol mangling.
* Thanks mmlr for reminding me of this! :)
2012-11-24 08:11:26 -06:00
Rene Gollent
dc074b4512 Include stop reason in report if available. 2012-11-24 09:05:55 -05:00
Alexander von Gluck IV
bbe04a83e0 Rpi: Fix build of Raspberry Pi.
* Raspberry Pi is broken now after
  the other recent arm work... needs
  more investigation.
* Comment out stage2 header as it
  links to headers with c++ code.
  Need to verify entry.s can call
  c++ code (I think it's mangled to
  the assembly or something)
* Fix naming of code entry to match
  other arm code.
2012-11-24 07:49:04 -06:00
Rene Gollent
a540b98527 Notify user in GUI when debug report has been written. 2012-11-24 00:53:25 -05:00
Rene Gollent
5fe3a57c43 Fix handling of automatic debug reports.
- CommandLineUserInterface is now a team listener. Consequently, when asked
  to generate a debug report on startup without running the input loop,
  it now waits for receipt of the debug report event to terminate.

- Style fixes.
2012-11-24 00:53:09 -05:00
Rene Gollent
248c2ff45c Rework control flow for debug report generator.
- DebugReportGenerator is now its own BLooper that generates reports asynchronously
  instead of in TeamDebugger's message loop.
- If a stack trace isn't yet available, DebugReportGenerator now waits for it to
  be generated.
- Extended Team to add a listener event for report generation completing. DebugReportGenerator
  now generates such an event when it has finished writing a report.
2012-11-24 00:44:00 -05:00
John Scipione
793d00f975 Remove obsolete time update checking code.
This was put into OpenDeskbar a long long time ago (2001):

http://opentracker.cvs.sourceforge.net/viewvc/opentracker/opentracker/deskbar/TimeView.cpp?r1=1.2&r2=1.3

However, this trick will no longer work because we use a localized
time string from the Locale Kit that might not have a ':' as a
time separator anymore. Also with day of week we don't know the
position of the time separator either.
2012-11-23 23:02:03 -05:00