François Revol
af63ede7a1
U-Boot: PPC: Implement Book-E MMU support in bootloader
...
Unlike Classic PPC, Book-E CPUs do not have hardware page-table walk,
rather only a limited set of software-managed TLBs. Also, translation
is never disabled even when page-faulting.
The Linux Book-E port pins part of the RAM in one or more TLBs, and
allocates kernel memory from it for the kernel itself and exception
vectors, as well as page tables.
cf. http://kernel.org/doc/ols/2003/ols2003-pages-340-350.pdf
We take a similar approach, but instead of using a tree-like page
directory we reserve a large part of this mapped range for an
hashed page table similar to the Classic one, to later allow
factoring code out. The kernel and boot modules will also be
allocated there, and the rest should be used as SLAB areas.
Note doing so will not allow implementing proper permissions for
the areas allocated there since they are all handled by a single TLB.
Also note Book-E does not standardize the MMU implementation itself.
For now only AMCC440 type MMU is supported. This will need to be
cleaned up later on.
2013-03-09 03:33:12 +01:00
François Revol
0acc7a44b6
PPC: Work-in-progress MMU definitions for AMCC440/460.
...
Unfinished. the TLB entries require setting 3 registers plus another
field for the PID.
Didn't yet decide how to store this in the page tables.
2013-03-09 03:26:53 +01:00
François Revol
6e809753b1
U-Boot: PPC: Include asm macros header
...
Use the macros from the header instead of hardcoding.
Add FUNCTION_END() call to help gdb.
2013-03-09 03:22:41 +01:00
François Revol
80859e45b4
PPC: Comment out cpu-specific compile flags for Sam460ex
...
Userland and even kernel shouldn't require this anyway,
cpu-specific code can still be compiled with those flags separately.
2013-03-09 03:20:12 +01:00
François Revol
2441f3ed90
PPC: add debug sections to the linked kernel
...
Seems to be needed for gdb.
2013-02-23 18:25:36 +01:00
François Revol
00661368a2
PPC: Document how to automate TFTP-boot Haiku on Sam460ex
...
* U-Boot seems to have a very small limit on serial or shell input buffer,
so we split the commands into several variables that we run in sequence.
2013-02-23 04:01:19 +01:00
François Revol
c3052f0795
Merge branch 'master' into sam460ex
2013-02-22 16:58:43 +01:00
John Scipione
bcd9244e4a
Fix BCountry::GetName() method that was showing in BVolume::GetName()
2013-02-21 20:16:34 -05:00
John Scipione
9d5f5318a5
Move BVolume docs to the Haiku book
2013-02-21 20:15:53 -05:00
John Scipione
7635a303a2
SymLink.h not Symlink.h
2013-02-21 20:14:58 -05:00
Alex Smith
7f562d441c
Added xz-utils for x86_64 and updated to 5.0.4 (from scottmc).
2013-02-21 20:58:50 +00:00
François Revol
32bd2dedd9
bootloader: Fix an overlooked condition in mmu_allocate()
...
The size variable at this point is actually a page count.
The test should never be true anyway though. Maybe we should use a
pages variable for clarity?
2013-02-21 16:35:37 +01:00
François Revol
8dc3f98eda
RemoteDesktop: Fix build
2013-02-21 16:24:58 +01:00
John Scipione
fff103f567
WebPositive close x fixes.
...
* Remove the Close tab and Close find bar tooltips.
* Offset the x again.
* Add some comments.
2013-02-20 21:46:04 -05:00
John Scipione
52266c1de7
Minor correction, BDirectWindow not DirectWindow.
2013-02-20 16:38:56 -05:00
John Scipione
434716ced8
Add BSymLink class docs to Haiku Book
2013-02-20 16:20:53 -05:00
John Scipione
29f51b3431
Set brief for desc of Path.h Query.h Resources.h and Statable.h
2013-02-19 19:25:04 -05:00
John Scipione
5bff846db2
Move BStatable docs to Haiku Book.
2013-02-19 19:07:15 -05:00
John Scipione
789e7d856e
Tweak close x so it doesn't look disabled
2013-02-18 22:32:24 -05:00
John Scipione
8e13dec040
Correction in the BStopWatch contructor docs
2013-02-18 19:47:25 -05:00
John Scipione
db616065fa
Update BStopWatch documentation
2013-02-18 19:39:34 -05:00
John Scipione
6d5fae2a5a
Move resources docs to Haiku Book
...
* Remove docs from Resources.cpp (leaving the brief description).
* Reformat Resources.h to style it like so many other header files.
* There is one not-entirely style based change. I renamed the outSize
parameter or the LoadResource method to _size as is our convention for out
parameters.
2013-02-18 18:14:10 -05:00
François Revol
55e7521e36
ARM: Fix typo
2013-02-18 15:00:35 +01:00
François Revol
85e1bac215
U-Boot: Fix warning
2013-02-18 03:39:09 +01:00
Matt Madia
936ad11520
Style fixes from #4146 comment:11.
2013-02-17 21:32:04 -05:00
Matt Madia
e92b40188a
Automatic whitespace cleanup. No functional change.
2013-02-17 21:31:35 -05:00
Tamás Krutki
da2db35956
Allow Magnify to resize to smaller sizes more gracefully.
...
Fixes ticket #4146
Signed-off-by: Matt Madia <[email protected] >
2013-02-17 21:31:05 -05:00
John Scipione
819c63ad65
Set tooltip in instance of close button, not class.
...
Also set a similar tooltip for the previous and next buttons and
comments for translators.
2013-02-17 21:22:03 -05:00
François Revol
0255210b04
U-Boot: PPC: properly enumerate CPUs
...
* Code comes almost verbatim from OF platform.
* Only bus frequency needs to be read from the /plb node instead.
2013-02-18 02:47:34 +01:00
François Revol
4c50a9bcfd
U-Boot: move of_init() call before cpu_init()
...
So we can use the OF wrapper there as well and copy code verbatim from
the OF platform.
2013-02-18 02:42:03 +01:00
John Scipione
6f53c50c36
Need to call baseclass AttachedToWindow()
2013-02-17 20:41:33 -05:00
François Revol
05e65058fe
U-Boot: cleanup
2013-02-18 02:41:16 +01:00
François Revol
aa9d092029
U-Boot: implement of_get_next_device() in the OF wrapper
2013-02-18 02:40:16 +01:00
John Scipione
cdb4abbd18
Add tooltips for close tab and close find bar
2013-02-17 20:26:33 -05:00
John Scipione
8848aa106a
Update close find bar button to appear similar to close tab button.
2013-02-17 20:14:17 -05:00
John Scipione
688daae9cc
Don't offset close tab x on click
2013-02-17 20:13:33 -05:00
John Scipione
8236628b59
Style changes only
2013-02-17 20:13:32 -05:00
Alexander von Gluck IV
da08cea0e3
GL: Remove gcc2 no-warning hacks
...
* Solved in hrev45296 through updated package
* Resolves #8882
2013-02-17 18:18:17 -06:00
François Revol
acc4e245de
U-Boot: Typo
2013-02-18 00:58:16 +01:00
François Revol
219f59da1f
U-Boot: bail out in of_init() if no FDT passed
2013-02-18 00:52:31 +01:00
Alexander von Gluck IV
71748e65f1
Mesa: Update 7.8.2 BuildFeature package
...
* bep in haikuports r2277
* Should resolve #8882
2013-02-17 17:47:49 -06:00
François Revol
307c6177df
U-Boot: cleanup OpenFirmware wrapper tracing
2013-02-18 00:47:22 +01:00
Matt Madia
900018fd21
Removed executable flag. No functional changes.
2013-02-17 18:46:52 -05:00
Jessica Hamilton
d097f67cee
Add optional username/password fields to Web+ proxy settings.
...
Signed-off-by: Matt Madia <[email protected] >
2013-02-17 18:46:51 -05:00
François Revol
5bdc10121b
U-Boot: use FDT call directly in of_init() in OF wrapper
...
This avoids calling dprintf() and allows calling it earlier.
2013-02-18 00:42:10 +01:00
François Revol
f4b31e85b5
U-Boot: PPC: Spice up CPU detection, trying both PVR and FDT
...
* Read the PVR register to determine the CPU type.
* Also check the FDT /cpu/cpu@0 node for model string
(we use the FDT calls directly since the OF wrapper isn't initialized yet).
* Use this to enable the FPU APU hack for 440 (instead of #ifdef).
2013-02-18 00:22:56 +01:00
Alexander von Gluck IV
857bec6ff5
Mesa: Update gcc4 Mesa to 9.0.2
...
* bep added to haikuports r2274
2013-02-17 16:09:22 -06:00
Murai Takashi
9010edd275
Adds a localization to Network preference.
...
Fixes #9089 .
Signed-off-by: Matt Madia <[email protected] >
2013-02-17 16:40:24 -05:00
Niels Sascha Reedijk
a6b0b081cc
Update userguide translations
2013-02-17 21:56:39 +01:00
Matt Madia
ac966d5941
LaunchBox: add Open containing folder option.
...
Contributed by abhiin1947. Fixes #7951 .
2013-02-17 11:53:23 -05:00