aros:aros.git
8 years agokernel_memory is not more in arix dir arix-master-abi-v1-michal-tlsf-2
Michal Schulz [Sat, 18 May 2013 21:51:02 +0000 (23:51 +0200)]
kernel_memory is not more in arix dir

8 years agoarix-specific file removed. the tlsf is in kernel already. the only thing missing...
Michal Schulz [Sat, 18 May 2013 21:43:37 +0000 (23:43 +0200)]
arix-specific file removed. the tlsf is in kernel already. the only thing missing is autoexpanding through
mmap and merging of new memroy wiht previous regions.

8 years agomemory_nommu removed from mmakefile.src
Michal Schulz [Sat, 18 May 2013 16:40:50 +0000 (18:40 +0200)]
memory_nommu removed from mmakefile.src

8 years agomemory_nommu no longer needed in the arix's exec.library
Michal Schulz [Sat, 18 May 2013 16:40:06 +0000 (18:40 +0200)]
memory_nommu no longer needed in the arix's exec.library

8 years agosupport for managed memory in exec - allocations/deallocations/pools etc
Michal Schulz [Sat, 18 May 2013 16:38:22 +0000 (18:38 +0200)]
support for managed memory in exec - allocations/deallocations/pools etc

8 years agoTwo-Level Segregated Fit memory allocator added to the kernel.resource. It handles...
Michal Schulz [Sat, 18 May 2013 16:29:27 +0000 (18:29 +0200)]
Two-Level Segregated Fit memory allocator added to the kernel.resource. It handles the managed memory
(both system and memory pools) quite effectively

8 years agostruct MemHeaderExt is extended in order to support custom managed memory pools
Michal Schulz [Sat, 18 May 2013 16:25:34 +0000 (18:25 +0200)]
struct MemHeaderExt is extended in order to support custom managed memory pools

8 years agothe last commit with LGPL-ed TLSF. Next one will be my own implementation...
Michal Schulz [Sat, 18 May 2013 16:22:23 +0000 (18:22 +0200)]
the last commit with LGPL-ed TLSF. Next one will be my own implementation...

8 years agouse __builtin_ffs and __builtin_clz to find bits
Michal Schulz [Fri, 10 May 2013 11:39:24 +0000 (13:39 +0200)]
use __builtin_ffs and __builtin_clz to find bits

8 years agosince kb_PageSize tends to be uninitialized, TLSF needs to call
Michal Schulz [Thu, 9 May 2013 21:03:31 +0000 (23:03 +0200)]
since kb_PageSize tends to be uninitialized, TLSF needs to call
getpagesize self. add necessary function to clib interface and fix tlsf
allocator.

8 years agoadd new boot option - boot with serial debug enabled. Default is 115200
Michal Schulz [Thu, 9 May 2013 20:12:49 +0000 (22:12 +0200)]
add new boot option - boot with serial debug enabled. Default is 115200
bps, 8n1

8 years agoI forgot to unlock memory in two places. Because of that AROS just
Michal Schulz [Thu, 9 May 2013 20:11:58 +0000 (22:11 +0200)]
I forgot to unlock memory in two places. Because of that AROS just
hang...

8 years agogetpagesize is not really needed. kernel resource used it once and it's
Michal Schulz [Thu, 9 May 2013 20:10:59 +0000 (22:10 +0200)]
getpagesize is not really needed. kernel resource used it once and it's
enough.

8 years ago1. be less verbose
Michal Schulz [Thu, 9 May 2013 20:09:36 +0000 (22:09 +0200)]
1. be less verbose
2. increase the granularity of tiny blokcs. Now the smallest unit is 16
bytes. always.

8 years agoadded GPL/LGPL copyright note
Michal Schulz [Thu, 9 May 2013 16:17:30 +0000 (18:17 +0200)]
added GPL/LGPL copyright note

8 years agofinal version? small fixes ;)
Michal Schulz [Thu, 9 May 2013 16:09:50 +0000 (18:09 +0200)]
final version? small fixes ;)

8 years agofixed alignment to 16 bytes
Michal Schulz [Thu, 9 May 2013 16:09:03 +0000 (18:09 +0200)]
fixed alignment to 16 bytes

8 years agosupport MEMF_MANAGED memory in RomTagScanner
Michal Schulz [Thu, 9 May 2013 16:06:21 +0000 (18:06 +0200)]
support MEMF_MANAGED memory in RomTagScanner

8 years agosupport MEMF_MANAGED memory, AllocMemHeader clears MEMF_MANAGED flag
Michal Schulz [Thu, 9 May 2013 16:01:11 +0000 (18:01 +0200)]
support MEMF_MANAGED memory, AllocMemHeader clears MEMF_MANAGED flag
since pooled memory is aros-managed

8 years agocorrected offset for TLSF memory pool. The old one used to destroy the
Michal Schulz [Thu, 9 May 2013 14:22:19 +0000 (16:22 +0200)]
corrected offset for TLSF memory pool. The old one used to destroy the
MemHeaderExt

8 years agoinclude TLSF in arix kernel
Michal Schulz [Wed, 8 May 2013 23:01:31 +0000 (01:01 +0200)]
include TLSF in arix kernel

8 years agoTLSF allocator as MEMF_MANAGED memory
Michal Schulz [Wed, 8 May 2013 23:00:27 +0000 (01:00 +0200)]
TLSF allocator as MEMF_MANAGED memory

8 years agoTLSF allocator needs getpagesize function
Michal Schulz [Thu, 2 May 2013 20:19:08 +0000 (22:19 +0200)]
TLSF allocator needs getpagesize function

8 years agocachepredma implemented
Michal Schulz [Mon, 5 Nov 2012 20:38:16 +0000 (21:38 +0100)]
cachepredma implemented

8 years agowip on cachepredma
Michal Schulz [Sun, 4 Nov 2012 16:37:10 +0000 (17:37 +0100)]
wip on cachepredma

8 years agowe need lseek64
Michal Schulz [Sun, 4 Nov 2012 15:03:36 +0000 (16:03 +0100)]
we need lseek64

8 years agoCachePostDMA finished. CachePreDMA still in works...
Michal Schulz [Sun, 4 Nov 2012 14:28:29 +0000 (15:28 +0100)]
CachePostDMA finished. CachePreDMA still in works...
Conflicts:
AROS/arch/all-arix/exec/mmakefile.src

conflict resolved

8 years agoadd mlock/munlock functions to libc platform data
Michal Schulz [Sun, 4 Nov 2012 12:47:49 +0000 (13:47 +0100)]
add mlock/munlock functions to libc platform data

8 years agotemporary fix - MEMF_LARGEST returns the same value as MEMF_TOTAL
Michal Schulz [Thu, 2 May 2013 18:33:12 +0000 (20:33 +0200)]
temporary fix - MEMF_LARGEST returns the same value as MEMF_TOTAL

8 years agokernel-exec-unix is only a virtual metatarget, therefore "#MM-" and not
Michal Schulz [Thu, 2 May 2013 18:25:56 +0000 (20:25 +0200)]
kernel-exec-unix is only a virtual metatarget, therefore "#MM-" and not
"#MM"

8 years agoPlayground - report all system memory in AvailMem, allow TypeOfMem to
Michal Schulz [Thu, 4 Oct 2012 19:55:40 +0000 (21:55 +0200)]
Playground - report all system memory in AvailMem, allow TypeOfMem to
work with any available memory.

8 years agoignore eclipse project files
Michal Schulz [Thu, 2 May 2013 18:10:48 +0000 (20:10 +0200)]
ignore eclipse project files

8 years agobetter way to prevent redefinition error
Michal Schulz [Wed, 1 May 2013 15:22:12 +0000 (17:22 +0200)]
better way to prevent redefinition error

8 years agoinclude sys/time.h from linux side if we're referring to it.
Michal Schulz [Wed, 1 May 2013 14:59:17 +0000 (16:59 +0200)]
include sys/time.h from linux side if we're referring to it.

8 years agoprevent struct timeval redefinition
Michal Schulz [Wed, 1 May 2013 14:58:42 +0000 (16:58 +0200)]
prevent struct timeval redefinition

8 years agoMerge branch 'arix-master-abi-v1-michal-tlsf-2' of gitorious.org:aros/aros into arix...
Michal Schulz [Wed, 1 May 2013 14:47:43 +0000 (16:47 +0200)]
Merge branch 'arix-master-abi-v1-michal-tlsf-2' of gitorious.org:aros/aros into arix-master-abi-v1-michal-tlsf-2

8 years agoignore Builds directory (used for local arix builds)
Michal Schulz [Tue, 30 Apr 2013 07:22:50 +0000 (09:22 +0200)]
ignore Builds directory (used for local arix builds)

8 years agoignore Builds directory (used for local arix builds)
Michal Schulz [Tue, 30 Apr 2013 07:22:50 +0000 (09:22 +0200)]
ignore Builds directory (used for local arix builds)

8 years agoaros shall pass linker options prefixed by -Wl, since linking is always done with gcc
Michal Schulz [Sat, 9 Mar 2013 21:01:20 +0000 (22:01 +0100)]
aros shall pass linker options prefixed by -Wl, since linking is always done with gcc

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>