aros:aros.git
8 years agoARIX: hostdisk.device: simulate 28-bit LBA as some parts of AROS do not like head... ABI_V1-arix-deadwood
Krzysztof Smiechowicz [Wed, 23 Jan 2013 21:02:24 +0000 (22:02 +0100)]
ARIX: hostdisk.device: simulate 28-bit LBA as some parts of AROS do not like head * sectors == 1

8 years agoARIX: hostdisk.device: make sure values for heads and tracksectors are never left...
Krzysztof Smiechowicz [Wed, 23 Jan 2013 18:03:50 +0000 (19:03 +0100)]
ARIX: hostdisk.device: make sure values for heads and tracksectors are never left unset.

8 years agopci driver class compiles for all arix targets but works on x86 and x86_64 only now...
Michal Schulz [Thu, 24 Jan 2013 19:52:07 +0000 (20:52 +0100)]
pci driver class compiles for all arix targets but works on x86 and x86_64 only now...

8 years agofixes to let hostdisk.device compile for arix arm targets. At least for ubuntu crossc...
Michal Schulz [Thu, 24 Jan 2013 19:51:08 +0000 (20:51 +0100)]
fixes to let hostdisk.device compile for arix arm targets. At least for ubuntu crosscompilers... :)

9 years agoARIX: hostdisk.device - use INT $80 on i386 to invoke clone.
Krzysztof Smiechowicz [Sun, 13 Jan 2013 14:21:09 +0000 (15:21 +0100)]
ARIX: hostdisk.device - use INT $80 on i386 to invoke clone.

This solved slowdown when using clone with CLONE_VM.

9 years agoARIX: hostdisk.device - wrap signaling calls in more readable macros
Krzysztof Smiechowicz [Sun, 13 Jan 2013 13:00:02 +0000 (14:00 +0100)]
ARIX: hostdisk.device - wrap signaling calls in more readable macros

9 years agoARIX: hostdisk.device - remove architecture check.
Krzysztof Smiechowicz [Sun, 13 Jan 2013 12:48:17 +0000 (13:48 +0100)]
ARIX: hostdisk.device - remove architecture check.

Hostdisk is an internal part of ARIX ROM and does not need this check anymore.

9 years agoARIX: hostdisk.device - move AMP implementation to all-arix and restore initial all...
Krzysztof Smiechowicz [Sun, 13 Jan 2013 12:41:25 +0000 (13:41 +0100)]
ARIX: hostdisk.device - move AMP implementation to all-arix and restore initial all-unix

9 years agoSort boot nodes after priority
Krzysztof Smiechowicz [Tue, 6 Nov 2012 18:44:06 +0000 (19:44 +0100)]
Sort boot nodes after priority

9 years agoinclude pci and linuxpci hidds in arix
Michal Schulz [Sat, 6 Oct 2012 12:04:42 +0000 (14:04 +0200)]
include pci and linuxpci hidds in arix

9 years agosupport not only linux but also arix :)
Michal Schulz [Sat, 6 Oct 2012 12:03:28 +0000 (14:03 +0200)]
support not only linux but also arix :)

9 years agoAROSBootstrap: Indicate which symbol was in error during relocation failures
Jason S. McMullan [Thu, 18 Oct 2012 22:55:28 +0000 (15:55 -0700)]
AROSBootstrap: Indicate which symbol was in error during relocation failures

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agohostdisk.device: ARM compilation fixes
Jason S. McMullan [Thu, 18 Oct 2012 22:54:59 +0000 (15:54 -0700)]
hostdisk.device: ARM compilation fixes

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years ago[LinuxFB] Fix cursor drawing on RGB 565 screens
Jason S. McMullan [Thu, 18 Oct 2012 22:54:42 +0000 (15:54 -0700)]
[LinuxFB] Fix cursor drawing on RGB 565 screens

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoARIX: don't display any messages from arixloader
Krzysztof Smiechowicz [Thu, 11 Oct 2012 18:23:24 +0000 (20:23 +0200)]
ARIX: don't display any messages from arixloader

9 years agoARIX: arixloader now scans the AROSBootstrap.conf for modules list. Disabled debug.
Krzysztof Smiechowicz [Thu, 11 Oct 2012 18:23:03 +0000 (20:23 +0200)]
ARIX: arixloader now scans the AROSBootstrap.conf for modules list. Disabled debug.

9 years agoARIX: remove Linux kernel blobs from main arix repository
Krzysztof Smiechowicz [Tue, 9 Oct 2012 18:14:09 +0000 (20:14 +0200)]
ARIX: remove Linux kernel blobs from main arix repository

9 years agoARIX: download arix-blobs repository and get the kernel and initrd from there
Krzysztof Smiechowicz [Tue, 9 Oct 2012 18:13:44 +0000 (20:13 +0200)]
ARIX: download arix-blobs repository and get the kernel and initrd from there

9 years agoARIX: update /init to support arixloader
Krzysztof Smiechowicz [Sun, 7 Oct 2012 08:39:36 +0000 (10:39 +0200)]
ARIX: update /init to support arixloader

There is a fallback "dev" mode which is selected by adding "root=sh"
to kernel parameters lines. In this mode init tries mounting
/dev/sr0 to /aroscdmount and then running aros-init from it eventually
dropping to shell.

9 years agoARIX: kernel configuration for arixloader kernel
Krzysztof Smiechowicz [Sun, 7 Oct 2012 08:32:21 +0000 (10:32 +0200)]
ARIX: kernel configuration for arixloader kernel

9 years agoARIX: update scripts used to create initrd
Krzysztof Smiechowicz [Fri, 5 Oct 2012 19:09:35 +0000 (21:09 +0200)]
ARIX: update scripts used to create initrd

9 years agoARIXLoader: build a strip down AROS kernel and arixloader.resource
Krzysztof Smiechowicz [Fri, 5 Oct 2012 19:05:57 +0000 (21:05 +0200)]
ARIXLoader: build a strip down AROS kernel and arixloader.resource

9 years agoEmul: rename function to fix name clash
Krzysztof Smiechowicz [Wed, 3 Oct 2012 21:21:19 +0000 (23:21 +0200)]
Emul: rename function to fix name clash

9 years agoSysmon can display the CPU time for each task
Michal Schulz [Wed, 3 Oct 2012 15:20:31 +0000 (17:20 +0200)]
Sysmon can display the CPU time for each task

9 years agoCorrections related to change in definition of cpu time
Michal Schulz [Wed, 3 Oct 2012 15:19:03 +0000 (17:19 +0200)]
Corrections related to change in definition of cpu time

9 years agokernel calculates the time CPU spent in each task.
Michal Schulz [Wed, 3 Oct 2012 15:14:56 +0000 (17:14 +0200)]
kernel calculates the time CPU spent in each task.

9 years agocorrected definition of iet_CPUTime. IT's not in Eclock ticks anymore,
Michal Schulz [Wed, 3 Oct 2012 15:10:10 +0000 (17:10 +0200)]
corrected definition of iet_CPUTime. IT's not in Eclock ticks anymore,
but instead regular timeval structure as known from timer.device

9 years agokernel needs not only libc, but also librt
Michal Schulz [Wed, 3 Oct 2012 15:06:44 +0000 (17:06 +0200)]
kernel needs not only libc, but also librt

9 years agoalso support arix-armhf target (for EfikaMX for example :-))
Michal Schulz [Wed, 3 Oct 2012 09:20:54 +0000 (11:20 +0200)]
also support arix-armhf target (for EfikaMX for example :-))

9 years agocorrected tabs
Michal Schulz [Tue, 2 Oct 2012 19:05:23 +0000 (21:05 +0200)]
corrected tabs

9 years agomajor changes in hostdisk. use syscall() function from libc to perform
Michal Schulz [Tue, 2 Oct 2012 19:02:26 +0000 (21:02 +0200)]
major changes in hostdisk. use syscall() function from libc to perform
all file operations on the IO thread. We should not call libc IO
functions directly from there, since they could do a lot of evil to
AROS. Use SIGWINCH to communicate with threads.

9 years agocpumeter should shut up with debug...
Michal Schulz [Tue, 2 Oct 2012 18:02:01 +0000 (20:02 +0200)]
cpumeter should shut up with debug...

9 years agoAROS handles SIGWINCH virtual IRQ for async IO and (in future) AMP
Michal Schulz [Tue, 2 Oct 2012 17:58:16 +0000 (19:58 +0200)]
AROS handles SIGWINCH virtual IRQ for async IO and (in future) AMP

9 years agoa bit more protection. parse input events only if successfuly read
Michal Schulz [Tue, 2 Oct 2012 17:54:50 +0000 (19:54 +0200)]
a bit more protection. parse input events only if successfuly read
(result > 0).

9 years agobump up priority for hostdisk tasks
Michal Schulz [Tue, 2 Oct 2012 17:45:50 +0000 (19:45 +0200)]
bump up priority for hostdisk tasks

9 years agomore strict "security" against badly read stat info
Michal Schulz [Mon, 1 Oct 2012 19:52:27 +0000 (21:52 +0200)]
more strict "security" against badly read stat info

9 years agonever commit before testing...
Michal Schulz [Mon, 1 Oct 2012 15:06:14 +0000 (17:06 +0200)]
never commit before testing...

9 years agoQuite simple CPU meter for processor.resource
Michal Schulz [Mon, 1 Oct 2012 14:48:30 +0000 (16:48 +0200)]
Quite simple CPU meter for processor.resource

9 years agoget cpu info for every processor
Michal Schulz [Sun, 30 Sep 2012 21:54:17 +0000 (23:54 +0200)]
get cpu info for every processor

9 years agoARIX specific processor.resource
Michal Schulz [Sun, 30 Sep 2012 21:53:26 +0000 (23:53 +0200)]
ARIX specific processor.resource

9 years agoKrnGetCPUCount for ARIX implemented
Michal Schulz [Sun, 30 Sep 2012 21:50:48 +0000 (23:50 +0200)]
KrnGetCPUCount for ARIX implemented

9 years agoARIX: HostDisk, Kernel : Tabs->spaces
Jason S. McMullan [Sun, 30 Sep 2012 22:24:48 +0000 (18:24 -0400)]
ARIX: HostDisk, Kernel : Tabs->spaces

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agono need for O_SYNC flag anymore
Michal Schulz [Sun, 30 Sep 2012 20:41:07 +0000 (22:41 +0200)]
no need for O_SYNC flag anymore

9 years agoHostdisk device supports delayed flush. The data is flushed to medium
Michal Schulz [Sun, 30 Sep 2012 20:30:12 +0000 (22:30 +0200)]
Hostdisk device supports delayed flush. The data is flushed to medium
(using fsync call) one second after the last write operation. If
subsequent write occurs before that timeout, the flush operation will be
cancelled and will be scheduled again for one second after the write
operation.

Read operations do not change the state of delayed flush nor flush data.

CMD_FLUSH cancels any pending delayed flush and flushes data
immediately.

9 years agoChild processes commit suicide when AROS proces ends.
Michal Schulz [Sun, 30 Sep 2012 09:51:35 +0000 (11:51 +0200)]
Child processes commit suicide when AROS proces ends.

9 years agoWhen exiting AROS, switch the console back to text mode and keyboard to
Michal Schulz [Sun, 30 Sep 2012 09:42:19 +0000 (11:42 +0200)]
When exiting AROS, switch the console back to text mode and keyboard to
X_LATE translation.

9 years agorepaired configure script. double semicolon after arm definition was missing
Michal Schulz [Sun, 30 Sep 2012 10:47:10 +0000 (12:47 +0200)]
repaired configure script. double semicolon after arm definition was missing

9 years agoarch/all-unix: Compiler delint
Jason S. McMullan [Sun, 30 Sep 2012 05:07:18 +0000 (01:07 -0400)]
arch/all-unix: Compiler delint

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agohostdisk.device: Compiler delint
Jason S. McMullan [Sun, 30 Sep 2012 05:07:04 +0000 (01:07 -0400)]
hostdisk.device: Compiler delint

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years ago[LinuxFB] Compiler delint
Jason S. McMullan [Sun, 30 Sep 2012 05:06:43 +0000 (01:06 -0400)]
[LinuxFB] Compiler delint

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoHostDisk: request immediate synchronization in case of writing operations
Krzysztof Smiechowicz [Sat, 29 Sep 2012 17:10:08 +0000 (19:10 +0200)]
HostDisk: request immediate synchronization in case of writing operations

9 years agoARIX: add FFS handler to kernel
Krzysztof Smiechowicz [Sat, 29 Sep 2012 17:09:36 +0000 (19:09 +0200)]
ARIX: add FFS handler to kernel

9 years agohostdisk understands CMD_FLUSH now.
Michal Schulz [Sun, 30 Sep 2012 01:12:16 +0000 (03:12 +0200)]
hostdisk understands CMD_FLUSH now.

9 years agoclear IRQ after signalling the task. Just in case another signal
Michal Schulz [Sun, 30 Sep 2012 00:50:26 +0000 (02:50 +0200)]
clear IRQ after signalling the task. Just in case another signal
comes before we reach that point.

9 years agochanges to kernel needed in order to make async IO feasible.
Michal Schulz [Sat, 29 Sep 2012 23:25:03 +0000 (01:25 +0200)]
changes to kernel needed in order to make async IO feasible.

9 years agoAROS needs two more clib functions here: getpid and kill
Michal Schulz [Sat, 29 Sep 2012 23:19:56 +0000 (01:19 +0200)]
AROS needs two more clib functions here: getpid and kill

9 years agoAsync IO version of hostdisk. Very dangerous and very very EVIL :)
Michal Schulz [Sat, 29 Sep 2012 23:12:26 +0000 (01:12 +0200)]
Async IO version of hostdisk. Very dangerous and very very EVIL :)

9 years agoadd reserved APTR for future use
Michal Schulz [Sat, 29 Sep 2012 22:47:04 +0000 (00:47 +0200)]
add reserved APTR for future use

9 years agomore files to ignore
Michal Schulz [Fri, 28 Sep 2012 22:46:22 +0000 (00:46 +0200)]
more files to ignore

9 years agomore ignored files
Michal Schulz [Fri, 28 Sep 2012 22:15:52 +0000 (00:15 +0200)]
more ignored files

9 years agonew .gititnore file and modified AROS/.gitignore file
Michal Schulz [Fri, 28 Sep 2012 22:13:28 +0000 (00:13 +0200)]
new .gititnore file and modified AROS/.gitignore file

9 years agodos.library: Remove per-file DEBUG defines
Jason S. McMullan [Thu, 27 Sep 2012 20:39:25 +0000 (16:39 -0400)]
dos.library: Remove per-file DEBUG defines

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarch/arix-arm: Initial import of arix-arm support
Jason S. McMullan [Thu, 27 Sep 2012 20:38:59 +0000 (16:38 -0400)]
arch/arix-arm: Initial import of arix-arm support

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years ago[LinuxInput] Remove DEBUG defines
Jason S. McMullan [Thu, 27 Sep 2012 20:38:28 +0000 (16:38 -0400)]
[LinuxInput] Remove DEBUG defines

This allows you to add:

USER_CFLAGS += -DDEBUG=1

in the mmakefile, and build the whole thing with debugging

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoARIX: change ata.device to hostdisk.device in InstallAROS
Krzysztof Smiechowicz [Thu, 27 Sep 2012 14:47:45 +0000 (16:47 +0200)]
ARIX: change ata.device to hostdisk.device in InstallAROS

9 years agoARIX: add sfs-handler to kernel modules
Krzysztof Smiechowicz [Thu, 27 Sep 2012 14:36:55 +0000 (16:36 +0200)]
ARIX: add sfs-handler to kernel modules

9 years agoARIX: HostDisk: remove cdrom hack for Host_DeviceGeometry
Krzysztof Smiechowicz [Thu, 27 Sep 2012 14:36:38 +0000 (16:36 +0200)]
ARIX: HostDisk: remove cdrom hack for Host_DeviceGeometry

9 years agoARIX: HostDisk: explicitly assign device type to unit
Krzysztof Smiechowicz [Thu, 27 Sep 2012 14:05:46 +0000 (16:05 +0200)]
ARIX: HostDisk: explicitly assign device type to unit

9 years agoARIX: HostDisk: implement scaning for device nodes. For now only srX devices.
Krzysztof Smiechowicz [Thu, 27 Sep 2012 13:56:23 +0000 (15:56 +0200)]
ARIX: HostDisk: implement scaning for device nodes. For now only srX devices.

9 years agoARIX: HostDisk: change how units are initialized.
Krzysztof Smiechowicz [Thu, 27 Sep 2012 13:21:50 +0000 (15:21 +0200)]
ARIX: HostDisk: change how units are initialized.

Previously units where created when someone requested an Open() on
hostdisk.device. At that point scan was beeing done.

Now, all supported devices will be detected during initialization
and units will created at the same time. Open will now just find an
existing unit or return error.

9 years agoHostDisk: move FreeUnit to arch overridable file
Krzysztof Smiechowicz [Thu, 27 Sep 2012 13:20:05 +0000 (15:20 +0200)]
HostDisk: move FreeUnit to arch overridable file

9 years agoARIX: HostDisk: skeleton of device scan & discovery
Krzysztof Smiechowicz [Thu, 27 Sep 2012 12:32:52 +0000 (14:32 +0200)]
ARIX: HostDisk: skeleton of device scan & discovery

9 years agoARIX: HostDisk: make volume registraction code more generic
Krzysztof Smiechowicz [Thu, 27 Sep 2012 11:05:32 +0000 (13:05 +0200)]
ARIX: HostDisk: make volume registraction code more generic

9 years agoARIX: HostDisk: move all initialization code to automount.c.
Krzysztof Smiechowicz [Thu, 27 Sep 2012 10:03:58 +0000 (12:03 +0200)]
ARIX: HostDisk: move all initialization code to automount.c.

This will be the place where all scanning/detection will happen.

9 years agoARIX: HostDisk: arix-specific hostdisk_device_ext implementation
Krzysztof Smiechowicz [Thu, 27 Sep 2012 09:57:28 +0000 (11:57 +0200)]
ARIX: HostDisk: arix-specific hostdisk_device_ext implementation

Copy of original for now

9 years agoHostDisk: move Open function to separate file so that it can be overriden in arch...
Krzysztof Smiechowicz [Thu, 27 Sep 2012 09:56:13 +0000 (11:56 +0200)]
HostDisk: move Open function to separate file so that it can be overriden in arch specific manner.

9 years agoHostDisk: read-only partitions can also be reported as EROFS
Krzysztof Smiechowicz [Thu, 27 Sep 2012 07:30:48 +0000 (09:30 +0200)]
HostDisk: read-only partitions can also be reported as EROFS

9 years agoARIX: load partition.library and cdrom-handler modules to kernel during boot
Krzysztof Smiechowicz [Thu, 27 Sep 2012 07:29:48 +0000 (09:29 +0200)]
ARIX: load partition.library and cdrom-handler modules to kernel during boot

9 years agoARIX: remove emul-handler from kernel
Krzysztof Smiechowicz [Thu, 27 Sep 2012 07:28:06 +0000 (09:28 +0200)]
ARIX: remove emul-handler from kernel

9 years agoARIX: HostDisk: add temporary hacks that allow booting from /dev/sr0
Krzysztof Smiechowicz [Thu, 27 Sep 2012 07:27:49 +0000 (09:27 +0200)]
ARIX: HostDisk: add temporary hacks that allow booting from /dev/sr0

9 years agoARIX: HostDisk: override automount.c
Krzysztof Smiechowicz [Thu, 27 Sep 2012 07:16:36 +0000 (09:16 +0200)]
ARIX: HostDisk: override automount.c

9 years agoARIX: HostDisk : tab->spaces
Krzysztof Smiechowicz [Wed, 26 Sep 2012 17:31:04 +0000 (19:31 +0200)]
ARIX: HostDisk : tab->spaces

9 years agoARIX: add hostdisk.device to kernel bsp package
Krzysztof Smiechowicz [Wed, 26 Sep 2012 16:56:04 +0000 (18:56 +0200)]
ARIX: add hostdisk.device to kernel bsp package

9 years agoARIX: add arch specific code for hostdisk.device
Krzysztof Smiechowicz [Wed, 26 Sep 2012 16:34:16 +0000 (18:34 +0200)]
ARIX: add arch specific code for hostdisk.device

9 years agoHostDisk: add hostdisk.device to HDToolBox tooltypes
Krzysztof Smiechowicz [Wed, 26 Sep 2012 16:32:15 +0000 (18:32 +0200)]
HostDisk: add hostdisk.device to HDToolBox tooltypes

9 years agoHostDisk: build it only for arch that actually have arch-specific implementation
Krzysztof Smiechowicz [Wed, 26 Sep 2012 16:31:53 +0000 (18:31 +0200)]
HostDisk: build it only for arch that actually have arch-specific implementation

9 years agoarix-arm: basic configure support
Jason S. McMullan [Thu, 27 Sep 2012 02:56:30 +0000 (22:56 -0400)]
arix-arm: basic configure support

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoarix: Add linuxinput to the kernel
Jason S. McMullan [Wed, 26 Sep 2012 19:43:17 +0000 (15:43 -0400)]
arix: Add linuxinput to the kernel

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
9 years agoARIX: [FIX] don't build standard kernel-link-unix when arix architecture is used...
deadwood [Sat, 22 Sep 2012 16:20:38 +0000 (18:20 +0200)]
ARIX: [FIX] don't build standard kernel-link-unix when arix architecture is used, but build it when linux architecture is used.

9 years agoARIX: no more blinking cursor
deadwood [Sat, 22 Sep 2012 14:56:20 +0000 (16:56 +0200)]
ARIX: no more blinking cursor

9 years agoARIX: use correct way of setting resolution
deadwood [Sat, 22 Sep 2012 14:54:12 +0000 (16:54 +0200)]
ARIX: use correct way of setting resolution

9 years agoARIX: hack to allow building true unix family targets
deadwood [Thu, 20 Sep 2012 15:29:10 +0000 (17:29 +0200)]
ARIX: hack to allow building true unix family targets

9 years agoARIX: extract control on how AROS is started to AROS-side file
deadwood [Thu, 20 Sep 2012 07:06:26 +0000 (09:06 +0200)]
ARIX: extract control on how AROS is started to AROS-side file

9 years agoARIX: add files needed to generate initrd image
deadwood [Wed, 19 Sep 2012 09:24:47 +0000 (11:24 +0200)]
ARIX: add files needed to generate initrd image

9 years agoARIX: create separate mmakefile for building the AROS kernel
deadwood [Wed, 19 Sep 2012 09:24:26 +0000 (11:24 +0200)]
ARIX: create separate mmakefile for building the AROS kernel

9 years agoAllow building bootable iso of arix-i386 via make bootiso.
deadwood [Tue, 18 Sep 2012 20:06:44 +0000 (22:06 +0200)]
Allow building bootable iso of arix-i386 via make bootiso.

9 years agoUpdate defines in all-unix and all-hosted to support HOST_OS_arix
deadwood [Tue, 18 Sep 2012 17:15:10 +0000 (19:15 +0200)]
Update defines in all-unix and all-hosted to support HOST_OS_arix

9 years agoUpdate configure to support arix "architecture".
deadwood [Tue, 18 Sep 2012 17:14:48 +0000 (19:14 +0200)]
Update configure to support arix "architecture".

9 years agocleanup
NicJA [Mon, 14 Jan 2013 17:22:29 +0000 (17:22 +0000)]
cleanup

git-svn-id: https://svn.aros.org/svn/aros/trunk@46274 fb15a70f-31f2-0310-bbcc-cdcc74a49acc

9 years agouse defines from processor header
NicJA [Mon, 14 Jan 2013 13:35:34 +0000 (13:35 +0000)]
use defines from processor header

git-svn-id: https://svn.aros.org/svn/aros/trunk@46273 fb15a70f-31f2-0310-bbcc-cdcc74a49acc