thorpej
3993ee01e4
Don't enable I/O or memory access here! These bits in the PCI CSR are
...
set up by the firmware, and indicate which mapping types the system
supports.
1999-03-24 01:07:59 +00:00
thorpej
ac0f626cca
Make sure bus mastering is enabled.
1999-03-24 01:05:15 +00:00
thorpej
9f85a4a798
Make sure bus mastering is enabled.
1999-03-23 23:18:50 +00:00
jonb
6c6ff861c6
put in compiler options to reduce object size by half
1999-03-23 23:02:14 +00:00
thorpej
bc5e782935
Don't rely on an `rcsid' being present.
1999-03-23 22:53:30 +00:00
simonb
729eda4324
Define a bootinfo record and initial structures that the pmax will use.
...
Modeled on i386 and bebox bootinfo.h.
1999-03-23 22:53:02 +00:00
simonb
aca34380db
If on entry the stack is within 4kB of _start, don't reset the stack
...
pointer to just underneath _start. Allows bootblocks (or other kernel
calling programs) to pass more than 4 arguments if it sets up the stack
properly.
The 4kB figure may be overkill - on the pmax it only needs to be a dozen
of so bytes.
1999-03-23 22:43:18 +00:00
simonb
9913b7202b
Revert SA_NOPUTCHAR - the pmax was the only port using it and the new
...
pmax bootblocks provide a putchar().
1999-03-23 22:25:31 +00:00
simonb
c9e3b47a0f
Don't build anything while bootblocks are being updated.
1999-03-23 22:23:11 +00:00
simonb
f93b8168c0
Include <machine/db_machdep.h> instead of <mips/db_machdep.h>.
1999-03-23 22:15:36 +00:00
simonb
41febd3a3c
Move DB_{AOUT,ELF}_SYMBOLS (and DB_ELFSIZE) definition to port-specific
...
db_machdep.h file.
1999-03-23 22:07:06 +00:00
simonb
027594b1eb
Add CPU_BOOTED_KERNEL to CTL_MACHDEP definition.
1999-03-23 22:04:01 +00:00
thorpej
86f87d7c5f
Add a new shared media option, IFM_FLOW, used to enable link-level
...
flow control. IEEE 802.3x is in mind, but this could be generally
useful for different types of media.
1999-03-23 21:46:47 +00:00
drochner
1c99e4196a
Use BUS_SPACE_ALIGNED_POINTER() instead of ALIGNED_POINTER() where the pointer
...
in not just used to access memory but is bassed to bus_space_xxx_n()
methods. For debugging purposes, bus_space can have additional constraints
which will be properly met by BUS_SPACE_ALIGNED_POINTER().
1999-03-23 21:41:07 +00:00
drochner
76fa1751fe
Add a macro to check for sufficient pointer alignment in bus.h context,
...
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
1999-03-23 21:29:03 +00:00
perry
1adf543079
update the date.
1999-03-23 21:19:58 +00:00
perry
23433d74a4
more updates. It appears, unfortunately, that the whole "gotchas while
...
upgrading" section is going to need a rewrite.
1999-03-23 21:17:44 +00:00
perry
e2cf6728d9
add Piermont Information Systems
1999-03-23 21:12:56 +00:00
perry
27b5e4333f
update for changes in main -- USB and IDE are not i386 specific
1999-03-23 21:02:09 +00:00
perry
58263c1e72
Numerous fixes for 1.4. This is approximately okay for 1.4 now,
...
assuming enough people proof read it. more to come.
1999-03-23 20:55:38 +00:00
bad
b5348881aa
Add tcic PCMCIA controller.
1999-03-23 20:08:55 +00:00
bad
23d89d53f3
config(8) glue for the TCIC PCMCIA backend.
1999-03-23 20:07:39 +00:00
bad
f44fb0d91c
A backend for Databook's TCIC family of PCMCIA chips.
...
Thanks to Andreas Lohrum, O'Reilly Verlag, Terry Moore, and Holger Czukay
for hardware, documentation, and support.
1999-03-23 20:04:14 +00:00
mycroft
1bb64b0636
__SWAP_BROKEN is no longer useful here.
1999-03-23 19:16:03 +00:00
perry
75b15f7534
first cut of whatis for 1.4
1999-03-23 18:57:19 +00:00
mycroft
6bb727e736
Nuke some more code that was fetching PT_M and PT_H from pv_flags.
1999-03-23 18:39:38 +00:00
thorpej
c939af8267
Oops, some source files use __IDSTRING() directly, so provide one in
...
the ELF case, as well.
1999-03-23 18:28:12 +00:00
drochner
a9ddfb696d
allow to set location of INSTALL kernel from command line so that
...
bootfloppies can be built with r/o /usr/src or with other kernels
1999-03-23 18:10:57 +00:00
wrstuden
3c8e65b670
Oops. macppc doesn't use PCLK as a baud rate source.
1999-03-23 18:07:19 +00:00
drochner
ccb094136e
find "mdsetimage" in ${DESTDIR}
1999-03-23 18:05:45 +00:00
mycroft
5f63cab877
The page and section fault handling paths are essentially identical, so
...
combine them. This also fixes a performance issue, in that we always
faulted pages twice in order to write them.
1999-03-23 18:02:02 +00:00
wrstuden
a7678930b4
Oops. mac68k does NOT use PCLK as a clock source, so don't enable it in
...
the default channel setup.
1999-03-23 17:55:03 +00:00
mycroft
79e56d3237
The ARM has the same copy-on-write bug as the i386 -- the write enable bit in
...
PTEs is ignored when in kernel mode. Hack around this just like we do on the
i386, by adding a prepass to copyout() to check for write permission on the
destination pages.
1999-03-23 17:14:34 +00:00
drochner
5575305f99
If no screen got the "focus" (which happens with serial console or if
...
the current screen is deleted), automatically give focus to the next
screen created. Saves the need to switch to a usable screen manually.
1999-03-23 15:56:56 +00:00
minoura
87c8a7e347
u?vm_page_physload args are in page.
1999-03-23 15:55:43 +00:00
christos
f36829e285
s/DEBUG/LDT_DEBUG/ This got too verbose when running Wine.
1999-03-23 15:48:19 +00:00
kleink
6558e04aea
Translate _PC_FILESIZEBITS.
1999-03-23 14:57:00 +00:00
bouyer
491d912f59
Implement a read cache, as announced on tech-userlevel. Default is 32k
...
read buffer size, 512 buffer or 15% of the user memory. Can be changed
with the -k and -s options.
1999-03-23 14:22:59 +00:00
mycroft
8f3d31a32b
More cleanup...
...
* Don't bother pulling PT_M and PT_H bits from pv_flags; they can't ever be
set there!
* Actually make pmap_clear_reference() do something useful.
* Also set the referenced bit (PT_H) when emulating a write fault.
1999-03-23 13:52:48 +00:00
mycroft
da99fe308e
Repeat after me:
...
If we're doing modified bit emulation, we must revoke write permission in
pmap_clear_modify(). This is non-negotiable. I will revoke write permission
in pmap_clear_modify(), or suffer the wrath of a thousand bricks.
1999-03-23 13:27:48 +00:00
mycroft
3c8512dbb5
We could not possibly have been updating the pv attributed correctly in
...
pmap_enter(), so... make the obvious change.
1999-03-23 12:30:45 +00:00
pk
b0de87c45f
To clear a chunk of bus memory use bus_space_set_regionN().
1999-03-23 12:01:45 +00:00
mycroft
b88d12625c
Fix the `missing footer' problem. See the comment for details.
1999-03-23 11:50:09 +00:00
lukem
0a10e5dd4b
document new bind() restrictions
1999-03-23 10:59:11 +00:00
lukem
8a931fcdd8
Ensure that you can only bind a more specific address when it is done by the
...
same uid or by root.
This code is from FreeBSD. (Whilst it was originally obtained from OpenBSD,
FreeBSD fixed it to work with multicast. To quote the commit message:
- Don't bother checking for conflicting sockets if we're binding to a
multicast address.
- Don't return an error if we're binding to INADDR_ANY, the conflicting
socket is bound to INADDR_ANY, and the conflicting socket has
SO_REUSEPORT set.
)
1999-03-23 10:45:37 +00:00
leo
4ca3cf8411
Use libhack.o to make this all fit on the miniroot again.
1999-03-23 10:22:31 +00:00
leo
9c6b700adf
Allow for a 'LIBS' directive in the 'list'-files.
1999-03-23 10:20:01 +00:00
mycroft
508d292759
.Bl/.El cleanup.
1999-03-23 09:40:53 +00:00
itohy
f1a39637c9
cleanup
1999-03-23 09:29:51 +00:00
mycroft
8b0c29593a
Make Qo and Qc callable again.
1999-03-23 09:29:11 +00:00