#
372b901d |
|
28-Aug-2021 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
riscv: cleanup architecture macro checks * We really should get out of the habbit of making up our own architecture defines. * __riscv with an additional __riscv_xlen is the standard that developed... let's just roll with it. Change-Id: Ieb777d48340ae25a6d66f66133afa0ec5c6da9b6 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4402 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
1f52c921 |
|
30-Aug-2019 |
Jaroslaw Pelczar <jarek@jpelczar.com> |
ARM64: Initial changes so we can compile GCC toolchain Signed-off-by: Jaroslaw Pelczar <jarek@jpelczar.com> Change-Id: I0859d0619d601efd003472e2846d2f980ee2e457 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1799 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
c59cde3d |
|
03-Apr-2019 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
riscv32: Drop any remaining mentions * I added this early on, but to be honest, any interesting workstation class hardware would be riscv64. * Since riscv32 is mostly embedded or low power, just drop. Change-Id: Id36274c882c46e766268f2ab53eb1bd5f95227be Reviewed-on: https://review.haiku-os.org/c/1352 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
382c3f6e |
|
02-Apr-2019 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
headers/config: Fix RISCV64 define typoed to 32 Change-Id: I20890218f5edd279ab1080432a4d91f5a7f64dee
|
#
454b04ca |
|
30-Mar-2019 |
Augustin Cavalier <waddlesplash@gmail.com> |
HaikuConfig: Change _BEOS_COMPATIBLE_TYPES to only be defined on i386. Hopefully soon we will have our first 32-bit non-x86 architectures. No functional change for x86 32- and 64-bit intended.
|
#
5ffbe7d7 |
|
30-Mar-2019 |
Augustin Cavalier <waddlesplash@gmail.com> |
Change all references to "__INTEL__" to "__i386__". They are functionally identical, but the former is a BeOS/Haiku-specfic macro that we include in the compiler specs, and the latter is defined by GCC.
|
#
5629675a |
|
17-Feb-2019 |
Adrien Destugues <pulkomandy@gmail.com> |
sparc: add defines and minimum set of required files Gets the stage0 bootstrap to run. Imlementation is probably nonsense at this point. Change-Id: I10876efbb54314b864c0ad951152757cdb2fd366 Reviewed-on: https://review.haiku-os.org/c/1061 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
5bd0fbd1 |
|
04-Nov-2018 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
build: Add riscv architecture * I mean, qemu 3.0 supports it. * Nobody get excited, we need all the triplets added to our gcc buildtools. clang 7.0 seems to be cool with riscv though. Change-Id: I17728163e4f28a3c16cee482a253364724b06f3a
|
#
fb4cc984 |
|
02-Aug-2018 |
Augustin Cavalier <waddlesplash@gmail.com> |
build: Add initial ARM64 target. It will probably be just stubs for the significant future, but, here it is anyway. Regarding the naming: Yes, the official name is "aarch64." However, Linux, FreeBSD, and Zircon all call it "arm64", and so we will do the same. I've configured it initially to be a Clang-only port, making no changes to GCC buildtools whatsoever here. We'll see if that sticks, however.
|
#
9642f770 |
|
31-Jul-2018 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
arch: Cleanup of __ARM__ checks * gcc 7.x defines __arm__ and __ARM__ (and others) * clang defines __arm__ and __arm * cleanup a few related ifdef vs if macros Change-Id: I5da4bafac590f6fa3e10e543688001c2449f840d
|
#
f8da8f34 |
|
01-Jan-2014 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
ARM: Be aware of ARMEL and ARMEL * My BeagleBone gcc defines __ARMEL__ but not __ARM__ which breaks the native tool builds * As ARM was originally Little Endian, we assume __ARM__ means as such. * Look for Big Endian ARM and define the needed big endian preprocessors
|
#
1026b0a1 |
|
11-Aug-2012 |
François Revol <revol@free.fr> |
ppc: use 64 bit physical addressing * At least the 4xx cpu types use PAE-like 36 bit addressing, including for mapped peripherals.
|
#
323b6546 |
|
21-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Filtered flat import of Oliver's svn package management branch Bring the changes that aren't package management related and the ones that are but don't take effect as long as they are ignored by the build system into the master. Summary of changes: * Introduce private header <directories.h> with constants for a good deal of paths that should usually be retrieved via find_directory(). * Replace hard-coded paths by using find_directory() or the <directories.h> constants (e.g. in drivers and the kernel). * Add find_directory() constants needed for package management. * Add __HAIKU_ABI_NAME and B_HAIKU_ABI_NAME macros. * src/apps/deskbar: BeMenu.* -> DeskbarMenu.*, DeskBarUtils.* -> DeskbarUtils.* * Change deskbar menu settings directory from ~/config/be to ~/config/settings/deskbar. * Other smaller cleanups, changes, and fixes.
|
#
3dfd9cb9 |
|
16-Jun-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Flat commit of all changes from package-management branch in svn
|
#
f3eead13 |
|
23-Jun-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Changed to 64 bit physical addresses for x86. This enabled PAE support. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37233 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d382fc3a |
|
11-Jun-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added commented line to enable PAE. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37101 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d34daac8 |
|
24-May-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* config/{HaikuConfig.h,types.h}: - Added macro __HAIKU_ARCH_BITS specifying the architecture bitness (32/64) (might be more convenient to use than __HAIKU_ARCH_{32,64}_BIT). - Added macros __HAIKU_ARCH_PHYSICAL_BITS, __HAIKU_ARCH_PHYSICAL_{32,64}_BIT, and the types __haiku_phys_[s]addr_t. The intention is to use separate macros and types for virtual and physical addresses, since for some architectures (e.g. x86 with PAE) those actually differ. * sys/types.h, BeBuild.h, SupportDefs.h: - Added types phys_[s]addr_t and respective printf() format macros. - Added public macros B_HAIKU_BITS, B_HAIKU_PHYSICAL_BITS, B_HAIKU_PHYSICAL_{32,64}_BIT. Might break the build under older Haiku installations. Will test next. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36926 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
97901ec5 |
|
11-May-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Nathan Mentley: * Added a few header files in headers/posix/arch that'll allow for an x86_64 haiku target to be compiled. fenv.h is src/lib/msun/amd64/fenv.h from freebsd. * configure: Added support for x86_64 arch when running build_cross_tools_gcc4. * config[_build]/HaikuConfig.h, BuildSetup: Added x86_64 recognition. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36794 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
abb72bec |
|
25-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed __HAIKU_ARCH for m68k. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34252 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b20286c4 |
|
25-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
For the time being go with BeOS compatible types for all but 64 bit architectures. Fixes the PPC build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34235 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2222d055 |
|
24-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Introduced new header directory "config", which ATM contains HaikuConfig.h and types.h. The idea is to provide a basic architecture/compiler abstraction by defining types and macros that allow the posix/ and os/ headers to be mostly architecture/compiler agnostic. * Adjusted the posix/ and os/ headers accordingly. * <SupportDefs.h>: Introduced B_PRI* and B_SCN* macros similar to the PRI* and SCN* macros defined in <inttypes.h>, just for the BeOS/Haiku [u]int* types and some POSIX types (e.g. off_t, dev_t, ino_t) that don't have POSIX macros. Also the B_PRI* and B_SCN* macros are available unconditionally, unlike the <inttypes.h> macros, which require __STDC_FORMAT_MACROS to be defined in C++ mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34214 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f8da8f3477d3c18142e59d17d05a545982faa5a8 |
|
01-Jan-2014 |
Alexander von Gluck IV <kallisti5@unixzen.com> |
ARM: Be aware of ARMEL and ARMEL * My BeagleBone gcc defines __ARMEL__ but not __ARM__ which breaks the native tool builds * As ARM was originally Little Endian, we assume __ARM__ means as such. * Look for Big Endian ARM and define the needed big endian preprocessors
|
#
1026b0a1a76dc88927bb8175c470f638dc5464ee |
|
11-Aug-2012 |
François Revol <revol@free.fr> |
ppc: use 64 bit physical addressing * At least the 4xx cpu types use PAE-like 36 bit addressing, including for mapped peripherals.
|
#
323b65468e5836bb27a5e373b14027d902349437 |
|
21-Nov-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Filtered flat import of Oliver's svn package management branch Bring the changes that aren't package management related and the ones that are but don't take effect as long as they are ignored by the build system into the master. Summary of changes: * Introduce private header <directories.h> with constants for a good deal of paths that should usually be retrieved via find_directory(). * Replace hard-coded paths by using find_directory() or the <directories.h> constants (e.g. in drivers and the kernel). * Add find_directory() constants needed for package management. * Add __HAIKU_ABI_NAME and B_HAIKU_ABI_NAME macros. * src/apps/deskbar: BeMenu.* -> DeskbarMenu.*, DeskBarUtils.* -> DeskbarUtils.* * Change deskbar menu settings directory from ~/config/be to ~/config/settings/deskbar. * Other smaller cleanups, changes, and fixes.
|
#
3dfd9cb95ce45f59160d50975210bc55e3fc0709 |
|
16-Jun-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
Flat commit of all changes from package-management branch in svn
|
#
f3eead13e4bdb056c4ab42d8e202b1e879c53e88 |
|
23-Jun-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Changed to 64 bit physical addresses for x86. This enabled PAE support. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37233 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d382fc3a8e7edf2bb0e5e81f95bbd3ae80ea1ca0 |
|
11-Jun-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added commented line to enable PAE. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37101 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d34daac82a58a31e54a076f121c2bbb0cea60447 |
|
24-May-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* config/{HaikuConfig.h,types.h}: - Added macro __HAIKU_ARCH_BITS specifying the architecture bitness (32/64) (might be more convenient to use than __HAIKU_ARCH_{32,64}_BIT). - Added macros __HAIKU_ARCH_PHYSICAL_BITS, __HAIKU_ARCH_PHYSICAL_{32,64}_BIT, and the types __haiku_phys_[s]addr_t. The intention is to use separate macros and types for virtual and physical addresses, since for some architectures (e.g. x86 with PAE) those actually differ. * sys/types.h, BeBuild.h, SupportDefs.h: - Added types phys_[s]addr_t and respective printf() format macros. - Added public macros B_HAIKU_BITS, B_HAIKU_PHYSICAL_BITS, B_HAIKU_PHYSICAL_{32,64}_BIT. Might break the build under older Haiku installations. Will test next. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36926 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
97901ec593ec4dd50ac115c1c35a6d72f6e489a5 |
|
11-May-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Patch by Nathan Mentley: * Added a few header files in headers/posix/arch that'll allow for an x86_64 haiku target to be compiled. fenv.h is src/lib/msun/amd64/fenv.h from freebsd. * configure: Added support for x86_64 arch when running build_cross_tools_gcc4. * config[_build]/HaikuConfig.h, BuildSetup: Added x86_64 recognition. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36794 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
abb72bec4b50661dc326a98824ca0a26500805f7 |
|
25-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixed __HAIKU_ARCH for m68k. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34252 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b20286c41c5afb795b9d5d13359633538be05774 |
|
25-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
For the time being go with BeOS compatible types for all but 64 bit architectures. Fixes the PPC build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34235 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2222d0559df303a9846a2fad53741f8b20b14d7c |
|
24-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Introduced new header directory "config", which ATM contains HaikuConfig.h and types.h. The idea is to provide a basic architecture/compiler abstraction by defining types and macros that allow the posix/ and os/ headers to be mostly architecture/compiler agnostic. * Adjusted the posix/ and os/ headers accordingly. * <SupportDefs.h>: Introduced B_PRI* and B_SCN* macros similar to the PRI* and SCN* macros defined in <inttypes.h>, just for the BeOS/Haiku [u]int* types and some POSIX types (e.g. off_t, dev_t, ino_t) that don't have POSIX macros. Also the B_PRI* and B_SCN* macros are available unconditionally, unlike the <inttypes.h> macros, which require __STDC_FORMAT_MACROS to be defined in C++ mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34214 a95241bf-73f2-0310-859d-f6bbb57e9c96
|