tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
atatat
b45c51b1fc
Roll the rest of the ports over to the new MI kernel build machinery.
...
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
2001-12-09 05:00:40 +00:00
gmcgarry
0d3b140525
Update list to reflect reality
2001-12-08 04:26:10 +00:00
gmcgarry
b820c21e65
Update for structural interrupt changes. No functional change.
2001-12-08 04:22:46 +00:00
gmcgarry
8dd1938ed2
softintr(9) interface for hp300
2001-12-08 04:12:37 +00:00
gmcgarry
9a9a6e8ad4
softintr(9) interface for hp300
2001-12-08 04:09:18 +00:00
gmcgarry
1ef513e6a8
Remove placeholder for event counter; it's done elsewhere
2001-12-08 04:04:49 +00:00
gmcgarry
544aceff4c
- shift event counters to intr.c
...
- use new event counters
- align comments
2001-12-08 04:01:48 +00:00
gmcgarry
6b8f8f10c6
- rework data structures to align with generic soft interrupts interface
...
- shift event counters from locore
2001-12-08 04:00:22 +00:00
gmcgarry
52c6bcd104
bcopy -> memcpy
...
bzero -> memset
bcmp -> memcmp
2001-12-08 03:55:22 +00:00
gmcgarry
aee7bee1a7
bcopy -> memcpy
...
bzero -> memset
bcmp -> memcmp
2001-12-08 03:34:38 +00:00
wiz
d10951fb07
File contents not interesting anymore, and even partially wrong.
...
Remove it. Ok'd by chuq.
2001-12-06 13:56:35 +00:00
wiz
b4371d47f5
Replace some misuses of "then" with "than".
2001-12-04 17:56:30 +00:00
gmcgarry
56504d76c4
Fix path to clockvar.h.
2001-12-03 05:52:13 +00:00
gmcgarry
fa9aa504f9
Use BOOTP by default.
2001-12-03 05:44:36 +00:00
gmcgarry
6baa42f8ce
Don't use dev/cninit.c, since we have our own custom implementation.
2001-12-02 01:28:54 +00:00
gmcgarry
72dc6ccf2b
Type cast for bus_space_vaddr()
2001-12-02 01:20:33 +00:00
kleink
e5341ee40f
No point in installing svr4_machdep.h.
2001-11-28 13:14:12 +00:00
lukem
ecb81c3f6d
- convert usage of "defopt" to "defflag" where the relevant option does
...
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
isaki
26b511b905
fix typo s/68551/68851/ in a comment.
2001-11-24 06:53:16 +00:00
atatat
2bf2c362fb
The bridge(4) pseudo-device no longer requires the port to
...
__HAVE_GENERIC_SOFT_INTERRUPTS, so add it back to all GENERIC configs.
2001-11-23 05:00:22 +00:00
lukem
0fa231134c
- replace "defopt" with "defparam" for options which must take a value,
...
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00
lukem
03aef4723c
cleanup:
...
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
2001-11-20 12:56:17 +00:00
chs
621a9ec9ea
allocate and free page table pages explicitly instead of abusing
...
uvm_fault_wire(). this allows us to make pt_map non-pageable,
but we need to be careful in pmap_remove() not to attempt to
reference PTEs after the PTP has been freed.
2001-11-19 06:40:11 +00:00
gmcgarry
2cabf5a2e2
Update for new RTC and HIL attachments.
2001-11-17 23:56:21 +00:00
gmcgarry
8efcc1d46b
Convert hil to standard device attachment.
2001-11-17 23:53:37 +00:00
gmcgarry
4d380420ae
Use new RTC attachment.
2001-11-17 23:51:03 +00:00
gmcgarry
d9b1140ca5
Merge some fixes from clock.c, revision 1.23.
2001-11-17 23:48:15 +00:00
gmcgarry
257f825d26
Device attachment for the real-time clock.
2001-11-17 23:38:32 +00:00
gmcgarry
3cf284349d
Update for new intio parent interface.
2001-11-17 23:35:31 +00:00
gmcgarry
224cd45a75
Overhaul the intio device attachment. Devices are direct connected and
...
attached based on machine id.
2001-11-17 23:33:22 +00:00
gmcgarry
3acacb5fc1
Make hil interrupts come through the standard dispatch mechanism rather
...
than its custom handler.
2001-11-17 23:29:08 +00:00
gmcgarry
40aa97f8b1
For INTIO space, use an offset for the mapping rather than the physical
...
address.
2001-11-17 23:26:55 +00:00
gmcgarry
4b62b5b023
Don't try to mmap the framebuffer as executable. Fixes MMU faults
...
when executing the X server.
2001-11-17 23:25:04 +00:00
gmcgarry
e9ec95622b
Remove unnecessary trailing argument. Now compiles with new toolchain.
2001-11-16 08:14:05 +00:00
soren
662f877587
MAXSLP is defined to be a machine-independent scheduling parameter,
...
so move it into sys/param.h.
2001-11-15 18:06:11 +00:00
tv
5489b30b60
${MAKE} print-objdir -> ${PRINTOBJDIR}
2001-11-14 00:58:48 +00:00
tsutsui
3f6a86f512
Add some definitions for battery backed clock register 5,
...
and fix one spelling nit.
Mostly from port-hp300/8824, which had already pointed out
y2k (and y2k+1) bugs before 2000, but they were not fixed
till the last month. (I noticed this PR today. Oops)
2001-11-10 19:43:48 +00:00
scw
45e7238a02
Bump the version numbers of all bootloaders which use loadfile_elfXX() now
...
that it tries hard to avoid backwards seeks.
2001-11-09 19:53:11 +00:00
gmcgarry
2cd41580a7
Make install observe ${INSTPRIV}
2001-11-08 07:45:25 +00:00
gmcgarry
12b20b6dde
Use crufty old clock-handling code for now.
2001-11-08 07:01:33 +00:00
gmcgarry
f410d2f08f
Implement bus_space_vaddr()
2001-11-08 06:32:02 +00:00
gmcgarry
3fe33b077f
Reserve for wscons.
2001-11-08 06:27:45 +00:00
thorpej
e727e3f180
Split elf32 vs. elf64 handling in loadfile(), including support for
...
each separately and explicitly. BOOT_ELF is now BOOT_ELF32 and
BOOT_ELF64, and ELFSIZE should no longer be defined in loadfile_machdep.h.
2001-10-31 17:20:45 +00:00
jmc
6d536163de
Change defaults for kernel compiles. Default all to USETOOLS?=no and have
...
the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES
This way the default for kernel compiles is still to use the installed
toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by
simply adding USETOOLS=yes to the command line as usual.
Adjust each ports template to set the default no setting and also pull in
bsd.own.mk if they weren't already to ensure they'll build correctly
with the new toolchain setup.
2001-10-26 06:45:33 +00:00
thorpej
ba217c4196
Set MACHINE_ARCH explicitly in Makefiles for which it is constant.
...
Also, since config(8) now explcitly sets MACHINE, there is no need
to do it here in the Makefile.
2001-10-23 19:26:41 +00:00
tsutsui
9ed721dc0a
hp300 now uses dev/clock_subr.c.
2001-10-11 15:04:44 +00:00
tsutsui
0c3fd1cf03
Cleanup TOD clock functions:
...
- Adapt MI functions/structures in sys/dev/clock_subr.[ch]
- Fix year-2001 problem
XXX Maybe TOD clock should be attached as an independent device.
2001-10-11 15:02:07 +00:00
tsutsui
59e6364fcd
Include <machine/bootinfo.h>
2001-10-09 16:03:11 +00:00
chs
15982c7311
fix typo in pmap_kremove() which was invalidating the wrong TLB entry.
...
from Hiroki Tanikawa in PR 14099.
2001-09-29 22:00:29 +00:00
wiz
456dff6cb8
Spell 'occurred' with two 'r's.
2001-09-16 16:34:23 +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
atatat
5f25c01eff
Comment out bridge pseudo devices from ports that don't
...
__HAVE_GENERIC_SOFT_INTERRUPTS. bridge(4) doesn't compile there.
2001-09-01 23:08:40 +00:00
atatat
97c67a9bae
Add bridge pseudo devices to GENERIC configs
2001-09-01 21:52:23 +00:00
wiz
c52d355d71
"wierd" is weird.
2001-08-20 12:20:01 +00:00
bjh21
ad2c12a28d
Bump version numbers of all bootloaders that use loadfile/ELF, to account for
...
my changes to symbol loading. I should probably have done this at the time,
but it's better late than never.
2001-08-02 12:24:05 +00:00
wiz
a9356936b4
seperate -> separate
2001-07-22 13:33:58 +00:00
abs
01b024cd5b
Standardise TCP_COMPAT_42 as commented out, grouped with other COMPAT options,
...
and with the comment '4.2BSD TCP/IP bug compat. Not recommended'
Add commented out 'TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG'
(All hail amiga and atari which make some attempt to automate the
multiplicity of config files...)
2001-07-08 16:32:12 +00:00
chs
e185109424
implement pmap_k{enter_pa,remove}() correctly.
...
other misc cleanup.
2001-07-06 05:57:13 +00:00
chs
c844daf5ab
use pmap_k* for pagemove().
...
call pmap_remove() explicitly in vunmapbuf() in preparation for
upcoming UVM changes.
2001-07-06 05:53:35 +00:00
gmcgarry
741d001b9f
Sort boot options. Add -c for userconf.
2001-07-01 02:58:38 +00:00
gmcgarry
c1d6da70b5
Example options to reduce kernel memory footprint.
2001-07-01 02:16:33 +00:00
gmcgarry
a193512e18
Create an empty bootinfo structure.
2001-07-01 01:38:14 +00:00
darcy
ce0ec1e208
Add System V semaphore resource limits to each GENERIC file that has an
...
option for System V semaphores. It appears that there are no overrides
in the code and each file has the following added.
options SYSVSEM # System V semaphores
+#options SEMMNI=10 # number of semaphore identifiers
+#options SEMMNS=60 # number of semaphores in system
+#options SEMUME=10 # max number of undo entries per process
+#options SEMMNU=30 # number of undo structures in system
options SYSVSHM # System V shared memory
If anyone thinks that this is incorrect for any of these files, please
correct it.
Note - the i386 port was not forgotten. It was done separately.
2001-06-30 11:00:31 +00:00
wiz
3f9984fc90
`existent', not `existant'
2001-06-19 13:42:07 +00:00
christos
0f380fac15
Add an e_trapsignal member to struct emul, so that emulated processes can
...
send the appropriate signal depending on the trap type.
2001-06-18 02:00:48 +00:00
wiz
0a600be867
receive, not recieve
2001-06-12 15:17:10 +00:00
chs
49ba960b09
make this compile with DEBUG.
2001-06-11 04:58:33 +00:00
chs
821ec03ed9
replace vm_map{,_entry}_t with struct vm_map{,_entry} *.
2001-06-02 18:09:08 +00:00
lukem
d84d2c6c85
add missing #include "opt_kgdb.h"
2001-05-30 15:24:23 +00:00
mrg
67afbd6270
use _KERNEL_OPT
2001-05-30 11:57:16 +00:00
chs
966a1b86f8
initialize the b_dep field in malloc()'d buffers. fixes PR 13065.
2001-05-29 23:08:06 +00:00
mrg
3783ca5d30
define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
...
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.
2001-05-29 02:20:20 +00:00
kleink
021d12d997
Add 35401A drive (not picker) support; from Jarkko Teppo in PR
...
port-hp300/11183.
2001-05-27 09:09:05 +00:00
gmcgarry
fadbc7d451
- remove dependency on libsa by mkboot since it is a host tool.
...
- adjust for endianness of host.
Cross-compiling of ELF bootblocks now works.
2001-05-27 05:35:11 +00:00
gmcgarry
e8c65098f6
Protect against possible alignment problems.
2001-05-27 05:31:58 +00:00
gmcgarry
f94a9b7669
Alignment for on ELF systems. ELF bootblocks now work.
2001-05-27 05:30:41 +00:00
gmcgarry
9be5657e02
Alignment fix. rd disks now work on ELF systems.
2001-05-27 05:29:48 +00:00
chs
e44e9dec8a
replace vm_page_t with struct vm_page *.
2001-05-26 21:27:02 +00:00
chs
118ddca24a
replace {simple_,}lock{_data,}_t with struct {simple,}lock {,*}.
2001-05-26 16:32:40 +00:00
gmcgarry
bb80cac4a1
pull in lib/libkern/libkern.h to resolve inline tolower()
2001-05-13 00:01:45 +00:00
gmcgarry
b2f43b0b94
size -> ${SIZE}
2001-05-12 23:55:07 +00:00
kleink
ba6a8bf61e
Update to reflect that unlike in m68k a.out environments, where the .align
...
directive is given a log2 argument, .align is given a linear argument in
m68k ELF environments.
2001-05-12 00:55:34 +00:00
scw
2963ff5c58
Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point
...
in each tty driver to indirect through it.
This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +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
thorpej
fe664428c8
Garbage-collect pmap_page_index().
2001-04-25 17:35:00 +00:00
thorpej
1c3a62e066
Sprinkle pmap_update() calls after calls to:
...
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).
These calls are relatively conservative. It may be possible to
optimize these a little more.
2001-04-24 04:30:50 +00:00
thorpej
55044638aa
Remove pmap_kenter_pgs(). It was never really adopted by
...
anything, and the interface itself wasn't as flexible as
callers would have probably liked.
2001-04-22 23:42:11 +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
thorpej
15f731ee94
pmap_update() should not be equated with "flush entire TLB", it is
...
used to process deferred pmap operations. Since these pmaps don't
defer anything, pmap_update() is a noop.
2001-04-21 17:25:01 +00:00
he
9f142f57b9
In the provisional disklabel (which will be used if there is no
...
valid on-device disk label), set d_npartitions to RAW_PART+1 instead
of to 1. Discovered as a build bug on the netbsd-1-5 branch, affecting
miniroot construction and vnd devices; RAW_PART went missing from the
in-core disklabel, and eventually also the on-device label.
2001-04-20 16:58:19 +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