Commit Graph

144158 Commits

Author SHA1 Message Date
thorpej
61dd49d3bc Syscall debug tracing is handled by trace_enter() / trace_exit(). Change
trace_is_enabled() to return TRUE if SYSCALL_DEBUG is defined, and g/c
all of the SYSCALL_DEBUG handling from individual system call dispatch
routines.
2006-03-07 07:21:50 +00:00
thorpej
a2b6f1b10c Wrap calls to (*e_syscall_intern)() in __HAVE_SYSCALL_INTERN. Fixes
VAX build.
2006-03-07 07:19:44 +00:00
matt
319869c477 Don't cast lvalue. remove uninitialized reference. 2006-03-07 04:45:52 +00:00
thorpej
be8b235384 Clean up fallout proc_is_traced_p() change:
- proc_is_traced_p() -> trace_is_enabled(), to match trace_enter() and
  trace_exit().
- trace_is_enabled() becomes a real function.
- Remove unnecessary include files from various files that used to care
  about KTRACE and SYSTRACE, but do no more.
2006-03-07 03:32:04 +00:00
uwe
ff265b0443 In binutils 2.16 new SuperH flags were introduced. Since we still use
old gdb, teach it new flags, so that it can recognize binaries compiled
with new binutils.  For new flags set arch to an approximate superset
that this version of bfd knows about.  This is good enough for gdb.

PR port-sh3/32972
2006-03-07 02:16:23 +00:00
dogcow
f50580b5db Add a slew of CPUID information, and now deal correctly with 533FSB CPUs.
un-revert the 760 frequencies, as a consequence.
2006-03-07 02:16:04 +00:00
hubertf
8c061da318 Xref pwhash(1),
pointed out by Stefan Schumacher at the Chemnitz Linuxdays
2006-03-07 01:52:09 +00:00
thorpej
6e72296875 Remove SET/CLR/ISSET definitions. 2006-03-06 23:19:50 +00:00
jnemeth
e8c92f0c6b PR/30923: Zafer Aydogan: pam too verbose
Make it explicit that by default, you can only login as root on the console.

Approved by christos@.
2006-03-06 23:16:44 +00:00
jnemeth
9804398129 PR/30923: Zafer Aydogan: pam too verbose
Syslog root login failures on insecure terminals.

Approved by christos@.
2006-03-06 23:08:20 +00:00
jnemeth
99089ba6f8 PR/30923: Zafer Aydogan: pam too verbose
Don't display a different message for root logins on insecure terminals.

Approved by christos@.
2006-03-06 23:06:18 +00:00
shige
97e07f10cd Change name of SMBus include: smbusreg.h => ausmbus_pscreg.h. 2006-03-06 23:06:17 +00:00
jnemeth
a2645cdaf4 PR/31059: Zafer Aydogan: login too verbose
Don't display a different message for root login on insecure terminal.

Approved by christos@.
2006-03-06 22:59:27 +00:00
simonb
fa4d68e618 The hooks pointed to by VFS_HOOKS_ATTACH are in the (read/write) data
segment and not a readonly segment, so use __link_set_add_data for them.
Fixes problems with corrupt vfs attach hook lists on our remaining a.out
platform.
2006-03-06 22:47:13 +00:00
bouyer
e7ef71f0c6 Config file for Xen3 DomU kernel. 2006-03-06 22:28:44 +00:00
agc
5eb45d3d63 Sync lists with reality - add svwsata(4) and catman page. 2006-03-06 22:21:25 +00:00
bouyer
028c20dba6 Adapt for recent changes in UVM. 2006-03-06 22:10:28 +00:00
bouyer
be18814951 Fix build issues that didn't show up in my private tree. 2006-03-06 22:04:18 +00:00
matt
044257a109 Add a diagnostic printf if a write fails during a coredump. 2006-03-06 21:53:29 +00:00
macallan
8700623aff - use vcons
- enable the external VGA port when tctrl detects a monitor
2006-03-06 21:53:17 +00:00
macallan
7d93c08c77 - use a lock to serialize tadpole_request()
- add a callback to signal monitor detection on the external VGA port
- don't call tadpole-request() in interrupt context
- use a kernel thread for various not time-critical work like device
  monitoring, LCD status updates, external event handling and so on
(the monitoring stuff is preliminary and to be replaced by a more generic API)
2006-03-06 21:43:29 +00:00
simonb
f27f6a0ae1 Remove commented out "ausmbus" instance now that there's a fleshed out
instance above this.
2006-03-06 21:29:23 +00:00
christos
230c3d4ed6 Print the actual eofc, instead of ^D\b\b.
Change internal character decoding to prevent buffer oveflows.
2006-03-06 21:11:56 +00:00
christos
0fd1bd6295 use the tty chars for reprint and eof instead of hard-coded ^R and ^D 2006-03-06 21:11:03 +00:00
agc
d4397af4d8 One more off the TODO list, although I hadn't realised it was going to be
as painful as it was.

Teach GNU autoconf to recognise socklen_t, and use it in the code.
2006-03-06 20:52:32 +00:00
bouyer
2e3fa7a73a Add a Xen Virtual Network device driver for Xenbus. 2006-03-06 20:36:12 +00:00
bouyer
60d4a96e28 pull in the grant table and Xenbus interfaces, and attach xenbus at hypervisor. 2006-03-06 20:34:09 +00:00
rpaulo
941ce91614 Rename local variables called delay that shadow the delay() decl.
Pointed out by Robert Swindells.
2006-03-06 20:33:52 +00:00
bouyer
8adab3e01b Map the XenStore shared page for non-domain0. 2006-03-06 20:32:28 +00:00
bouyer
f0dc72de02 Implement granttables operations. 2006-03-06 20:30:40 +00:00
bouyer
636656c40d Xenbus public functions 2006-03-06 20:29:52 +00:00
shige
94274c9331 Add r2025rtc. 2006-03-06 20:29:06 +00:00
bouyer
1604640823 Adapt for NetBSD and add glue for config(9). Enough to get guest domain
virtual devices probed and attached, domain0 and xenstore watch needs to
be done.
2006-03-06 20:21:35 +00:00
rjs
71e3b5b4c8 Remove SET/CLR/ISSET macros. 2006-03-06 20:21:25 +00:00
bouyer
ed3fe49dd5 Import xenbus sources, from linux sparse tree in the 20060107 xen-3.0
snapshot.
2006-03-06 20:16:33 +00:00
bouyer
df06d5bae0 Add back a cn_check_magic() call which was commented out by mistake in
previous commit.
2006-03-06 20:12:09 +00:00
bouyer
59b2aa00f1 xenconscn_getc(): if xencons_console_device is NULL loop here instead
of in ddb.
2006-03-06 20:10:51 +00:00
christos
29ae9537af remove + 0 from M_GETCTX; breaks with warning about pointer arithmetic on
void *. Reported by plunky.
2006-03-06 20:06:55 +00:00
bouyer
8508673945 Mark ring indexes as volatile. 2006-03-06 20:00:51 +00:00
reed
1b379e628e Fix the "Cannot chdir" error message to actually show the
problem directory name for lsbest and lsall.

For example:

# pkg_admin -d /usr/packages/DragonFly/1.4.0/i386/All lsbest 'gmake>0'
pkg_admin: Cannot chdir to /var/db/pkg: No such file or directory

Should show:
pkg_admin: Cannot chdir to /usr/packages/DragonFly/1.4.0/i386/All: No such file or directory
2006-03-06 20:00:10 +00:00
bouyer
2e57249e9d Use x86_lfence/x86_sfence instead of linux wmb()/mb() 2006-03-06 20:00:06 +00:00
bouyer
9c7083dfa0 Implement MULTI_update_va_mapping() and MULTI_update_va_mapping_otherdomain(),
which fills in multicall arguments for __HYPERVISOR_update_va_mapping
and __HYPERVISOR_update_va_mapping_otherdomain dealing with
differences between i386 and amd64.
2006-03-06 19:57:31 +00:00
christos
8f1c5de2eb PR/33014: arnaud degroote: remove SET/ISSET/CLR defines 2006-03-06 19:57:03 +00:00
bouyer
fa2d4a51e2 Add xen_atomic_cmpxchg16(), which exports the cmpxchgw instruction to C. 2006-03-06 19:55:47 +00:00
shige
2e6c8a97d2 Add a driver for RICOH R2025S/D I2C RTC. 2006-03-06 19:55:08 +00:00
bouyer
198cdcf732 Correct arguments for __HYPERVISOR_set_timer_op 2006-03-06 19:54:50 +00:00
bouyer
e4e15333af Add x86_sfence() for symetry, which is just a __insn_barrier() here. 2006-03-06 19:54:14 +00:00
he
377126348b Remove another instance of the macro triplet SET/CLR/ISSET, now
found in <sys/types.h>.
2006-03-06 18:42:58 +00:00
bouyer
f656fa41eb Add svwsata(4), a driver for Serverworks K2 SATA controllers. From
OpenBSD via Joerg Sonnenberger.
2006-03-06 18:35:24 +00:00
shige
21d185683c Remove working-debug codes.
I apologize sincerely...
2006-03-06 17:22:38 +00:00