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
6785b79326
make sure we check the correct location for the fonts
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@55837 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2019-03-15 20:27:29 +00:00
a0792d2aef
fix some flag usage in mmakefiles. provide suitable names for amiga hardware devices. Expose a new base bus class. Expose controller, bus and unit classes from the storage class inheriting from the base bus class. Adapt the ata existing classes to use the new storage class api's. Rework AHCI device so that it exposes similar hidd objects to the ata device using the storage subsystem api. Rework SysExplorer to support modular extensions and reimplement the storage/ata/ahci support as external modules. Adapt the storage/ata/ahci enumerators to use the new storage api to query devices. (NicJA)
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@55802 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2019-03-08 21:47:59 +00:00
84235f2db1
clean up some makefile issues. (NicJA)
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@55720 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2019-02-23 09:58:02 +00:00
e8a10fed62
Clear IDT on warm reboot. Otherwise our IDT initialisation doesn't work.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@55404 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2018-08-19 23:59:25 +00:00
ea97d855ef
Slight readability improvement: #define the TSS selector.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@55399 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2018-08-13 23:06:39 +00:00
ed5769c2c9
Also initialise the GDT from a template after a warm reboot (as was done in
...
the past). Otherwise warm reboots fail.
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@55398 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2018-08-13 23:03:50 +00:00
1773f4553a
make sure smpboot is generated in the correct directory
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@55347 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2018-06-19 03:31:15 +00:00
07f8ac6c58
* config/make.tmpl build_module: create modules in a subdir based on modname, to prevent cross contamination in mmakefiles that build more than one module where arch specific files for modules ended up getting used by all the modules corrupting memory.
...
build_archspecific: use the same paramater name for the module as build_module. use the correct modname based gendir to generate files, and allow a hardcoded objdir to be specified.
* compiler/stdc/stdcio.conf : adjust offsets to match stdc
* */mmakefile.src : various fixes to compile from the correct locations due to the changes in make.tmpl.
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@55345 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2018-06-18 06:17:11 +00:00
9afd8660dd
Use 32-bit register names in debug messages.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@55178 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2018-05-27 20:19:17 +00:00
c8031c4f27
Allow the PRINT_CPUCONTEXT macro to be used as a single statement.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@55075 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2018-04-03 02:10:28 +00:00
11eb67e61a
- Improvements to comments and debug messages.
...
- Added missing properties.
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@55057 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2018-03-03 21:47:13 +00:00
7adcc647b1
fix paths.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@54402 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-03-31 13:53:21 +00:00
4d6b455415
Big change - moved local APIC interrupts to absolute end of x86/x64 vector table, leaving more room for any other IRQ sources. The local APIC interrupts (IPIs, Heartbeat, Error or Spurious) are treated as exceptions, where several handlers may be attached. As a consequence of change, the vector of system call interrupt changed from 0x80 to 0xfe, it may also disappear on x86_64 in near futer, once replaced with syscall/sysret cpu instructions.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@54372 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-03-30 12:08:10 +00:00
5968b15288
add the acpibutton class to the bsp package.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@54144 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-03-16 03:08:34 +00:00
4ba0cf778f
synch mmakefile behaviour
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@54058 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-03-08 03:22:09 +00:00
3c0d99e506
Synchronize more of the common data between x86 32bit and 64bit targets. provide an arch specific addirqhandler for x86 to facilitate MSI interrupt handling. start fleshing out needed defines and code.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53995 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-03-02 00:07:39 +00:00
c505e8782e
keep PlatformData in synch...
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53891 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-25 02:20:54 +00:00
065ca1a734
add the BOOTTLS for i386-pc also
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53792 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-20 03:55:58 +00:00
ccad29aee1
use more suitable names for the specific arch default irq return functions. add a stub to handle the apic error vector exception, and register it.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53684 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-17 03:29:04 +00:00
14c5821dca
define EXCEPTION_COUNT in the common header, and make sure we have enough exceptions handlers for both the common x86 exceptions and the additional APIC exceptions.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53680 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-17 02:51:49 +00:00
7eddcf0dc4
typo
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53671 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-16 03:51:55 +00:00
9953ce3710
use the correct IRQ names. Allocate the boot config in the same manner as x86_64.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53669 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-16 03:48:30 +00:00
e3d8530162
call the correct interrupt c handler.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53668 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-16 02:43:05 +00:00
9e012fd32e
reserve/initialize the syscall irq/vector
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53665 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-16 01:59:42 +00:00
e6df0c625a
fix a typo..
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53664 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-16 01:50:16 +00:00
c70075041c
synch with names used in common code and x86_64
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53663 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-16 01:39:23 +00:00
f5c71f11e0
# use the same interrupt/ldt code on both 32bit and 64bit x86 AROS builds.
...
# move the x86_64 EMULATE_SYSBASE handling into cpu_traps.c
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53660 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-16 01:07:34 +00:00
7ef700fae5
wip commit. rework X86_64 LDT/IRQ code so that vectors are set to use the interrupt handler when necessary.
...
# initial LDT is configured with _all_ vectors disabled. Early boot code enables the syscall vector currently, and APIC/IOAPIC/PIC code registers the vectors for the IRQs/exceptions they utilise.
# fix remaining issues in the ioapic code but leave disabled still currently.
# use a more relaxed timeout in the smp wakeup code for now since our timing code is still off. wait much longer on debug builds since debug can slow the process considerably.
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53655 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-15 04:28:53 +00:00
64b6479c1b
initialise the irq mapping list.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53594 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-11 16:52:41 +00:00
d3fb81c5d8
# fixes and clean-up after kernel/exec changes.
...
# remove the unused _self pointer from TLS but allocate storage for cached copy of the CPU number.
# move cpuid_t and apicid_t definitions to cpu.h since they may be needed/used outside the kernel/exec.
# fixes to the IOAPIC code (still incomplete).
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53584 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-11 06:24:48 +00:00
b1b1b2eaad
synch with the pc-platform irq changes.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53577 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-11 02:44:56 +00:00
a42ee4ec8e
fix i386 build
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53522 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-08 17:14:02 +00:00
f1e3a349a3
rdtsc is provided by the common arch header.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53517 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-02-07 14:43:01 +00:00
f1a7390039
# use common krnLeaveSupervisorRing() defines for both 32/64bit versions of x86-AROS.
...
# Implement ACPI Shutdown!
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53365 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-01-29 06:35:54 +00:00
c9fc6717d5
clean up the x86 exec/kernel power state handling. move the acpi pm related code into its own file. use the common x86 syscall stubs to access the appropriate calls.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53361 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-01-29 01:16:50 +00:00
dc0fea6daa
turn off debug...
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53351 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-01-28 05:50:45 +00:00
7b4e485f48
drop the now unused core_Reboot()
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53336 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-01-28 03:39:22 +00:00
2d0f7af673
wip commit. disable a lot of unwanted debug.
...
# rework syscall handling for "x86" specific syscall's. allow kernel parts to register syscall handlers as needed and use them in the appropriate code.
# modify the platform post to work once exec has left supervisor mode (RTF_COLDSTART) so that we can access the full acpi susbsystem for the necessary kernel drivers.
# change the wakecpu behaviour to register/use a syscall as appropriate since we cannot perform the necessary work in user mode.
# cleanup/unify some parts of 32bit/64bit specific code.
# register default shutdown/reset syscall handlers so that acpi can provide alternatives if appropriate.
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53332 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-01-28 02:13:46 +00:00
345da8a190
wip ioapic support.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53330 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-01-27 06:11:38 +00:00
ce82053c60
clean-up TLS allocation for 32/64bit.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53302 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-01-26 06:22:31 +00:00
7482231c0f
cleanup
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53299 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-01-26 06:02:02 +00:00
f05cc9b60c
unify common code.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53297 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-01-26 06:00:33 +00:00
413446ee6b
wip commit. unify more of the x86 32/64bit code. start reworking the interrupt handling to register/use interrupt controllers.
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53290 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-01-25 06:18:51 +00:00
607a642c86
fix the i386 build
...
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53283 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-01-24 15:42:44 +00:00
0748f2e809
Fixes and WIP update.
...
# Rework ACPI code so it is modular and contained in separate files. the kernel acpi routines will use whichever modules (currently only acpi_apic and acpi_ioapic) are linked in.
# Fix the MADT table name used so that the acpi code does find the correct information.
# Fix the smpbootstrap code so that it doesnt assume the last mem entry is the lowmem memheader - it has been trying to allocate the smpbootstrap from the kernel rom region and failing. Instead actual look for suitable memory to use and try it, and if it fails see if there might be another that can possibly work for us.
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53237 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
2017-01-19 01:02:38 +00:00