Commit Graph

866 Commits

Author SHA1 Message Date
christos
257ef94e95 Add mips fenv.h (From FreeBSD) 2015-12-21 17:02:32 +00:00
christos
c6ad517cd0 new powerpc fenv.h 2015-12-20 16:23:38 +00:00
christos
1fd17d5979 PR/50524: David Binderman: Fix incorrect test 2015-12-13 19:38:09 +00:00
maxv
b74522aae1 Remove KMEMSTATS. 2015-08-08 06:36:24 +00:00
kamil
f874bd0561 Improve spelling: regsiter -> register
This change is non-functional.

Approved by <riastradh>, <pgoyette>
2015-07-11 10:32:45 +00:00
christos
c182898b0d We have three sets of DTYPE_ constants in the kernel:
altq		Drop 		Type
	disklabel	Disk 		Type
	file		Descriptor	Type
(not to mention constants that contain the string DTYPE).
Let's make them two, by changing the disklabel one to be DisK TYPE since the
other disklabel constants seem to do that. Not many userland programs use
these constants (and the ones that they do are mostly in ifdefs). They will
be fixed shortly.
2015-01-02 19:42:05 +00:00
phx
a3e5fcf230 Fix all warnings when compiling with gcc 4.8.
BeBox should be ready for 4.8 now.
2014-12-12 15:57:30 +00:00
manu
239cf5506d Remove unused extended attributes kernel options
As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
2014-11-16 16:01:39 +00:00
manu
2cab231d44 Support for UFS1 extended attributes in GENERIC and GENERIC-like kernels
This change just brings UFS1 extended attribute *support* in the kernel,
extended attributes are not enabled unless three conditions are met:
1) filesystem is UFS1 (newfs -O1)
2) .attribute/system and .attribute/user directories are created at fs root
3) filesystem is mounted with -o extattr

Some GENERIC kernels are obviously memory constrained, the extended
attributes options were not enabled for them, but just added commented out.
(kernel were considered memory constrained if QUOTA option was disabled)
2014-11-12 10:47:20 +00:00
dholland
4acb6306f5 Systematize (and in many cases, fix) the comments on options COMPAT_NN.
There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
2014-08-23 20:26:56 +00:00
apb
30a0368950 Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
2014-08-16 17:56:30 +00:00
joerg
4513714096 Mark _rtt as dead 2014-08-08 19:45:48 +00:00
joerg
0c7d9d4853 Don't set -mmultiple or -mno-string for PowerPC, the difference is too
small to really matter and it sometimes even increases the size.
2014-08-08 16:56:30 +00:00
joerg
eb6cc7528a Consistently define WARN in a way that passes format string checks, i.e.
always uses the same number of arguments as given in the format string.
2014-08-06 21:57:48 +00:00
joerg
fb33f6451a Use cmpwi/cmpw 2014-08-06 15:23:07 +00:00
alnsn
582402eab5 Rename sljitarch.h to sljit_machdep.h. 2014-07-23 18:19:43 +00:00
phx
d08eccdb32 mc146818's sc_flag indicates the time is stored in binary format, not BCD.
So we should configure the chip's REGB for binary format as well.
This makes the BeBox RTC finally work reliable for me.
2014-06-20 09:47:15 +00:00
phx
77c503c771 Add missing siop_clearfifo() and some debugging output (-DDEBUG). 2014-06-14 20:50:12 +00:00
phx
6a6a965d56 Fix SCSI reads beyond block 0x1fffff, by writing the READ_10/READ_16 opcode
into the correct scsipi_rw_10/scsipi_rw_16 command structure.
2014-06-10 18:37:26 +00:00
phx
e7ab4b8e66 printslots() -> printPCIslots(). Make it compile with -DDEBUG. 2014-06-09 17:35:01 +00:00
phx
66c8502fa8 Use int32_t, int16_t, int8_t. 2014-06-01 17:21:50 +00:00
szptvlfn
a66bf66641 fix manual section numbering of sysctl.
thanks wiz@
2014-03-24 14:15:37 +00:00
tsutsui
8c436a9898 Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.
XXX: probabry we should have bsd.saprog.mk or something.
2014-01-12 15:26:28 +00:00
alnsn
5345f80ec7 Enable sljit and bpfjit on powerpc. 2013-11-17 14:34:11 +00:00
matt
277b2cd1d4 Use <bsd.klinks.mk> 2013-08-21 06:53:10 +00:00
rmind
666e919182 G/C PFIL_HOOKS from the kernel configs. 2013-06-30 21:38:55 +00:00
christos
e46f5f0078 remove obsolete networking options 2013-06-05 23:07:59 +00:00
christos
a631873e13 Complete the dosparts -> mbrparts conversion. Only x86k new uses dosparts
because it also uses struct dos_partition.
2013-05-16 19:06:43 +00:00
christos
9434c99ee1 more bogus number removal 2013-04-27 22:21:12 +00:00
christos
1cc8b68d4b the bogus number police 2013-04-27 21:43:10 +00:00
christos
dc14ae835f remove confusing numeric locators where they are unused. 2013-04-27 18:19:19 +00:00
kiyohara
cd4f72f266 Fix hangup to interrupt on cascading PIC.
tested on bebox and evbppc/OPENBLOCKS600.
2013-04-21 15:42:11 +00:00
christos
2c1aa36c3d Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it. 2013-03-02 02:42:07 +00:00
joerg
e240adbd0b Retire OSI network stack. OK core@ 2013-03-01 18:25:13 +00:00
kiyohara
1656a75508 Fix format of specify for scsi disk. s,/dev/disk/scsi/0/0/0,/dev/disk/scsi/000, 2013-01-03 14:03:39 +00:00
kiyohara
14bd0028e3 Change path-format for scsi. s,scsi/B/T/L_n,scsi/BTL/0_n,. 2012-12-19 13:53:47 +00:00
rkujawa
451ad24202 Include bebox.h only in kernel. Make bebox port build again. 2012-10-29 14:13:22 +00:00
kiyohara
5e233c258e Add experimental support GENERIC.MP. 2012-10-20 14:53:37 +00:00
kiyohara
ee8a036b3d Enable cpu0 I/D cache. Disable cpu1 it. 2012-10-20 12:45:22 +00:00
kiyohara
bc1ed5ac13 Cleanup macros of access for bebox-register. 2012-10-20 12:37:49 +00:00
kiyohara
47f6f75f98 Remove unused enable_intr()/disable_intr(). 2012-10-20 12:13:46 +00:00
kiyohara
3b1ec3ef05 Disable some not working drivers. (pcppi, spkr, midi)
Disable some not need drivers. (fdc1, bio, raid)
2012-10-20 11:58:45 +00:00
apb
f3929b106b Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
2012-10-17 14:48:07 +00:00
jdc
4be6ce2eeb Adapt to the changed signature of pckbc_cnattach(). 2012-10-13 17:58:53 +00:00
kiyohara
6a6aa29e14 Left and Right LEDs on in end of cpu_reboot(). 2012-10-08 15:34:58 +00:00
matt
4098916e4f Add ${_MKTARGET_LINK} 2012-09-01 00:29:00 +00:00
mlelstv
8ce4433821 Do not call setroot() from MD code and from MI code, which has
unwanted sideeffects in the RB_ASKNAME case. This fixes PR/46732.

No longer wrap MD cpu_rootconf(), as hp300 port stores reboot information
as a side effect. Instead call MI rootconf() from MD code which makes
rootconf() now a wrapper to setroot().

Adjust several MD routines to set the global booted_device,booted_partition
variables instead of passing partial information to setroot().

Make cpu_rootconf(9) describe the calling order.
2012-07-29 18:05:39 +00:00
abs
8f45a59205 Adjust the WSDISPLAY_COMPAT_USL comment to mention wsconscfg, to at least
give a hint that its not just for third party compat. No functional change.
2012-06-05 08:44:07 +00:00
joerg
99c3eea80c P1003_1B_SEMAPHORE is no longer optional. 2012-03-10 21:51:48 +00:00
kiyohara
548f0d5725 Remove unused a valiable 'siopdbg'. 2012-02-14 11:44:47 +00:00