summaryrefslogtreecommitdiffstats
path: root/sys/arm
Commit message (Collapse)AuthorAgeFilesLines
* In pmap_remove_pages(), when the pv_list is entry, we want to clean thecognet2004-07-131-3/+2
| | | | | | PG_WRITEABLE flag, not the PG_REFERENCED flag. Submitted by: alc
* Push down the acquisition and release of the page queues lock intoalc2004-07-131-3/+2
| | | | | | | | pmap_remove_pages(). (The implementation of pmap_remove_pages() is optional. If pmap_remove_pages() is unimplemented, the acquisition and release of the page queues lock is unnecessary.) Remove spl calls from the alpha, arm, and ia64 pmap_remove_pages().
* Update to kdb.cognet2004-07-123-143/+46
|
* Remove the kbd_trap() declaration.cognet2004-07-121-2/+0
|
* Protect setjmp.h with #ifndef _MACHINE_SETJMP_H_.cognet2004-07-121-0/+3
|
* Forward declare "struct pcb", so that one does not need to includecognet2004-07-121-0/+2
| | | | <machine/pcb.h> before including <machine/pmap.h>.
* Implement a stub breakpoint().cognet2004-07-121-0/+5
|
* Implement makectx().cognet2004-07-121-0/+19
|
* Prototype makectx().cognet2004-07-121-0/+2
|
* Import bus_memio.h and bus_pio.h for arm.cognet2004-07-122-0/+66
|
* Import a kdb.h for arm, which contains stubs right now.cognet2004-07-121-0/+50
|
* Define NSFBUFS and use it.cognet2004-07-081-0/+7
|
* Correct pmap_extract()'s return type. It should be vm_paddr_t, notalc2004-07-051-1/+1
| | | | vm_offset_t.
* ithread_schedule() now only takes one argument.cognet2004-07-021-1/+1
|
* Define __RMAN_RESOURCE_VISIBLE where appropriate.cognet2004-07-022-0/+2
|
* Remove unused includes.cognet2004-06-281-9/+0
| | | | Spotted out by: pjd
* Fix compilation for Xscale.cognet2004-06-191-1/+1
|
* Include sys/module.h.cognet2004-06-192-0/+2
|
* I happened to have a sys/pool.h file in my tree, but most people do not,cognet2004-06-191-1/+0
| | | | so nuke this useless include.
* Nuke dead code.cognet2004-06-171-92/+1
|
* Nuke bus_space_mmap(), as it does not exist in FreeBSD.cognet2004-06-173-21/+0
|
* Do the dreaded s/dev_t/struct cdev */phk2004-06-163-4/+4
| | | | Bump __FreeBSD_version accordingly.
* Remove filename+line number from panic messages.phk2004-06-063-26/+5
|
* Remove checks for curthread == NULL - it can't happen.tjr2004-06-031-5/+3
|
* Move TDF_DEADLKTREAT into td_pflags (and rename it accordingly) to avoidtjr2004-06-031-9/+4
| | | | | | | having to acquire sched_lock when manipulating it in lockmgr(), uiomove(), and uiomove_fromphys(). Reviewed by: jhb
* Retire cpu_sched_exit(); it is not used any more.tmm2004-05-261-6/+0
|
* Remove two debugging printf().mux2004-05-221-2/+0
| | | | On behalf of: cognet
* Moved most of the "MI" definitions and declarations from <machine/profile.h>bde2004-05-191-30/+0
| | | | | | to <sys/gmon.h>. Cleaned them up a little by not attempting to ifdef for incomplete and out of date support for GUPROF in userland, as in the sparc64 version.
* <stdint.h> should define WINT_M{AX,IN} independent from whether WCHAR_MIN isstefanf2004-05-181-1/+1
| | | | | | | | defined. Otherwise first including <wchar.h> and then <stdint.h> leads to no WINT_M{AX,IN} at all. PR: 64956 Approved by: das (mentor)
* Make a small revision to the api between the elf linker core and thepeter2004-05-161-8/+10
| | | | | | elf_reloc() backends for two reasons. First, to support the possibility of there being two elf linkers in the kernel (eg: amd64), and second, to pass the relocbase explicitly (for relocating .o format kld files).
* Implement bcopy, memcpy and memcmp in support.S.cognet2004-05-141-0/+2059
|
* Implement bzero et memset in support.Scognet2004-05-141-0/+161
|
* This is FreeBSD/arm, not FreeBSD/i386cognet2004-05-141-1/+1
| | | | Submitted by: ru
* Define uart_sa1110_ops and uart_sa1110_classe in .c files instead of spammingcognet2004-05-142-0/+5
| | | | uart_cpu.h
* Implement enough of an uart driver to get serial console working.cognet2004-05-145-3/+539
|
* Import FreeBSD/arm kernel bits.cognet2004-05-14124-69/+30630
| | | | | | | | It only supports sa1110 (on simics) right now, but xscale support should come soon. Some of the initial work has been provided by : Stephane Potvin <sepotvin at videotron.ca> Most of this comes from NetBSD.
* Don't declare osigset_t, as it is done in sys/_sigset.h.cognet2004-05-041-1/+0
|
* Add some endianess-related functions and macros.cognet2004-05-041-1/+60
|
* Add the Elf32_Auxinfo declaretion.cognet2004-05-041-1/+35
| | | | | Define AT_*. (Maybe some of this could go in a MI header ?)
* Define __double_t and __float_t.cognet2004-05-041-0/+2
|
* Remove advertising clause from University of California Regent's license,imp2004-04-053-12/+0
| | | | | | per letter dated July 22, 1999. Approved by: core
* Introduce the cpumask_t type. The purpose of the type is to create amarcel2004-03-201-0/+1
| | | | | | | | | | | | | | | | | | | level of abstraction for any and all CPU mask and CPU bitmap variables so that platforms have the ability to break free from the hard limit of 32 CPUs, simply because we don't have more bits in an u_int. Note that the type is not supposed to solve massive parallelism, where the number of CPUs can be larger than the width of the widest integral type. As such, cpumask_t is not supposed to be a compound type. If such would be necessary in the future, we can deal with the issues then and there. For now, it can be assumed that the type is integral and unsigned. With this commit, all MD definitions start off as u_int. This allows us to phase-in cpumask_t at our leasure without breaking anything. Once cpumask_t is used consistently, platforms can switch to wider (or smaller) types if such would be beneficial (or not; whatever :-) Compile-tested on: i386
* Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bitpeter2003-09-251-12/+0
| | | | | | | | | | | | | | | | | | | | | systems where the data/stack/etc limits are too big for a 32 bit process. Move the 5 or so identical instances of ELF_RTLD_ADDR() into imgact_elf.c. Supply an ia32_fixlimits function. Export the clip/default values to sysctl under the compat.ia32 heirarchy. Have mmap(0, ...) respect the current p->p_limits[RLIMIT_DATA].rlim_max value rather than the sysctl tweakable variable. This allows mmap to place mappings at sensible locations when limits have been reduced. Have the imgact_elf.c ld-elf.so.1 placement algorithm use the same method as mmap(0, ...) now does. Note that we cannot remove all references to the sysctl tweakable maxdsiz etc variables because /etc/login.conf specifies a datasize of 'unlimited'. And that causes exec etc to fail since it can no longer find space to mmap things.
* Style sync.obrien2003-08-031-1/+1
|
* sys/sys/limits.h:kan2003-05-192-3/+3
| | | | | | | | | | | | | | | - Fix visibilty test for LONG_BIT and WORD_BIT. `#if defined(__FOO_VISIBLE)' is alays wrong because __FOO_VISIBLE is always defined (to 0 for invisibility). sys/<arch>/include/limits.h sys/<arch>/include/_limits.h: - Style fixes. Submitted by: bde Reviewed by: bsdmike Approved by: re (scottl)
* Style fixes.kan2003-05-041-8/+11
| | | | | | | | | Remove DBL_DIG, DBL_MIN, DBL_MAX and their FLT_ counterparts, they were marked for deprecation ever since SUSv1 at least. Only define ULLONG_MIN/MAX and LLONG_MAX if long long type is supported. Restore a lost comment in MI _limits.h file and remove it from sys/limits.h where it does not belong.
* Deprecate machine/limits.h in favor of new sys/limits.h.kan2003-04-291-63/+4
| | | | | | | Change all in-tree consumers to include <sys/limits.h> Discussed on: standards@ Partially submitted by: Craig Rodrigues <rodrigc@attbi.com>
* Add a new sys/limits.h file which in turn depends on machine/_limits.hkan2003-04-231-51/+44
| | | | | | | | | to get actual constant values. This is in preparation for machine/limits.h retirement. Discussed on: standards@ Submitted by: Craig Rodrigues <rodrigc@attbi.com> (*) Modified by: kan
* - Add vm_paddr_t, a physical address type. This is required for systemsjake2003-03-251-0/+1
| | | | | | | | | | | | | | | where physical addresses larger than virtual addresses, such as i386s with PAE. - Use this to represent physical addresses in the MI vm system and in the i386 pmap code. This also changes the paddr parameter to d_mmap_t. - Fix printf formats to handle physical addresses >4G in the i386 memory detection code, and due to kvtop returning vm_paddr_t instead of u_long. Note that this is a name change only; vm_paddr_t is still the same as vm_offset_t on all currently supported platforms. Sponsored by: DARPA, Network Associates Laboratories Discussed with: re, phk (cdevsw change)
* MB_LEN_MAX is not MD, move it to the MI limits.h.tjr2002-12-222-2/+0
|
OpenPOWER on IntegriCloud