summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
Commit message (Collapse)AuthorAgeFilesLines
* Now that _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ are the same on allmike2002-09-031-54/+0
| | | | | architectures, move the definition directly into <time.h> and finish the removal of <machine/ansi.h>.
* Remove an unneeded PROC_LOCK, which caused lock recursion panics.jake2002-09-021-1/+1
| | | | | | Print a warning about old applications with no signal trampoline. Reported by: marius@alchemy.franken.de
* Align _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ with most othermike2002-09-021-2/+2
| | | | | | | platforms. This introduces some binary incompatibilities for dynamically linked programs which make use of clock(3) and times(3). Approved by: jake
* Added fields for VM_MIN_ADDRESS, PS_STRINGS and stack protections tojake2002-09-011-7/+20
| | | | | | sysentvec. Initialized all fields of all sysentvecs, which will allow them to be used instead of constants in more places. Provided stack fixup routines for emulations that previously used the default.
* Change hw.physmem and hw.usermem to unsigned long like they used to bepeter2002-08-302-3/+3
| | | | | | | | | | | | | in the original hardwired sysctl implementation. The buf size calculator still overflows an integer on machines with large KVA (eg: ia64) where the number of pages does not fit into an int. Use 'long' there. Change Maxmem and physmem and related variables to 'long', mostly for completeness. Machines are not likely to overflow 'int' pages in the near term, but then again, 640K ought to be enough for anybody. This comes for free on 32 bit machines, so why not?
* Renamed poorly named setregs to exec_setregs. Moved its prototype tojake2002-08-292-2/+2
| | | | imgact.h with the other exec support functions.
* Minor cleanup.jake2002-08-291-3/+5
|
* Removed legacy signal trampoline.jake2002-08-293-24/+2
|
* Removed support for in-kernel signal code.jake2002-08-291-4/+12
|
* o Retire pmap_pageable(). It's an advisory routine that nonealc2002-08-251-9/+0
| | | | of our platforms implements.
* Move several MI types from <machine/_types.h> to <sys/_types.h>.mike2002-08-231-37/+0
| | | | | | | | | | | | | | | | These types are unlikely to ever become very MD. They include: clockid_t, ct_rune_t, fflags_t, intrmask_t, mbstate_t, off_t, pid_t, rune_t, socklen_t, timer_t, wchar_t, and wint_t. While moving them, make a few adjustments (submitted by bde): o __ct_rune_t needs to be precisely `int', not necessarily __int32_t, since the arg type of the ctype functions is int. o __rune_t, __wchar_t and __wint_t inherit this via a typedef of __ct_rune_t. o Some minor wording changes in the comment blocks for ct_rune_t and mbstate_t. Submitted by: bde (partially)
* Removed unneeded include of machine/types.h (which no longer exists).jake2002-08-231-1/+0
|
* o Merge <machine/ansi.h> and <machine/types.h> into a new headermike2002-08-216-174/+148
| | | | | | | | | | | | | | | | | | | | | called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien
* remove unit counts from atkbdc, pckbd, scpeter2002-08-201-2/+2
|
* Typo fix.mux2002-08-191-1/+1
| | | | Reviewed by: tmm
* Fix warning. These structs should probably be removed altogether.jake2002-08-181-0/+2
|
* Forgot this in last commit.jake2002-08-181-2/+2
|
* Add pmap support for user mappings of multiple page sizes (super pages).jake2002-08-1810-380/+481
| | | | | This supports all hardware page sizes (8K, 64K, 512K, 4MB), but only 8k pages are actually used as of yet.
* Use symbolic constants instead of magic address constants.jake2002-08-161-1/+1
|
* Minor style. Removed unused declaration.jake2002-08-161-2/+1
|
* Removed unneeded pmap_initialized flag.jake2002-08-161-4/+0
|
* Demark sections of code that need special fault handling with labels.jake2002-08-165-148/+169
| | | | | | | | Check if the trapped pc is inside of the demarked sections to implement fault recovery for copyin etc, instead of pcb_onfault. Handle recovery from data access exceptions as well as page faults. Inspired by: bde's sys.dif
* Fix some confusion regarding traps that use mmu globals but don't reallyjake2002-08-151-2/+4
| | | | have any reason to; force alternat globals instead, which is what we want.
* Store the number of itlb and dtlb entries separately; they may be different.jake2002-08-156-20/+29
| | | | | Find the prom node for the boot cpu earlier and store it in the per-cpu area, so that cache_init can be called earlier.
* Set kernel_vm_end. Panic if we try to grow the kernel.jake2002-08-141-0/+3
|
* Add support for the LSI-Logic Fusion/MP architecture.mjacob2002-08-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an architecture that present a thing message passing interface to the OS. You can query as to how many ports and what kind are attached and enable them and so on. A less grand view is that this is just another way to package SCSI (SPI or FC) and FC-IP into a one-driver interface set. This driver support the following hardware: LSI FC909: Single channel, 1Gbps, Fibre Channel (FC-SCSI only) LSI FC929: Dual Channel, 1-2Gbps, Fibre Channel (FC-SCSI only) LSI 53c1020: Single Channel, Ultra4 (320M) (Untested) LSI 53c1030: Dual Channel, Ultra4 (320M) Currently it's in fair shape, but expect a lot of changes over the next few weeks as it stabilizes. Credits: The driver is mostly from some folks from Jeff Roberson's company- I've been slowly migrating it to broader support that I it came to me as. The hardware used in developing support came from: FC909: LSI-Logic, Advansys (now Connetix) FC929: LSI-Logic 53c1030: Antares Microsystems (they make a very fine board!) MFC after: 3 weeks
* Auto size available kernel virtual address space based on phsyical memoryjake2002-08-106-59/+113
| | | | | | | size. This avoids blowing out kva in kmeminit() on large memory machines (4 gigs or more). Reviewed by: tmm
* o Remove the setting and clearing of the PG_MAPPED flag. (This flag isalc2002-08-101-3/+3
| | | | obsolete.)
* Make ppp(4) devices clonable and unloadable.brooks2002-08-091-1/+1
|
* o Introduce pmap_page_is_mapped(). Its purpose is to obsoletealc2002-08-071-0/+1
| | | | the PG_MAPPED flag.
* o Don't set PG_MAPPED or PG_WRITEABLE when a page is mappedalc2002-08-051-9/+2
| | | | | using pmap_kenter() or pmap_qenter(). o Use VM_ALLOC_WIRED in pmap_new_thread().
* se -> sab.jake2002-08-041-1/+1
|
* Forgot to commit this.jake2002-08-011-2/+2
| | | | Spotted by: scottl
* Fix the link to the Handbookblackend2002-08-011-1/+1
|
* Modify the cache handling code to assume 2 virtual colours, which is muchjake2002-08-011-23/+95
| | | | | simpler and easier to get right. Add comments. Add more statistic gathering on cacheable and uncacheable mappings.
* Add some statistic gathering for cache flushes.jake2002-07-311-2/+41
|
* These file are no longer used (moved to userland and/or merged intojake2002-07-315-689/+0
| | | | pmap.c).
* These were repo-copied to have a .S extension.jake2002-07-316-4398/+0
|
* Add definitions for statistical and high-resolution profiling. The callingjake2002-07-303-66/+91
| | | | | | | | conventions for _mcount and __cyg_profile_func_enter are different, so statistical profiling kernels build and link but don't actually work. IWBNI one could tell gcc to only generate calls to the former. Define uintfptr_t properly for userland, but not for the kernel (I hope).
* The data cache on UltraSPARC III is not directly mapped, so don't assertjake2002-07-301-2/+0
| | | | | | that. This breaks assumptions made by some of the cache flushing code, but UltraSPARC III has different methods for invalidating cache lines anyway.
* Panic if the data cache has too many virtual colors (more than 2).jake2002-07-301-0/+2
|
* Use _ALIGN_DATA and _ALIGN_TEXT.jake2002-07-302-4/+4
|
* Create a new header <machine/_stdint.h> for storing MD parts ofmike2002-07-294-231/+171
| | | | | | | | | <stdint.h>. Previously, parts were defined in <machine/ansi.h> and <machine/limits.h>. This resulted in two problems: (1) Defining macros in <machine/ansi.h> gets in the way of that header only defining types. (2) Defining C99 limits in <machine/limits.h> adds pollution to <limits.h>.
* Add routines needed for high resolution profiling.jake2002-07-291-0/+83
|
* Add a symbol for btext.jake2002-07-292-0/+2
|
* Remove a stale comment.jake2002-07-292-8/+0
|
* Use _ALIGN_TEXT. Implement __cyg_profile_func_enter andjake2002-07-292-20/+138
| | | | __cyg_profile_func_exit for GUPROF.
* Add _ALIGN_DATA and _ALIGN_TEXT macros.jake2002-07-291-1/+9
|
* Remove some stuff that snuck in last commit.jake2002-07-291-5/+0
|
* Fix a bug introduced in previous commit. Due to the interaction of thejake2002-07-281-2/+2
| | | | | | direct physical mappings with virtual page colour, we need to flush the data cache when a page changes colour. I missed one case which broke pipes.
OpenPOWER on IntegriCloud