tsutsui
20d126a5b4
Fix comments for ref-count of PT pages.
2001-12-16 03:53:21 +00:00
gmcgarry
bdd225baa1
Add a blurb to the top of all GENERIC files. This serves three purposes:
...
- to clarify some terminology
- to clarify the intention of the GENERIC file
- to cross-reference some useful man pages
2001-12-14 05:34:45 +00:00
chs
2dfd15933e
change the reference-counting of PT pages to start from zero instead of
...
one, so that we don't mess up the global count of wired pages by having
the page's wire_count be non-zero when we free the page.
pointed out by Michael Hitch.
2001-12-13 04:39:50 +00:00
lukem
b0b0a32ad7
Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
...
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
minoura
3e9a826813
Add -p option to suppress creating the partition table.
2001-12-08 00:51:03 +00:00
minoura
a5d9ca13b1
New target: release.
2001-12-07 06:52:14 +00:00
minoura
7bd6e6b999
Correct typo.
2001-12-07 06:51:47 +00:00
minoura
da36b95207
Sync with mvme68k.
2001-12-06 04:13:39 +00:00
minoura
bf3ea26688
Add ELF support.
2001-12-06 04:13:12 +00:00
atatat
2f31dcd126
It's not called "opt_fpuemulate.h", it's called "opt_fpu_emulate.h". :)
2001-12-05 18:04:35 +00:00
minoura
88031f5a81
Correct LINKS to install sdboot_ufs properly.
2001-12-05 02:07:09 +00:00
minoura
830cfb5ec1
Use sys/conf/Makefile.kern.inc.
2001-12-04 15:22:29 +00:00
minoura
4ee42d6a56
Ooops, previous commit removed an important line unintentionally.
2001-12-04 15:21:28 +00:00
minoura
5684610fac
.include <bsd.own.mk> for OBJECT_FMT.
2001-12-02 14:41:21 +00:00
minoura
9a342a1f55
Small message fixes.
2001-12-02 14:25:44 +00:00
minoura
90e97e1eb1
Do not install libsa.a
2001-12-02 13:25:34 +00:00
minoura
1cf5c38da0
Descend to new boot programs.
2001-12-02 09:59:39 +00:00
minoura
99978cf934
Install as installboot.new.
2001-12-02 09:58:56 +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
minoura
090189cb5a
Surround a conditionally used varable with #if.
2001-11-25 16:11:56 +00:00
minoura
bbfb453233
Remove unused variables.
...
Correct printf format strings.
2001-11-25 16:00:05 +00:00
minoura
fe68996902
Previous commit was incomplete.
2001-11-25 15:45:26 +00:00
minoura
e8ac9084a2
Make this file compile again.
2001-11-25 15:43:06 +00:00
minoura
bc2457e5a5
Delete unused variables.
2001-11-25 15:42:23 +00:00
isaki
9803619f9a
Sync with GENERIC 1.67
2001-11-25 05:21:12 +00:00
isaki
adf7d48092
Add an ethernet part of Nereid.
2001-11-25 05:10:03 +00:00
minoura
9011251c05
Sync. with GENERIC plus others.
2001-11-25 01:27:49 +00:00
minoura
67b7ba9580
se0 is dead.
2001-11-25 01:23:45 +00:00
minoura
fb3e999db8
One more floppy fix.
2001-11-25 00:42:11 +00:00
minoura
f7b4b90acd
Avoid using array chaining mode of DMAC.
2001-11-25 00:38:50 +00:00
minoura
c5979593b7
Remove debug messages.
...
Fix bogus floppy check.
2001-11-24 16:38:16 +00:00
minoura
6018e68205
C version of installboot(8).
...
Shell script version required sed, od, etc. which were too big for install
media.
2001-11-24 16:26:56 +00:00
minoura
12c8367914
boot_ufs can now used as the disk primary boot.
2001-11-24 16:22:54 +00:00
minoura
a8f7d98ad9
Emit the binaries directly from the loader.
2001-11-24 16:18:44 +00:00
minoura
c957ecf172
Support BSD style disklabel on harddisks.
...
XXX need consistency check between the native label and the BSD label.
2001-11-24 16:08:25 +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
lukem
99bccc3cab
- pull in opt_kgdb.h where necessary
...
- replace opt_kgdb_machdep.h with opt_kgdb.h
- defparam opt_kgdb.h:
KGDB_DEV KGDB_DEVNAME KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
- move from opt_ddbparam.h to opt_ddb.h:
DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE DDB_BREAK_CHAR SYMTAB_SPACE
- replace KGDBDEV with KGDB_DEV
- replace KGDBADDR with KGDB_DEVADDR
- replace KGDBMODE with KGDB_DEVMODE
- replace KGDBRATE with KGDB_DEVRATE
- use `9600' instead of `0x2580' for 9600 baud rate
- use correct quotes for options KGDB_DEVNAME="\"com\""
- use correct quotes for options KGDB_DEV="17*256+0"
- remove unnecessary dependancy on Makefile for kgdb_stub.o
- minor whitespace cleanup
2001-11-20 08:43:19 +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
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
48c09b6243
Work around <bsd.lib.mk> used for kernel libs in other places. Clean up
...
include paths.
2001-11-14 23:01:13 +00:00
tv
5489b30b60
${MAKE} print-objdir -> ${PRINTOBJDIR}
2001-11-14 00:58:48 +00:00
isaki
2108a5c977
Rewrite vs_query_encoding() using array.
2001-11-13 09:27:06 +00:00
isaki
c2e9ead40b
Clean up debug messages. Separate it two debug levels.
2001-11-13 09:06:00 +00:00
isaki
db0f7ea415
add Nereid. ne* at intio0
2001-11-11 01:40:29 +00:00
isaki
85e2e11f39
Support an ethernet part of Nereid.
...
Nereid is the board of ethernet/USB/memory for X68k
developed by X-PowerStation, a japanese X68k circle.
See http://xps.jp/ but only written in japanese.
2001-11-11 01:39:02 +00:00
isaki
20d2e2f7e8
Support BUS_SPACE_MAP_SHIFTED_EVEN for bus_space_map().
...
Now BUS_SPACE_MAP_SHIFTED means BUS_SPACE_MAP_SHIFTED_ODD.
It is needed for Nereid Ethernet.
2001-11-11 01:38:00 +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
tsutsui
064be15283
Use common macro to check message length.
2001-11-04 12:03:41 +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
thorpej
4810d73020
Build the loadfile() a.out, ECOFF, and ELF back-ends as separate
...
objects.
2001-10-31 01:51:42 +00:00
isaki
12707fe416
fix typo s/X86K/X68K/ in comment.
2001-10-28 07:05:51 +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
isaki
3c63a64cab
Change 3 glyphs according to SRAM flags (0xed0059),
...
when ITELOADFONT ioctl is issued.
2001-10-21 03:46:30 +00:00
chs
b5ad35867e
fix pmap_changebit() to look for the bit in the page attrs
...
in addition to any PTEs.
2001-10-17 06:28:16 +00:00
minoura
8b99935fc3
Use newvers_stand.sh to record the version.
2001-10-15 16:23:00 +00:00
minoura
9138cb0511
Prepare to set WARNS=2.
2001-10-15 16:13:39 +00:00
minoura
5239a6291a
set current_id properly.
2001-10-15 16:07:20 +00:00
augustss
1339e88a86
Add a new optional method, dev_ioctl, to the audio hardware driver interface.
...
It is called when an unrecognized ioctl() is performed on a device,
thus allowing ioctl()s that frob the hardware driver (like loading
microcode).
2001-10-03 00:04:47 +00:00
minoura
0c64b75cd1
Install as xxboot_*, and create links as fdboot_* and sdboot_*.
2001-10-01 17:03:38 +00:00
minoura
a78691e911
Add a prompt message.
2001-10-01 16:59:34 +00:00
minoura
3600319102
CPU is not (yet) checkd.
...
Use 68000 instructions only.
2001-10-01 16:58:01 +00:00
minoura
5e62bcc792
Print daemon image on startup.
...
(any other missing features?)
2001-09-30 15:54:38 +00:00
minoura
6dccdcc4cb
Implement ls command.
...
Correct bootdev detection.
Other minor changes.
2001-09-29 03:50:12 +00:00
minoura
9f3eb31089
Make this compile with the new toolchain.
2001-09-29 03:45:13 +00:00
minoura
a927531829
Exclude N/W code.
2001-09-29 03:44:04 +00:00
minoura
a70835b9a0
Minor KNF.
2001-09-29 01:42:26 +00:00
minoura
63906d4679
-D_STANDALONE
2001-09-29 01:42:09 +00:00
minoura
0669861353
Minor changes from news68k.
2001-09-29 01:24:30 +00:00
minoura
45300859de
Forgot to include <machine/bootinfo.h> for the new symbol added in the
...
previous commit.
2001-09-29 01:24:01 +00:00
minoura
d83cae1ca8
Primary boot for ustarfs.
...
Supports floppy only.
2001-09-28 15:22:21 +00:00
minoura
446e0c768b
Add ustarfs support.
2001-09-28 15:20:00 +00:00
minoura
b3bb79f90d
Add changedisk_hook().
2001-09-28 15:19:33 +00:00
minoura
dfde39ec68
Update authors' mail addresses.
2001-09-28 15:12:01 +00:00
minoura
e6e223cd3e
Message cosmetics.
2001-09-28 15:11:19 +00:00
minoura
b57b9ddfa4
Create stripped version by default.
2001-09-28 15:10:39 +00:00
chs
984d30ac45
don't depend on other headers to include sys/proc.h for us.
2001-09-28 12:36:48 +00:00
minoura
3fa9e67e35
Install as `boot_ufs'.
2001-09-28 01:49:54 +00:00
minoura
7d1fc276fa
Make these compile with the old (a.out) toolchain.
2001-09-27 14:08:27 +00:00
minoura
f5f7a94fa6
Add some missing definitions.
2001-09-27 13:27:54 +00:00
minoura
99247aadcc
Initial commit of the new bootloader to support ELF kernel.
...
It consists of two programs named boot_ufs and boot; the former reads
the latter (an OMAGIC a.out).
Boot now utilizes the libsa library to read the actual kernel.
- LFS code exists, but probobly does not work.
- Currently the ELF toolchain is required.
- Many features are missing.
2001-09-27 10:14:49 +00:00
minoura
7e950cc6e8
libsa for the new bootloader of x68k port.
2001-09-27 10:03:26 +00:00
minoura
8d3d810cc4
Embed the version number of the interface between the bootloader and
...
kernel. See amiga.
2001-09-27 09:55:10 +00:00
tv
ab11c169b5
objcopy -> ${OBJCOPY}; remove redundant definitions of OBJCOPY?= (it is
...
now in bsd.own.mk).
2001-09-22 03:34:17 +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
mrg
e309f80412
remove bogus comment. noted by Tetsuya Isaki <isaki@par.odn.ne.jp> in private email.
2001-08-26 12:14:22 +00:00
chs
17d06a7ad7
use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
...
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:37:35 +00:00
minoura
6ec544c64d
implement pmap_k{enter_pa,remove}() correctly.
...
other misc cleanup.
patch written by chs; equivalent to hp300 pmap.c:1.95.
2001-07-26 02:21:58 +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
wiz
cc0b68092e
Correct various misspellings of 'transfer' and inflected forms.
2001-07-08 18:06:42 +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
minoura
7e84e14950
Sync with GENERIC.
2001-07-07 15:59:31 +00:00