pooka
40ca91c19c
prototype rominterpret()
2001-10-05 15:27:56 +00:00
eeh
98ecb5b215
getprop* -> PROM_getprop*
2001-09-26 20:53:05 +00:00
eeh
766a9b8c9c
Change bus_space_mmap() signature to the official one.
2001-09-24 23:49:31 +00:00
chs
59c12af6f5
implement pmap_wired_count().
2001-09-23 09:01:13 +00:00
eeh
53ebc1b431
Correct the `fast' int types.
2001-09-22 19:51:48 +00:00
eeh
ec10c45552
Define proper constants for 128-bit floating point.
2001-09-21 20:48:02 +00:00
eeh
f8e6b3bc07
Correct values for different rounding modes.
2001-09-21 20:32:32 +00:00
wiz
d5e1bab856
Update copyright, fix typo and remove too many '/'.
...
Ok'd by eeh.
2001-09-21 15:30:41 +00:00
eeh
6138deb0d4
Handle DMA boundaries a bit better.
2001-09-21 03:04:09 +00:00
thorpej
92df2aecae
Use <dev/sun/fbio.h>, not our own copy.
2001-09-19 16:46:49 +00:00
chris
0e7661f023
Update pmap_update to now take the updated pmap as an argument.
...
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.
Currently this is a no-op on most platforms, so they should see no difference.
Reviewed by Jason.
2001-09-10 21:19:08 +00:00
eeh
e29b0dab62
Change some debug printfs to make gcc happy.
2001-09-10 14:56:33 +00:00
mrg
be4df68bb5
don't explicitly size the intrhand[] array; fixes PR#13859 from <martti.kuparinen@iki.fi>
2001-09-03 13:07:21 +00:00
martin
c51e03edde
Move struct segmap declaration inside #ifndef _LOCORE to make locore.s
...
compilable again.
2001-08-31 18:06:13 +00:00
mrg
10516949e9
add some sun4/sun4c/sun4m compat code so we can build 32 bit kvm. (these files are not even vaguely syncable.)
2001-08-30 09:32:23 +00:00
mrg
48fcc1a2c3
update a comment about R_UA_32 relocs.
2001-08-25 15:03:19 +00:00
eeh
20df032dec
Make lint happier.
2001-08-18 03:47:18 +00:00
eeh
c633b30dd4
Add some alternate spellings for ASIs.
...
Make sure ASI_PRIMARY_NOFAULT is always restored.
Garbage collect some old code.
2001-08-06 23:55:34 +00:00
eeh
830be13fa2
Dump some enums that make lint unhappy and we never really use anyway.
2001-07-31 06:55:46 +00:00
eeh
57b56da169
Garbage collect.
2001-07-24 19:32:11 +00:00
eeh
1fead733d9
PCI overhaul.
2001-07-20 00:07:12 +00:00
eeh
0c4549ab71
Don't bother flushing cache lines for un-cached accesses.
2001-07-19 23:47:37 +00:00
thorpej
babefc5331
Add BUS_DMA_READ and BUS_DMA_WRITE flags, that hint the back-end
...
at dmamap load time that the mapping will be used for a unidirectional
transfer of the specified direction.
2001-07-19 15:32:10 +00:00
eeh
a2cda80fea
Also handle FPU registers.
2001-07-07 15:16:13 +00:00
eeh
5df2260776
Add the shorter version of block ASIs used by Sun.
2001-06-29 23:56:05 +00:00
eeh
8009aa2033
Allow multiple 4MB pages for both kernel text and kernel data.
...
Note: DEBUG checks will not allow accesses to the hole between
text and data segments, so you may need to update programs that
use libkvm before relocating the start of kernel data.
2001-06-21 00:24:22 +00:00
wiz
f3f6c5b675
accessible' only has one
a'.
2001-06-19 12:52:20 +00:00
thorpej
8eb3b954f1
Don't need to prototype child_return() here, it's in <sys/proc.h>.
2001-06-14 22:56:55 +00:00
mrg
67afbd6270
use _KERNEL_OPT
2001-05-30 11:57:16 +00:00
kleink
9e162d4ea5
Delint my previous change.
2001-05-12 22:42:07 +00:00
kleink
58a818769b
* Fix remaining 32-bit vs. native pointer problems in data structures;
...
reviewed by Eduardo.
* Define the size of uc_pad, so ucontext32_t will have the correct size.
2001-05-11 17:37:14 +00:00
kleink
1d8e184b6b
svr4_32_mcontext.gwin is a pointer 32 bits wide.
2001-05-11 16:49:22 +00:00
kleink
e0b29e0491
Sync with native emul: rename sc_tstate to sc_psr.
2001-05-09 20:21:50 +00:00
kleink
aec2bbb42f
Sync sc_psr comments with reality.
2001-05-09 19:50:49 +00:00
kleink
7dbfdb5508
In the 32-bit ABI case:
...
* rename sigcontext.sc_tstate to sc_psr, since this is how it is known to
the 32-bit API, and also used for;
* don't try to squeeze the tstate into it, just emulate the ICC bits.
Per discussion with Eduardo.
2001-05-09 19:46:22 +00:00
thorpej
cf67ac7122
Per discussion w/ chuck and chuck, restructure the md page stuff
...
to use a structure called "vm_page_md", and use __HAVE_VM_PAGE_MD
and __HAVE_PMAP_PHYSSEG.
2001-05-01 02:19:13 +00:00
thorpej
2b27ac7a99
Add a VM_MDPAGE_MEMBERS macro that defines pmap-specific data for
...
each vm_page structure. Add a VM_MDPAGE_INIT() macro to init this
data when pages are initialized by UVM. These macros are mandatory,
but ports may #define them to nothing if they are not needed/used.
This deprecates struct pmap_physseg. As a transitional measure,
allow a port to #define PMAP_PHYSSEG so that it can continue to
use it until its pmap is converted to use VM_MDPAGE_MEMBERS.
Use all this stuff to eliminate a lot of extra work in the Alpha
pmap module (it's smaller and faster now). Changes to other pmap
modules will follow.
2001-04-29 22:44:31 +00:00
kleink
fe3c9ceaf7
* Move definitions of exact-width integer types from <machine/types.h>
...
to <sys/types.h> and <sys/stdint.h>.
* Add a new C99 <stdint.h> header, which provides integer types of
explicit width, related limits and integer constant macros.
* Extend <inttypes.h> to provide <stdint.h> definitions and format
macros for printf() and scanf().
* Add C99 strtoimax() and strtoumax() functions.
* Use the latter within scanf().
* Add C99 %j, %t and %z printf()/scanf() conversions for
intmax_t, pointer-type and size_t arguments.
2001-04-28 15:41:28 +00:00
kleink
99054d7a6c
Add definitions for C99 fastest minimum-width integer types.
2001-04-26 16:25:19 +00:00
thorpej
69abdbf60c
Undo a misguided previous change to the pmap_update() API.
2001-04-22 23:19:26 +00:00
thorpej
4738622712
Give pmap_update() an argument (a pmap_t) so that it knows which
...
pmap it should be updating.
2001-04-22 00:33:59 +00:00
thorpej
7f10ba88b1
#define away pmap_update() in <machine/pmap.h> so that no function
...
call overhead is incurred as we start sprinkling pmap_update() calls
throughout the source tree (no pmaps currently defer operations, but
we are adding the infrastructure to allow them to do so).
2001-04-21 23:51:14 +00:00
kleink
40c8d08347
Oops, intptrs are always long integers.
2001-04-17 13:46:02 +00:00
kleink
f06533a1ee
Add definitions of C99 integer format conversion macros.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 17:13:04 +00:00
kleink
739cb75837
Add definitions of C99 specified-width integer type limits.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 15:29:02 +00:00
kleink
cdcf9f46c5
Add definitions of C99 integer constant macros.
...
Tidy Makefiles up a little.
2001-04-14 22:46:19 +00:00
kleink
a7c20e5788
Add definitions of C99 integer constant macros.
2001-04-14 22:38:33 +00:00
kleink
7affdab52e
Add definitions of C99 minimum-width and greatest-width integer types.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-14 12:19:49 +00:00
thorpej
bf2dcec4f5
Remove the use of splimp() from the NetBSD kernel. splnet()
...
and only splnet() is allowed for the protection of data structures
used by network devices.
2001-04-13 23:29:55 +00:00
kleink
9133b51cd8
Replace the 'unsigned __COMPILER_INT64__' construct with a new name,
...
__COMPILER_UINT64__, to be supplied - if such a case is made, it shouldn't
be assumed that the unsigned type-specifier may be applied to it.
2001-04-12 22:01:18 +00:00