Commit Graph

53 Commits

Author SHA1 Message Date
chs 1cedb649d4 move the spl*() and IPL_* definitions to intr.h. 2001-05-28 21:06:18 +00:00
chs a8651c4b09 make sun3x work again after the recent change to the m68k cpu_kcore_hdr:
allocate a page for dumps like the sun3 does rather than using part of
the msgbuf page.  this also lets the msgbuf use the full msgbuf page.
2001-05-28 20:56:54 +00:00
thorpej dded044fc2 Update for the NKMEMPAGES changes. 2000-02-11 19:25:12 +00:00
ragge 0513268399 CL* discarding. 1999-12-04 21:13:19 +00:00
gwr 2cc28dc7b6 Make it clear that MSGBUFSIZE is not user-adjustable. 1999-04-05 14:34:18 +00:00
gwr eff2e270bd Merge arch/sun3x into arch/sun3 1998-02-05 04:56:24 +00:00
gwr 167d06be57 Increase MSGBUFOFF to 512 so we can be sure there is room for a
kernel core header before the message buffer.
1997-10-03 02:16:15 +00:00
gwr a3cc0968d7 Fix MSGBUFSIZE 1997-10-02 01:12:09 +00:00
leo 2b138578d7 Correct for the extra member in 'struct kern_msgbuf' when calculating
the number of bytes we want to allocate.
1997-09-20 12:10:09 +00:00
leo d4713d24c2 Implement the kernel part of pr-1891. This allows for a more flexible sized
msgbuf. Note that old 'dmesg' and 'syslogd' binaries will continue running,
though old 'dmesg' binaries will output a few bytes of junk at the start of
the buffer, and will miss a few bytes at the end of the buffer.
1997-09-19 13:52:37 +00:00
veego 3feb40be26 Restore the define of UPAGES. 1997-07-10 08:23:30 +00:00
veego 05b8948c41 Define NBSG from (1 << SEGSHIFT) and move some variables before
<m68k/param.h>.
1997-06-10 19:32:15 +00:00
veego 931d90fcee Use the MI <m68k/param.h> include. 1997-06-10 07:54:35 +00:00
gwr 4d534f3d52 Define VM_MAX_KERNEL_ADDRESS using KERN_END instead of a constant. 1997-02-27 18:22:53 +00:00
gwr 9b75e011ab Allow option MCLSHIFT=x to control MCLBYTES etc. 1997-02-27 18:12:38 +00:00
gwr bb9cc8ad2b Use ALIGNBYTES in the new ALIGNED_POINTER macro.
(That is always good enough on the m68k.)
1997-02-26 20:36:13 +00:00
fvdl 115b6d92fa Define ALIGNED_POINTER 1997-02-24 23:16:53 +00:00
gwr 94b20c709d Move sun3_btop (etc.) macros from param.h to pte.h 1997-01-18 19:27:16 +00:00
gwr 6d6e6e45e0 Define MAXBSIZE as 32KB to limit the size clustered transfers. 1996-12-13 19:46:14 +00:00
cgd 18ec26aa21 add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,
execpt without quotes.  meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
1996-03-04 05:04:10 +00:00
cgd 1c5d7babe5 Clean up tabbing/spacing in defns of MACHINE, MACHINE_ARCH, and MID_MACHINE. 1996-03-01 23:30:08 +00:00
gwr 5404ccfbd7 Improved delay() implementation with lower overhead,
makes very short delays much more accurate.
1996-02-16 18:06:11 +00:00
mycroft 88e512b693 LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
gwr 01655dec81 Need to define KERNTEXTOFF for kvm_mkdb 1995-11-10 22:04:48 +00:00
gwr 6548befa4f Nuke user-mode DELAY() macro. 1995-06-27 14:37:22 +00:00
cgd 2d49c3885b clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
dbtob().  remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
gwr cd13e583aa Provide delay2us as an inline and make it reasonably accurate,
but conservative (long) by a factor of about 1.25
1995-06-13 22:14:24 +00:00
jtc 71ab4ed9dc KERNEL -> _KERNEL 1995-03-28 18:13:48 +00:00
gwr b7982644e1 Put spltty at level 4 and adjust others appropriately.
Also, improve the inline _spl() and move it to psl.h
1995-03-27 01:22:50 +00:00
cgd b8403d582b don't be so quick to cast macro arguments to unsigned; if the
arguments are really off_t's (e.g. to btodb), then you can lose
information.  This was the "> 4G file systems don't work" bug; physio
uses btodb, which was broken.
1995-03-18 07:22:43 +00:00
gwr 0caf3c47cb cosmetic 1994-11-28 19:13:18 +00:00
gwr 4e1ccf9989 Add USPACE 1994-11-23 05:18:16 +00:00
gwr 59bf96aa56 Lots of changes. Fairly stable now. 1994-11-21 21:26:40 +00:00
gwr 6bc6879e46 Remove some unnecessary junk. 1994-10-26 18:56:02 +00:00
cgd 20af809ca2 new RCS ID format. 1994-10-26 09:07:55 +00:00
gwr 399b15ebf9 Kill CLOCK_VA, INTERREG_VA. Do spl0() and splx(x) inline too. 1994-09-20 16:31:03 +00:00
jtc 23ece5babc asm -> __asm (PR #463). 1994-09-16 02:39:36 +00:00
gwr 1e707d2dec Add USPACE 1994-08-23 21:11:37 +00:00
gwr 813f137067 Catch up with frame.h chages, merge stuff from new hp300 port. 1994-05-27 14:55:20 +00:00
gwr 1adf9a39b5 Make the DELAY macro call the new delay() function. 1994-05-04 05:25:43 +00:00
glass 7a1f9ba5b9 ugh. splimp is the greater of splnet and splbio now. used by pmap module for splpmap() 1994-05-02 05:46:06 +00:00
glass 8461eac15e boots, presents shell prompt, and doesn't crash immediately 1994-02-23 08:28:11 +00:00
glass 2ed464d5b4 MACHINE_ARCH 1993-12-12 09:10:52 +00:00
glass 06932ce0f8 Now works with current tree, as opposed to the july 8th tree in which it was
written.
Requires magnum infrastructure now, particularly the clock stuff.
Fails to exec init because the /sbin/init binary
is a sunos binary.  Next step is to integrate sunos compatibility code
from /sys/compat/sunos, and the amiga port.
Does not yet implement MACHINE_NOCONTIG support.

[from glass Mon Nov 22 21:22:45 PST 1993  home tag: home2]
1993-11-23 05:28:35 +00:00
glass 8585a64107 sun3 port updated. netboot integrated. 1993-10-12 05:17:41 +00:00
glass a2133ea268 last snapshot before uploading. we still have serious clock problems 1993-08-28 15:35:16 +00:00
glass dc22f15a6d snapshot. for uploading. gets lost in swtch after enablertclock() 1993-08-21 02:16:07 +00:00
glass 3b87958501 various changes 1993-08-08 12:18:27 +00:00
glass 7e7509f5ff gets to consinit() and blows up 1993-08-05 23:09:17 +00:00
glass 461002f91d it links with out any unresolved symbols, last few are just stubs
because we aren't likely to get near execing init for a while
1993-08-03 22:37:04 +00:00