Commit Graph

44355 Commits

Author SHA1 Message Date
Alexander von Gluck IV
c59004fcc3 swpipe: Fix copyright text in header 2012-11-28 05:00:26 +00:00
Alexander von Gluck IV
5c29f9b94d swpipe: Add resources to add-on 2012-11-28 04:59:30 +00:00
Alexander von Gluck IV
e7de079b54 swpipe: Fix bitmap creation
* 1x1 is a valid bitmap size
* GLInfo is now working showing
  the softpipe renderer info :)
2012-11-28 03:39:55 +00:00
Alexander von Gluck IV
14c416c1b4 swpipe: Improve context management
* Ensure all context pointers are in a known state
* Destroy all contexts on shutdown
2012-11-28 03:28:26 +00:00
Alexander von Gluck IV
5c13f06d8c swpipe: Add a missing hook call for get_param
* For now we always force fb validation
* Thanks for finding this AnEvilYak!
* swpipe driver no longer crashes
  (however it doesn't work yet)
2012-11-28 02:54:45 +00:00
Alexander von Gluck IV
9644dea48d swpipe: Spell check header guard. No funtional change.
* Thanks Urias :)
2012-11-27 20:12:20 -06:00
Rene Gollent
0838236c49 Remove check.
- It can actually happen that an app crashes due to being at IP 0.
  The short circuit was consequently preventing us from unwinding the
  stack properly in such a case.
2012-11-27 21:05:40 -05:00
Rene Gollent
6fd173ecd8 Fix build with control tracing enabled. 2012-11-27 20:56:46 -05:00
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
André Hentschel
a8fe6dad7e Fix header protection for the beagle board 2012-11-26 17:59:53 +01: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
2510baa468 Add x86_64 to IOP 2012-11-25 16:28:52 -05:00
Matt Madia
9d833d3147 Add newline at end of file. 2012-11-25 15:07:48 -05:00
Niels Sascha Reedijk
59cf63d71a Update translations from Pootle 2012-11-25 19:09:51 +01:00