christos
d9d8878ed1
Asi instruction struct was missing the immediate bit!
1997-03-14 23:54:07 +00:00
pk
e5f0b8a132
Remove `cpumod' and `mmumod' and several related constants.
...
This functionality is now taken over by cpuvar.h
1997-03-10 22:50:37 +00:00
pk
95d5138e93
Move some constants from param.h in here
1997-03-10 22:47:52 +00:00
pk
137dda4ac6
Add getmid
1997-03-10 21:49:11 +00:00
fvdl
115b6d92fa
Define ALIGNED_POINTER
1997-02-24 23:16:53 +00:00
pk
095b310e77
db_expr_t is now a long.
1997-02-05 00:01:50 +00:00
mrg
96c21c1fcf
no need to delcare mcount here; fixes warnings(errors) when compiling a kernel with profiling.
1997-02-01 20:56:40 +00:00
mrg
718a70d239
oops; rd -> md paul left behind...
1996-12-31 07:12:43 +00:00
pk
31045b4490
Annul `__builtin_classify_type' and `__extension__' if __lint__.
1996-12-27 20:55:28 +00:00
pk
be41891152
For now, define `__indr_reference' and `__warn_references' as empty
...
macros if __GNUC__ not defined.
1996-12-27 20:51:31 +00:00
pk
269e64e16b
asm => __asm__
1996-12-27 20:48:56 +00:00
pk
e0df2a7e78
Kill __BROKEN_INDIRECT_CONF.
1996-12-10 23:19:38 +00:00
pk
3f316d7783
Comply with recent autoconfiguration changes. Diffs graciously supplied
...
by Chris Demetriou.
1996-12-10 23:19:13 +00:00
cgd
96acdadef7
First step inn removing config_scan() and the hacks that gave devices
...
on indirect-config busses a (permanent) softc that they could share
between 'match' and 'attach' routines:
Define __BROKEN_INDIRECT_CONFIG so that old autoconfiguration
interfaces are used, until drivers are converted to use the new
interfaces (actually, converted back to use the _older_ interfaces)
which prohibit indirect configuration devices from receiving a softc
in their match routine that they can share with their attach routine.
1996-12-05 00:13:47 +00:00
pk
08b929f619
trap 0x2a: divide by zero for hardware [su]div instruction.
1996-12-01 23:19:00 +00:00
jtc
9da5f60715
PROF -> GPROF
1996-11-30 02:48:57 +00:00
jtc
16b48272c4
Define _BSD_CLOCKID_T_ and _BSD_TIMER_T_
1996-11-15 22:38:45 +00:00
pk
037130a502
Allow larger text (64MB) and data (256MB) segments.
...
On sun4/sun4c with a virtual address hole (starting at 512MB), this seems
like a reasonable compromise: about 196MB left for shared libs and sysv-style
shared memory segments.
On the sun4m the limits can easily be made larger: consider turning
MAXTSIZ and MAXDSIZ into tunable variables..
1996-11-12 21:08:51 +00:00
pk
8896ec778e
Declare `cgtwo' and `rd' character devices.
1996-11-11 23:57:12 +00:00
pk
0217df3897
Define new-style kernel crash dump format.
1996-11-09 22:52:22 +00:00
cgd
8a3333b2a9
Fix an inconsistency that came in with Lite: setrq() was renamed to
...
setrunqueue(), but remrq() was never renamed. Rename remrq() to
remrunqueue().
1996-11-06 20:19:19 +00:00
pk
fd8ac8b221
If no specific kernel architecture is requested, define the CPU_* and
...
NBPG et.al. as in the generic case. This would be the expected thing to do
when compiling LKMs and such.
1996-10-22 19:11:19 +00:00
pk
52acac0518
Regroup the definitions of NBPG, PGOFSET and PGSHIFT into the section that
...
enumerates the possible SUN? combinations.
1996-10-20 20:26:52 +00:00
christos
de08983084
add in_addr_t and in_port_t
1996-10-11 00:43:00 +00:00
cgd
472889f8e4
moved to aout_machdep.h (via repository copy)
1996-10-08 12:57:37 +00:00
thorpej
3db7555465
Returning ENODEV is not correct in a poll entry point. Instead, since
...
read/write returns an error, use seltrue().
1996-10-04 20:34:33 +00:00
abrown
c04e2bf00c
Add cgfourteen to conf.h.
...
Add new framebuffer types for recent-model graphics devices to fbio.h.
1996-09-30 23:45:10 +00:00
cgd
0e097578a2
add and use a machine-dependent header, which currently defines some
...
macros to use to remove #ifdefs from the machine ID case check.
Eventually, these headers will contain other information, e.g.
machine-dependent relocation information, etc.
1996-09-26 21:50:55 +00:00
christos
9db40d9ba8
Add md_flags so that we can have a fix-misalign-accesses flag.
1996-09-26 18:51:17 +00:00
mycroft
2bc736661a
Implement poll(2).
1996-09-07 12:40:22 +00:00
thorpej
fa0e4a3082
Make the SPARC kernel compile again after recent tty cdevsw changes.
1996-09-05 09:32:47 +00:00
mrg
358f853f46
re-order to allow NBPG/PGSHIFT/PGOFSET to work always.
1996-08-28 03:01:27 +00:00
thorpej
f124a6aaa9
Back out previous; this is a bigger problem than I expected.
1996-08-14 00:32:53 +00:00
thorpej
a05a1045f7
The htonl(), htons(), etc. functions return u_long and u_short. Add
...
casts to the big-endian versions of these calls so that the compiler
won't complain when they're passed as arguments to printf().
1996-08-14 00:07:35 +00:00
pk
80c64cc71d
Put native NetBSD disk label in a piece of wasteland within a SunOS label.
1996-06-29 22:33:16 +00:00
pk
417fc9581d
ramdisk stuff
1996-06-20 20:06:16 +00:00
pk
dba83379bd
Remove a "notyet" in last commit.
1996-06-19 13:30:49 +00:00
pk
3da87417d2
tcx declaration
1996-06-19 13:25:01 +00:00
pk
d94f5b92f9
prototype mmu_pagein4m() #if DEBUG is on.
1996-05-27 20:29:03 +00:00
pk
75eb006fa2
No longer need to call mmu_pagein() through a pointer.
1996-05-27 01:13:02 +00:00
thorpej
722d0da592
RCS Id police.
1996-05-20 00:56:39 +00:00
mrg
b6988904e0
put promdev definition into <machine/bsd_openprom.h>.
1996-05-18 12:27:40 +00:00
abrown
4bbf23d04c
Copyright police (s/Harvard University/Harvard College/).
1996-05-16 15:56:54 +00:00
mrg
9ad87ec76e
remove some RCS id's we don't need.
1996-05-15 02:13:39 +00:00
pk
5f2d466997
Make room for another `value' in struct bootpath. Drop the global `bootdv'
...
in favour of storing the device pointer in the bootpath[] element corresponding
to the boot device. This also allows the opportunity to get to "intermediate"
devices (e.g. busses) should the need for this ever arise.
1996-04-10 20:33:38 +00:00
pk
1a1a8ba8c9
Undo unintended change in previous commit: _mcount is static.
1996-04-08 20:55:36 +00:00
pk
bb0897eec6
Various cleanup; mostly trailing spaces/tabs.
1996-03-31 22:21:21 +00:00
pk
1c8b452515
Add a non-interrupt-priority-lowering version of SPL(). Used by splpmap()
...
at the moment.
1996-03-31 22:20:14 +00:00
pk
76404b0bbe
Add sun4m CPU/MMU identifications.
1996-03-31 22:18:16 +00:00
pk
5703b83d00
Move autoconf subroutine prototypes to autoconf.h
...
Deal with sun4m `software interrupts'.
1996-03-31 22:17:14 +00:00