History log of /haiku/src/system/kernel/arch/ppc/arch_platform.cpp
Revision Date Author Comments
# 950f68e3 16-Aug-2021 Alexander von Gluck IV <kallisti5@unixzen.com>

kernel/uart: Fix PPC, drop needless abstraction

Change-Id: I4b8f69271ede117701725f9cce30de5bb8ba30bb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4332
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>


# 09b40d16 03-Dec-2019 Ynoga <ynoga@protonmail.com>

ppc: Minor tweaks to get the arch compile again (WIP)

- Factor in types changes (introduction of intptr_t)
- Align JamFiles syntax with in progress architectures (arm/sparc)
- Xorriso doesn't support much of the mkisofs options (anymore ?)
- (After a correct bootstrap) one should be able to build @minimum-raw and haiku-boot-cd again
Change-Id: I4f779ad8f2210389fa9b7f7c0a98c3652a64c257
Reviewed-on: https://review.haiku-os.org/c/haiku/+/1983
Reviewed-by: François Revol <revol@free.fr>


# 5d0fd0e4 05-Aug-2018 Alexander von Gluck IV <kallisti5@unixzen.com>

fdt: Major over-haul of fdt

* Consolidate all fdt code into fdt bus_manager
* Build boot and kernel static libraries

Change-Id: I2a69cd7e1f1276999a80734ff12918fd49b599e5
Reviewed-on: https://review.haiku-os.org/440
Reviewed-by: Alexander von Gluck IV <kallisti5@unixzen.com>


# 1fe7e671 05-Nov-2015 François Revol <revol@free.fr>

PPC: call debug_uart_from_fdt with C++ linkage


# 3060b78c 20-Apr-2013 François Revol <revol@free.fr>

PPC: Setup debug UART for kernel when booted from U-Boot

Welcome to kernel debugger output!
\o/


# 18ea985a 20-Apr-2013 François Revol <revol@free.fr>

U-Boot: PPC: set gFDT when passed to the kernel.


# 0e5f9797 22-Sep-2012 François Revol <revol@free.fr>

PPC: Add a stub PPCUBoot platform class

* use the platform field in arch_kernel_args to determine which platform to instanciate


# e633c3c1 21-Aug-2010 Andreas Färber <andreas.faerber@web.de>

kernel_ppc: Disable fake serial output for frame buffer

Avoid writing to stdout if the frame buffer is enabled.

Part of ticket #6105.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38305 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 04ec719a 26-Jun-2010 Andreas Färber <andreas.faerber@web.de>

Convert line endings to LF

In r33670 the svn:eol-style property was dropped, which took care of
locally converting the line endings to the user's native style.
While most files use Unix-style LF line endings, some files have
Windows-style CR LF line endings.

Assure that the following r37262 directories use Unix-style line endings:

src/system/boot/
src/system/boot/arch/
src/system/boot/arch/ppc/
src/system/boot/loader/
src/system/boot/loader/net/
src/system/boot/platform/
src/system/boot/platform/openfirmware/
src/system/boot/platform/openfirmware/arch/
src/system/boot/platform/openfirmware/arch/ppc/
src/system/kernel/
src/system/kernel/arch/
src/system/kernel/arch/ppc/
src/system/kernel/platform/
src/system/kernel/platform/openfirmware/
headers/private/kernel/
headers/private/kernel/arch/
headers/private/kernel/arch/ppc/
headers/private/kernel/platform/
headers/private/kernel/platform/openfirmware/
headers/private/kernel/boot/
headers/private/kernel/boot/net/
headers/private/kernel/boot/platform/
headers/private/kernel/boot/platform/openfirmware/

This avoids patches containing irrelevant lines unintentionally converted.

No functional changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37265 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 59b66b0c 15-Oct-2007 Jérôme Duval <korli@users.berlios.de>

fix ppc build


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22575 a95241bf-73f2-0310-859d-f6bbb57e9c96


# afd6dfc8 28-Jan-2006 Axel Dörfler <axeld@pinc-software.de>

Implemented first basic APM driver. Only tested with QEMU so far, that's why
it's currently disabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16120 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6cdd45a9 26-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Added enum to PPCPlatform to identify the platform.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16099 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8baf8813 07-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Added "shutdown" debugger command. Implemented arch_cpu_shutdown() for
PPC.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15862 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 85af525e 07-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added missing call to __ppc_setup_system_time(). system_time()
and real_time_clock[_usecs]() finally seem to work (at least in
the kernel).
* Removed accidentially committed debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15861 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e55e1a0e 03-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Implemented the PPC specific RTC support. We search for an "rtc"
device in the Open Firmware implementation of boot loader and
pass its path to the kernel, where it's opened and used for
getting/setting the real time. The expensive atomic_*64() on PPC
32-bit make things a bit more complicated. Moreover, missing
64 bit multiplication and division instructions won't really
allow system_time() to be anywhere near as fast as on x86. :-/


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15837 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7afa713a 03-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Reorganized the boot platform dependencies in the kernel a bit.
Basically the architecture specific code is now responsible to
init and make use of the platform specific code, now. The reason
being that we have only one kernel per platform and thus cannot
decide at compile time, which platform to use (if any).
The PPC implementation features an abstract base class PPCPlatform
(implemented for all supported platforms) through which platform
support is provided.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15824 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3060b78cfcec4ca051a9ff234bf2f1451612dc53 20-Apr-2013 François Revol <revol@free.fr>

PPC: Setup debug UART for kernel when booted from U-Boot

Welcome to kernel debugger output!
\o/


# 18ea985addc099a6feb5ba3ea86d55c999ef93be 20-Apr-2013 François Revol <revol@free.fr>

U-Boot: PPC: set gFDT when passed to the kernel.


# 0e5f9797201b006636c70a95a9664c19c85a24d0 22-Sep-2012 François Revol <revol@free.fr>

PPC: Add a stub PPCUBoot platform class

* use the platform field in arch_kernel_args to determine which platform to instanciate


# e633c3c15b89a3ac4b0a3ec717716f2a4be7860c 21-Aug-2010 Andreas Färber <andreas.faerber@web.de>

kernel_ppc: Disable fake serial output for frame buffer

Avoid writing to stdout if the frame buffer is enabled.

Part of ticket #6105.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38305 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 04ec719a7040836b0860309cdf002a2cd156f913 26-Jun-2010 Andreas Färber <andreas.faerber@web.de>

Convert line endings to LF

In r33670 the svn:eol-style property was dropped, which took care of
locally converting the line endings to the user's native style.
While most files use Unix-style LF line endings, some files have
Windows-style CR LF line endings.

Assure that the following r37262 directories use Unix-style line endings:

src/system/boot/
src/system/boot/arch/
src/system/boot/arch/ppc/
src/system/boot/loader/
src/system/boot/loader/net/
src/system/boot/platform/
src/system/boot/platform/openfirmware/
src/system/boot/platform/openfirmware/arch/
src/system/boot/platform/openfirmware/arch/ppc/
src/system/kernel/
src/system/kernel/arch/
src/system/kernel/arch/ppc/
src/system/kernel/platform/
src/system/kernel/platform/openfirmware/
headers/private/kernel/
headers/private/kernel/arch/
headers/private/kernel/arch/ppc/
headers/private/kernel/platform/
headers/private/kernel/platform/openfirmware/
headers/private/kernel/boot/
headers/private/kernel/boot/net/
headers/private/kernel/boot/platform/
headers/private/kernel/boot/platform/openfirmware/

This avoids patches containing irrelevant lines unintentionally converted.

No functional changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37265 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 59b66b0cb5d73808724e4f220fab68f8fc900e0b 15-Oct-2007 Jérôme Duval <korli@users.berlios.de>

fix ppc build


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22575 a95241bf-73f2-0310-859d-f6bbb57e9c96


# afd6dfc8b400a598ff4b610951548c5a7d2007cb 28-Jan-2006 Axel Dörfler <axeld@pinc-software.de>

Implemented first basic APM driver. Only tested with QEMU so far, that's why
it's currently disabled.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16120 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6cdd45a94ba32b2d576923882d1c1ee4003e1185 26-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Added enum to PPCPlatform to identify the platform.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16099 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8baf8813c0562df49a23b32f42b95c544af1a20b 07-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Added "shutdown" debugger command. Implemented arch_cpu_shutdown() for
PPC.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15862 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 85af525e59483211c65841380388d44a2b3e56f4 07-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added missing call to __ppc_setup_system_time(). system_time()
and real_time_clock[_usecs]() finally seem to work (at least in
the kernel).
* Removed accidentially committed debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15861 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e55e1a0e666da61eb901533dae4af2ec44d216d8 03-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Implemented the PPC specific RTC support. We search for an "rtc"
device in the Open Firmware implementation of boot loader and
pass its path to the kernel, where it's opened and used for
getting/setting the real time. The expensive atomic_*64() on PPC
32-bit make things a bit more complicated. Moreover, missing
64 bit multiplication and division instructions won't really
allow system_time() to be anywhere near as fast as on x86. :-/


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15837 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7afa713acb69df4a1cd3a53a950af9f409d84514 03-Jan-2006 Ingo Weinhold <ingo_weinhold@gmx.de>

Reorganized the boot platform dependencies in the kernel a bit.
Basically the architecture specific code is now responsible to
init and make use of the platform specific code, now. The reason
being that we have only one kernel per platform and thus cannot
decide at compile time, which platform to use (if any).
The PPC implementation features an abstract base class PPCPlatform
(implemented for all supported platforms) through which platform
support is provided.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15824 a95241bf-73f2-0310-859d-f6bbb57e9c96