Jeroen Ruigrok van der Werven
62b151c324
Document C99 conformity.
...
Update text which is printed out to reflect reality.
2001-10-24 18:14:51 +00:00
Jeroen Ruigrok van der Werven
d4c54c0c46
Add __FBSDID.
...
Change __assert() function to print failing function name.
This makes us C99 conforming.
2001-10-24 18:12:43 +00:00
Jeroen Ruigrok van der Werven
6cefb54a32
Add __FBSDID.
...
Change __assert() function to print failing function name.
#if 0 the sccsid block.
This makes us C99 conforming.
2001-10-24 18:12:18 +00:00
Jeroen Ruigrok van der Werven
8c825c1afd
Add $FreeBSD$.
...
Change assert() macro to print failing function name.
Change K&R function prototype wrapper to ANSI prototype.
This makes us C99 conforming.
2001-10-24 18:10:37 +00:00
Jonathan Lemon
b792b54c89
Remove call to cninit_finish().
2001-10-24 17:42:01 +00:00
John Baldwin
c5ca5a55a1
- Clean up the comments slightly here to make them more readable.
...
- Set the type and trapframe number for the F00F workaround since type
can be used later by sv_transtrap(). Debuggers might also want to look
at the type in the trapframe.
Submitted by: bde (mostly)
2001-10-24 17:38:40 +00:00
Andrey A. Chernov
e41febc84b
Help to recover from bad seek (i.e. negative or too big) happens beyond
...
our pre-check control. Do the same way as refill.c does when it set __SERR,
i.e. clear read and ungetc buffers. Clear EOF flag too.
2001-10-24 17:25:49 +00:00
Hajimu UMEMOTO
a55dfa2ac1
Make apm a module.
...
We need further work to be able to specify an equivalence of `flags 0x20'.
Many PCs should work for now. But, some PCs need `flags 0x20'.
2001-10-24 16:53:54 +00:00
Bruce A. Mah
53db40974b
Refer more consistently to the different FreeBSD (hardware platform)
...
ports. Also use "official" names for platforms where appropriate.
Partly suggested by: phantom
2001-10-24 16:01:40 +00:00
Bruce A. Mah
81787f40dc
Add some new entities with the "official" names of the platforms
...
we support (as opposed to the names of ports).
2001-10-24 15:37:25 +00:00
Yoshihiro Takahashi
6cac891491
Added the pmc driver which supports power management controller of
...
old NEC PC-98NOTE.
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
MFC after: 1 week
2001-10-24 14:46:40 +00:00
John Baldwin
781a35df6b
Fix this to actually compile in the !INVARIANTS case.
...
Reported by: Maxime Henrion <mux@qualys.com>
2001-10-24 14:18:33 +00:00
Robert Drehmel
9a024fc559
Use vm_offset_t instead of caddr_t to fix a warning and remove
...
two casts.
2001-10-24 14:15:28 +00:00
Hellmuth Michaelis
365bf7980c
fix kvprintf panic in attach routine
2001-10-24 14:12:47 +00:00
Peter Pentchev
f6c0e0ef6f
Correct a typo: numtiple -> multiple.
...
PR: 31474
Submitted by: Eric Yu <ericyu@mail2000.com.tw>
MFC after: 1 week
2001-10-24 12:51:23 +00:00
Cameron Grant
16a33022e7
fix SNDCTL_DSP_GETISPACE behaviour
2001-10-24 12:40:54 +00:00
Cameron Grant
8309fd9aef
improve recording behaviour
2001-10-24 12:33:21 +00:00
Ruslan Ermilov
0ef0318866
Finish the removal of the LABPC driver.
...
Forgotten by: phk
2001-10-24 10:57:30 +00:00
Ruslan Ermilov
fe5e2a2c52
It's safe to assume that ${.OBJDIR} == ${.CURDIR} in the
...
NOOBJ-hinted Makefiles.
2001-10-24 09:16:23 +00:00
Marcel Moolenaar
3a6ec54e58
Remove call to cninit_finish. This is part of the multiple
...
low-level console support.
2001-10-24 08:06:55 +00:00
Mark Murray
72ec126774
Back out my last commit. Ruslan (ru) has a better fix.
2001-10-24 07:59:42 +00:00
Marcel Moolenaar
39a4abbe0c
Add parse functions for local APIC and I/O APIC entries.
...
Also, show when a local APIC or SAPIC is disabled.
2001-10-24 04:48:05 +00:00
Robert Watson
c1787d3b75
o Note an additional potential problem here: LOCKD_MSG directly exports
...
struct ucred to userland. In 5.0-CURRENT, it is desirable to instead
export struct xucred, as ucred contains mutexes, pointers, and other
kernel evil. I'll add it to my work queue.
2001-10-24 02:48:38 +00:00
Matthew Dillon
79deba82cd
Fix ktrace enablement/disablement races that can result in a vnode
...
ref count panic.
Bug noticed by: ps
Reviewed by: ps
MFC after: 1 day
2001-10-24 01:05:39 +00:00
Andrey A. Chernov
3f498bf72b
Back out read buffer invalidating via __SMOD.
...
It was correct, but not needed because internal buffer cleared on each seek
outside of it.
2001-10-23 23:52:11 +00:00
Matt Jacob
fc16d270b7
Tra-La, another QLogic f/w funny- this time with the 2300.
...
If we get a completion status of RQCS_QUEUE_FULL, it means
that the internal queues are full. Other QLogic boards set
the QFULL SCSI status. But *nooooooooooo*, not the 2300.
MFC after: 1 day
2001-10-23 23:05:20 +00:00
Andrey A. Chernov
0502fac881
Change comment explaining another usage of __SMOD
2001-10-23 23:05:15 +00:00
John Baldwin
4fab209391
Remove if_wx.
...
Submitted by: Dave Cornejo <dave@dogwood.com>
2001-10-23 22:56:41 +00:00
John Baldwin
7fe151bee5
Document sx_assert(9).
2001-10-23 22:51:59 +00:00
Andrey A. Chernov
751fc77994
Disallow fseek() optimization in internal read buffer, if pointer is moved by
...
seek. It means that beginning of read buffer becomes not the same as current
file position.
2001-10-23 22:48:00 +00:00
Nick Hibma
9965784733
Regen.
2001-10-23 22:44:36 +00:00
Nick Hibma
2b97142db8
Add Olympus C-700
2001-10-23 22:44:03 +00:00
John Baldwin
4e5e677bc0
Change the sx(9) assertion API to use a sx_assert() function similar to
...
mtx_assert(9) rather than several SX_ASSERT_* macros.
2001-10-23 22:39:11 +00:00
John Baldwin
e5e5b51f9f
Allow hw.acpi.cpu.{economy,performance}_speed to be set from the loader
...
via tunables.
2001-10-23 22:37:36 +00:00
John Baldwin
d19fc02a22
Change TUNABLE_*_FETCH to have a return value of 0 if the variable was not
...
found or successfully converted and true otherwise.
2001-10-23 22:35:25 +00:00
John Baldwin
21cbf0cc8b
- Change getenv_quad() to return an int instead of a quad_t since it
...
returns an success/failure code rather than the actual value.
- Add getenv_string() which copies a string from the environment to another
string and returns true on success.
2001-10-23 22:34:36 +00:00
John Baldwin
a33cbf355e
Set the code and signal for the F00F hack fault directly instead of
...
changing the code in the trapframe and looping back to the top of trap
again.
Tested by: cjc
2001-10-23 22:29:16 +00:00
Peter Wemm
76792d87a8
Fix RAW dependency violation when compiled with gcc-3
...
Warning: Use of 'br.ret.sptk.many' violates RAW dependency 'PSR.tb' (data)
2001-10-23 22:23:22 +00:00
Jonathan Lemon
64ce1efcd1
Add a manual page.
2001-10-23 22:13:34 +00:00
Mark Murray
f1986f092b
Make sure the copies: and symlinks: targets exist in the case of the
...
empty ".for ..." loop.
2001-10-23 21:28:39 +00:00
Jonathan Lemon
093a27108a
Hook up conscontrol to the build.
2001-10-23 20:37:07 +00:00
Jonathan Lemon
e4a604093c
Add conscontrol, a front end interface for manipulating consoles.
2001-10-23 20:36:43 +00:00
Bruce A. Mah
6efeb9a73c
Clarification: &release.next; refers to a future FreeBSD release.
...
Submitted by: phantom
2001-10-23 20:34:41 +00:00
Jonathan Lemon
22dc069c24
Set RB_MULTIPLE (multiple console support) if the kernel is booted
...
with the -D flag.
2001-10-23 20:27:48 +00:00
Murray Stokely
811ae39279
Fix typo.
...
PR: docs/31388
Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
2001-10-23 20:27:06 +00:00
Jonathan Lemon
c80bd6e378
Allow the RBX_DUAL flag to appear in bootinfo.
2001-10-23 20:27:05 +00:00
Jonathan Lemon
991f976036
Implement multiple low-level console support.
2001-10-23 20:25:50 +00:00
Jonathan Lemon
5e1cf72708
Add RB_MULTIPLE flag so the bootloader can turn on mulitiple console
...
support. This flag value is identical to RBX_DUAL from boot2.
2001-10-23 20:22:04 +00:00
Jonathan Lemon
034cc6fe5a
Add a siocnterm function for the CONS_DRIVER function vector.
2001-10-23 20:16:56 +00:00
Robert Watson
b5c05ddcb8
o Add two comments identifying problems with the current nfs_lock.c
...
implementation, so that the information doesn't get lost.
(1) /var/run/lock is looked up relative to the current thread's root
directory, but it's not clear that's desirable.
(2) A race condition associated with live credential modification on
a shared credential is present when privilege is granted for
the purposes of talking to /var/run/lock.
2001-10-23 19:11:31 +00:00