a02f4b48d6
correct the kernel cxx export the kernel toolchain family. detect lzma availability and enable for i386/x86_64.
2025-09-17 13:53:13 +02:00
209e3bf9d4
improve the xz compression ratio, and force overwrite the target matching gz expose the package format to use via build.cfg, and adjust mmakefiles to use that value.
2025-09-17 13:45:35 +02:00
3bfd1e53f7
change the rules used by compress_file from -gz to -compress, and add a fmt parameter. Add rule to compress in .xz format. let make_package and link_kickstart take a packfmt parameter that is passed to compress_file
2025-09-17 13:40:20 +02:00
7b241a1585
use the correct function declarations
2025-08-14 07:30:08 +02:00
f962731143
Synchronize kernel modules between x86_64 and i386
2024-12-18 14:45:00 +01:00
c033a0e534
Add kernel to the list of modules
2024-12-13 09:34:29 +01:00
34c778ecd2
Other: pc-i386 - build kickstart from separate modules, rather then prebuild packages
2024-12-13 09:18:13 +01:00
9461fd917b
correct paths
2024-05-02 17:42:59 +02:00
6bbdc796cf
correct paths used in the floppy target - and make sure target directories are generated
2024-05-02 17:42:59 +02:00
d223aeb2ff
move grub back under /boot and not the aros arch dir.
2024-05-02 17:42:58 +02:00
2b63f30f6b
split AROS_DIR_ARCH so that it only defines the actual arch, and use a separate variable to reflect the path under boot/. use AROS_DIR_BOOTARCH in existing places.
2024-05-02 17:39:39 +02:00
c69f86278c
move the pc-i386 dependency to the correct mmakefile.src
2024-05-02 16:24:51 +02:00
66d076b347
# adapt arch specific kernel/exec code to use the new macros from mmake, when generating and consuming the necessary include directives for the build.cfg.in # remove the hard coded exec/kernel private header directives from the config files. # detect if the at symbol can be used instead of the hash symbol to silence section attrib warnings. # provide a correct cpu context for the riscv build, and various other definitions needed. # implement enough boilerplate code to at least get make && make distfiles to complete for the riscv target for now.
2024-05-02 16:24:50 +02:00
7c575c4f40
add riscv to the configure targets. adjust the distfiles-quick to properly support variants, and fix mmakefile's quick targets. addjust headers to support riscv.
2024-05-02 15:55:18 +02:00
0c2a5e99c5
# add the missing hidd attributes. # remove the interrupt/shutdown handlers when the unit is disposed.
2024-04-23 18:09:54 +02:00
efdea0d874
set the correct context size on i386. synch the platform init with x86_64 changes.
2024-04-23 18:08:58 +02:00
ad37a20acc
Disable ACPI in "safe mode"
...
There is already a number of boards that need to have ACPI disabled to
boot correctly. Adding it to safe mode to hopefully allow booting on
other such motherboards during problem triage.
2024-04-13 15:51:39 +02:00
feba347cf4
Synchronize how bootstrap is built between i386 and x86_64
...
Name change to stdc32.static is needed to make sure stdc.static from
main AROS output is not used on 32-bit.
2023-12-14 13:41:12 +01:00
32b8ff6ee6
only add the interrupt handlers when the units are created.
2023-04-15 09:16:10 +02:00
9c43243af6
use the existing asm/io.h definitions
2023-04-03 12:48:34 +02:00
a25b461e24
add a shutdown handler for the serial device
2023-04-03 12:48:34 +02:00
634df82c15
# move the context register definitions to cpu_x86.h, and use them. # adjust cpu_Init() to prevent miss-compilation - aros had been allocating too little storage for the sse register context, resulting in trashed memory.
2023-04-03 12:48:34 +02:00
8ae92b7f1a
WIP update to kernel initialization. # Spilt up APIC initialization and perform early config for the bsp, to make sure we handle any exceptions that occur during bootstrapping. # stop the APIC heartbeat during shutdown. # starting moving the generic (not-apic) parts to cpu_x86.h, and rename apic_intr->cpu_intr # fix allocation sizes for xstore are and use common definitions of sse context size. # dump IRR/ISR when a spurious interrupt occurs.
...
May need further work, and some drivers still need to be fixed to shutdown gracefully during reboot.
2023-04-03 12:36:23 +02:00
525a074bcd
define CPUSSEContxtSize
2023-04-03 12:07:53 +02:00
a28a46ecf4
Fix i386 build: add missing commit from debug buffer changes, so that output is deferred until after __KernBootPrivate is allocated, and closer to x86_64 behaviour.
2023-04-03 10:49:57 +02:00
44059b37a4
Handle double-fault exception as early as possible
...
When not handled, the exception turns into triple-fault and reboot.
Handling it early gives at least some crash debug output.
2023-02-19 17:07:18 +01:00
1a668808ed
Restore bootiso-quick target to be actually quick
...
Remove dependency on full by quick
Change the target to make target, so that it is build each time it is
invoked
2023-02-11 18:46:58 +01:00
b3ceb2c34d
Adjust to buildsdk changes
2023-01-23 18:52:17 +01:00
310bb9c32f
remove debug.library from the default modules again, since it has been re-added to the base package.
2022-06-24 07:55:56 +02:00
9c44f427cb
load the arch specific debug library
2022-06-24 07:55:56 +02:00
1d71f4a3cd
# reserve storage in the i386 and x86_64 pc private boot data for the debug buffer pointer and size. # adjust mmap registration code to omit this block from the registered memory chunk. # remove the last 1k of memory from the memory chunk used for kernel allocations to use as the debug buffer. Move debug output until after this is set up.
2022-06-24 07:07:17 +02:00
367ca6339f
Add ability to display timestamp and calling task to kernel debug output when DEBUG_TIMESTAMP is defined. rework pc arch specific _bug and _displayalert safedebug code, using DEBUG_USEATOMIC definition from config.h, and macros from kernel_debug.h. Provide an arch specific version of KrnBug for pc targets that is interrupt safe when DEBUG_USEATOMIC is enabled.
2022-06-24 07:07:16 +02:00
e214745d95
Disambiguate parameter size as long has different size 32 vs 64 bit
...
Debug -> flags -> keep 32-bit
MUI_AllocAslReqiest -> flags -> keep 32-bit
AddFreeList -> size of memory -> set to IPTR following Alloc* functions
This solves https://github.com/deadw00d/AROS/issues/72
2022-06-02 15:23:33 +02:00
bd2664b1d6
arch: detabbed
2021-05-02 14:22:22 +02:00
37d6884291
mmakefile*: header fixes
...
copyright sign unfied to (C)
$Id$ removed
2021-05-02 13:52:04 +02:00
a58f5dc15c
copyright header fixed
...
copyright sign unified to (C)
$Id$ removed
Lang: removed
2021-05-02 13:46:08 +02:00
1da1bfe5fc
expand the $(CPU) part of includes-asm_h locally, instead of in individual mmakefiles, so that metamake doesnt choke on it. make sure that includes-copy has completed before generating asm.h -> it requires the afore-mentioned headers.
2021-05-01 13:16:52 +02:00
a08f01e5d8
adjust a bunch of bootiso related targets to use a common native boot iso rule where they replicate behaviour. use consistent formatting for the dependencies. add a rule for hosted system distfiles to build aros-complete also.
2021-04-30 21:31:50 +02:00
41cd054081
clean up the distfiles targets.
2021-04-24 22:33:52 +02:00
9edcf9b7d3
alter the i38 context flags to match the x86_64 names. simplify setmem_sse register initialization by using _mm_set1_epi8. enable the use of the avx setmem version if the platform supports it.
2021-04-24 15:54:43 +02:00
61292cf7a9
add nvme to the i386 build.
2021-04-24 09:52:09 +02:00
53c9881706
force interrupt gates to the disabled state during initialization.
2021-04-23 22:08:53 +02:00
b1e46df697
Move aros/config.h to config SDK
2020-11-24 11:23:40 +01:00
1236fbfac9
Use private SDK to build hidds.
2020-11-17 20:56:08 +01:00
b5bcac282e
w.i.p. move the livecd icon image out of the AROS dir and under Disks, and rename for consistency. invoke the icon target from the distfiles targets to make the correct icon for the built platform.
2019-08-10 10:33:32 +02:00
10e0838a95
move a few icons off the system disk that dont exist on the normal workbench floppy.
2019-08-10 10:18:24 +02:00
a979c2b95b
wip: move the prefs and debug/hd install tools off the system floppy so that it can be built. TODO: restructure the m68k and x86 boot floppies to be more consistent with the original AmigaOS Workbench disks (Workbench, Extras, Fonts, Locale, Storage and Install). In combination with Michals ELF binary changes (when ready) this should give us a little breathing space on the floppy images.
2019-08-10 10:18:24 +02:00
f28951b8a1
use a separate boot-distfiles target to build a targets boot floppies/stand alone rom's if applicable. invoke the floppy targets for the pc-i386 boot-distfiles targets. separate the m68k boot floppy target from the distfiles target and invoke it for the boot-distfiles target.
2019-08-10 10:18:24 +02:00
0503349a52
revert erroneous part of the commit
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@55910 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2019-03-22 22:35:32 +00:00
5c8c3c122c
update floppy target to reflect recent changes
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@55909 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2019-03-22 22:29:32 +00:00