193972 Commits

Author SHA1 Message Date
tsutsui
fe29d97c5e Prepare empty module_init_md() for options MODULAR.
XXX: Should we get rid of cpu_exec_aout_makecmds() for COMPAT_NOMID and
XXX: COMPAT_44? Who still keeps such rare ancient commands?
2010-10-16 16:41:45 +00:00
tsutsui
fac996134e Note misc user visible changes I put recently. 2010-10-16 15:33:06 +00:00
tsutsui
301a7b97a4 Add commented out options MODULAR. 2010-10-16 13:55:11 +00:00
wiz
532ca9579f Use .In. 2010-10-16 12:05:48 +00:00
njoly
4c968434a3 Make setenv(3) follow the standard, by rejecting invalid strings. It
now fails with EINVAL errno when variable is NULL, empty or contains
an `=' character; or value is NULL.

Adjust the man page accordingly, and exercize them in the existing
environment testcase.
2010-10-16 11:23:41 +00:00
njoly
53f8ab79a9 Do use putenv(3) to handle the provided strings directly, instead of
setenv(3) which need string splitting and later reassembly.
2010-10-16 11:13:52 +00:00
skrll
cf640a666c oops, sort after previous. 2010-10-16 10:41:50 +00:00
skrll
e6cdac9c4b Implement dl_iterate_phdr.
Somewhat taken from FreeBSD. Manual page from OpenBSD.
2010-10-16 10:27:06 +00:00
taca
a00a1fe7ff - Change "else" + space + tab "if" to "else" + space + "if".
- A word "mechanism" was accidently separated in to "me" and "chanism"
  in comment.

No functional chanage and I found it while reading if_wm.c yesterday.
2010-10-16 06:31:49 +00:00
taca
3eda447adb Remove a variable which assigned but never used, I found while reading
if_bge.c yesterday.
2010-10-16 06:29:33 +00:00
kiyohara
daccc0584f Remove unnecessary 'define pckbcport'. 2010-10-16 05:59:35 +00:00
kiyohara
74d6c751e6 Add bktr(4). (BeOS seems to have supported BT848. ;)
Remove INSECURE.
Disable options PMS_SYNAPTICS_TOUCHPAD.
Remove mms and lms from majors.bebox.
2010-10-16 05:49:03 +00:00
kiyohara
afdef59be6 Cleanup INSTALL.
+ Enable must required devices.  (HDD, NIC, com, vga, genfb and keyboard)
  - Disable optional devices. (mouse, lpt...)
2010-10-16 05:39:34 +00:00
kiyohara
95bbad455e Support vendor dependent functions. 2010-10-16 05:29:29 +00:00
kiyohara
992efa8a89 Add vendor dependent functions.
sc_vendor_init()/sc_vendor_port_status().
2010-10-16 05:23:41 +00:00
kiyohara
30411c8b74 Add option -I (no-inkernel). bebox loads kernel from HDD. 2010-10-16 05:14:14 +00:00
kiyohara
97990fdb3d Remove unnecessary white-spaces and Tabs.
Replace white-spaces to Tab.
2010-10-16 05:05:09 +00:00
jym
ce6fea14a1 size_t: %d => %zd 2010-10-16 00:20:05 +00:00
jym
3b91e62198 Handle error case (avoid changing to XenbusStateConnected when resume
failed)
2010-10-16 00:18:06 +00:00
jym
db7bc67367 Features (like feature-rx-copy) are set during XenbusStateInitWait in
backend. So delay xennet_xenbus_resume() up to notification of
backend state change.

This avoids a race that happens during dynamic attach/detach of network
interfaces with xm(1), where frontend queries xenstore for features not
yet reported by backend. This does not happen during normal domU boot,
as the backend has enough time to fill in these entries before frontend
asks for them.

Issue was reported by sborrill@: detaching xennet interfaces with RX copy
mode enabled turns them back during attach to RX flip mode due to the race.

feature-rx-copy support is part of another patch.
2010-10-16 00:12:08 +00:00
phx
c018a125ad Make it match the TAS3004 "codec" node, which is found on newer PowerBook G4s
(PowerBook5,6).
2010-10-15 22:18:58 +00:00
he
428772b231 Fix a minor typo preventing this from building. 2010-10-15 20:01:03 +00:00
jschauma
40df9f7982 remove duplicate 'was' in a comment 2010-10-15 19:35:08 +00:00
tsutsui
afeacd3b7c compat_aoutm68k doesn't require alternative emul path lookup. 2010-10-15 16:51:09 +00:00
tsutsui
8e16588b0b Make common kernel module binaries work on both sun3 and sun3x.
Tested on 3/160 (on TME) and (real) 3/80.

XXX: module files can be loaded only on single user?
2010-10-15 15:55:52 +00:00
skrll
0a77584d8f Revert previous for now. It's part of a larger commit which will arrive
soon.
2010-10-15 15:08:05 +00:00
skrll
1f09b5c2ae Sort entries. 2010-10-15 12:29:17 +00:00
tsutsui
621e053625 Build and install compat_aoutm68k.kmod and exec_aout.kmod on m68k machines. 2010-10-15 12:20:33 +00:00
tsutsui
0d70fee822 Add compat_aoutm68k module build dir.
(See options(4) for details of compat_aoutm68k)
2010-10-15 11:22:01 +00:00
tsutsui
bb3ae5174d Get rid of more #ifdef COMPAT_AOUT_M68K dependent part.
Now compat_aoutm68k can be a module.

XXX: linux/svr4 ELF binaries also require a syscall return value in %a0?
2010-10-15 10:40:52 +00:00
tsutsui
f350eccac6 Fix typo. 2010-10-15 10:20:09 +00:00
skrll
a048346afd Be more tolerant to the location of PT_PHDR in the segment list. 2010-10-15 07:22:44 +00:00
dholland
1657dadafa Per PR 19359 note that mkdep doesn't handle all make metacharacters
correctly; in particular, filenames containing '#' cause trouble,
although '$' seems to be ok. Bump date.
2010-10-15 05:46:48 +00:00
rmind
0698446b8c Re-enable direct select. 2010-10-15 05:39:19 +00:00
dholland
eeb9a7a99f Fix cut&paste code, from Henning Petersen in PR 43544. 2010-10-15 05:26:09 +00:00
haad
e9533dda6f Add files needed to build npf as a RUMP library, original code bu rmind
some modifications done by me.

Oked by @rmind.
2010-10-14 22:39:30 +00:00
skrll
3fd0b7cfed Fix RCSID 2010-10-14 20:14:50 +00:00
tsutsui
eee2fbcce4 Un-ifdef COMPAT_AOUT_M68K for MODULAR kernel. 2010-10-14 16:34:29 +00:00
tsutsui
b2c1aff3d8 Fix reloc calcurations (mechanically pulled from working i386 and sh3).
Now options MODULAR works at least on news68k:

# uname -mrs
NetBSD 5.99.39 news68k
# modstat|grep filesys
coredump         misc       filesys    2     2790     -
exec_aout        misc       filesys    0     1866     coredump
exec_elf32       misc       filesys    0     6072     coredump
exec_script      misc       filesys    0     972      -
kernfs           vfs        filesys    0     9734     -
mfs              vfs        filesys    0     3656     ffs
procfs           vfs        filesys    0     23924    -
#
2010-10-14 16:33:50 +00:00
tsutsui
8a34e103b1 Prepare empty module_init_md() for options MODULAR. 2010-10-14 16:31:16 +00:00
skrll
5e1e0a2d7b Define PT_TLS. 2010-10-14 07:57:34 +00:00
skrll
9c4f0f800b Move a comment so that it is correct. 2010-10-14 07:51:21 +00:00
plunky
38be6befc7 Some Broadcom controllers emit empty ACL packets during connection
setup, using the handle that they have not yet told us for the
connection-to-be. Disconnecting can cause problems so just ignore
zero length ACL packets on unknown connection handles.

fixes a problem reported by Nick Hudson
2010-10-14 07:05:03 +00:00
kiyohara
9a2413ff51 Support kernel load from SCSI HDD with onboard siop. It is very EXPERIMENTAL!! 2010-10-14 06:58:22 +00:00
kiyohara
01f89bfdb3 Support kernel load from IDE HDD with onboard wdc. like cobalt, sandpoint. 2010-10-14 06:50:43 +00:00
kiyohara
9fe16975a7 Change format of path for device. A current form strangely feels dissatisfied.
This new format looks like the format of BootROM of BeBox.
2010-10-14 06:39:52 +00:00
kiyohara
246f73effa s/,vga}/,_vga}/. 2010-10-14 06:23:27 +00:00
kiyohara
bb14ed2c7b Add _rtt(). But it is NULL function. 2010-10-14 06:17:57 +00:00
kiyohara
050710296c Add pci.c to SRCS. 2010-10-14 06:17:29 +00:00
kiyohara
2fb624f24b Add pci.c. Splitted from vreset.c
And cleanup vreset.c.
2010-10-14 06:12:54 +00:00