Commit Graph

44177 Commits

Author SHA1 Message Date
Rene Gollent
f4621a90de Don't leak the hidden child if present. 2012-11-30 20:55:54 -05:00
Rene Gollent
6be1e373d5 Fix typecasting in address->compound node case.
- In the special case of an address node with a hidden child, we
  must send notifications for removal of the hidden compound's
  children rather than for the hidden node itself. Otherwise the
  base TreeTable's state gets out of sync, leading to a crash when
  attempting to typecast such a node.
2012-11-30 20:23:39 -05:00
Matt Madia
9010bda0c8 Update VL-Gothic fonts to version 20121109. Closes #9130. 2012-11-30 20:17:39 -05:00
Rene Gollent
86f0f139a9 Fix kernel build with KDEBUG_LEVEL 0. 2012-11-30 18:23:15 -05:00
Michael Lotz
fed8bb7dff Fix index range for ARM MMU coarse page tables.
As there are only 8 bits for the index in the coarse page table entries
the maximum index is 256. This makes us correctly move to the next page
directory once we've run through all entries. Fixes missing unmap of
pages that crossed that boundary and consequent panic "page still has
mappings" when the page was removed from a cache.
2012-11-30 22:09:07 +01:00
Axel Dörfler
587cd228ba Fixed regression: Terminal cursor color is back to black. 2012-11-30 13:42:00 +01:00
Axel Dörfler
f0ae953990 Added libmedia.so, ActivityMonitor, and Sudoku to the 64 bit image. 2012-11-30 13:16:38 +01:00
Axel Dörfler
332cc6bc3b 64 bit fixes for libmedia.so, ActivityMonitor, and Sudoku.
* Alex, I feel your pain :-)
2012-11-30 13:16:38 +01:00
John Scipione
8f6542aa68 Fix build with FAKE_HARDWARE_CURSOR_SUPPORT turned on
by adding the const specifier to the uint8* parameters of the
prototypes of the vesa_set_cursor_shape and vesa_set_cursor_bitmap
functions.

Thanks looncraz for pointing this out.
2012-11-29 12:49:34 -05:00
Rene Gollent
4e9b38d34e Fix #9221.
- When an image creation notification is received, the thread
  that provoked it needs to be suspended until the debugger has
  finished loading the image's debug information. Otherwise, if that
  image had a breakpoint in it, it was possible that the thread would
  execute past the code where the breakpoint should be before the
  debugger had a chance to actually install it.

- Only update breakpoints when debug info loading has actually finished.
2012-11-29 08:12:49 -05:00
threedeyes
678934b3ea Code cleanup. 2012-11-29 07:55:20 +00:00
Alexander von Gluck IV
84169234d7 swpipe: Cleanup, code correction
* Remove error text as giving SetCurrentContext
  a NULL bitmap isn't a critical error.
* Ensure old front buffer is flushed on SetCurrentContext
* Small style fix
2012-11-28 23:03:03 -06:00
Alexander von Gluck IV
caa23ee333 swpipe: First work on winsys calls
* Move winsys code into a new file given the size
* Try to fill in as much logic as I can on creating
  and destroying the Gallium displaytarget
2012-11-28 23:03:03 -06:00
Michael Lotz
50af89af0b Put the swapped ATA model/serial strings into the SCSI inquiry.
The ATA info block has the model, serial and firmware revision byte
swapped that we already converted and then printed out correctly. The
original values were however copied to the SCSI inquiry data so the
device names that end up in different places were incorrect. This
fixes #7926.

Also added a comment explaining that there's way too little space in
the SCSI inquiry block to fit in the full ATA data.
2012-11-29 00:31:33 +01:00
Axel Dörfler
9d5955453c Add partition type to fs column for unknown file systems.
* Original patch by Morgul as part of #4235. This does not close the ticket,
  however.
* Updated the patch to not show empty '()' in case the partition type
  returned was NULL.
2012-11-28 23:26:39 +01:00
Axel Dörfler
8df20d2c85 Minor coding style cleanup. 2012-11-28 22:34:48 +01:00
Axel Dörfler
ed80f189ce Applied an updated patch by looncraz to enable hardware cursor.
I made the following changes to the original patch:
 * Add const to the cursor setting functions.
 * Removed the legacy cursor copying code.
 * Minor coding style cleanup.
2012-11-28 22:33:08 +01:00
Alex Smith
133a094f80 Added Python optional package for x86_64. 2012-11-28 21:32:32 +00:00
Michael Lotz
9def48ad2e Implement B_GET_DEVICE_NAME in usb_disk returning SCSI info.
The SCSI inquiry vendor and product information is concatenated into a
single string to form the device name. Multiple spaces are then
collapsed to make the string more readable. The space padding is quite
common as the fields are fixed size in the inquiry block.
2012-11-28 21:30:00 +01:00
Alexander von Gluck IV
f125673c3f Rpi: Update instructions based on mmlr's recent work 2012-11-28 14:09:51 -06:00
Alexander von Gluck IV
47038ab6ef swpipe: General cleanup
* Ensure context_id type is used constantly
* Put typedef of var in for loops in statement
* Clean up a few lines over 80
* Thanks korli!
2012-11-28 09:24:41 -06:00
Alexander von Gluck IV
b8bb5c500a swrast: Rework resource text 2012-11-28 05:01:08 +00:00
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