144333 Commits

Author SHA1 Message Date
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
shige
4f9e38e993 Add support for On-chip PSC SMBus protocol. 2006-03-06 17:16:45 +00:00
shige
01a719a41a Add enable/disable/suspend functions for AuXXXX PSC devices. 2006-03-06 17:15:03 +00:00
shige
f38dbbf211 Add register definitions for AuXXXX SMBus protocol. 2006-03-06 17:12:24 +00:00
shige
4990fa749e Add some definitions for register bits. 2006-03-06 17:10:46 +00:00
christos
8dd3175c14 Add documentations for the 3 undocumented ptrace calls. 2006-03-06 15:47:42 +00:00
he
26393ce66e Remove another instance of the SET/CLR/ISSET macro triplet, now that
they have been moved to <sys/types.h>.
2006-03-06 15:03:49 +00:00
he
fddbc48a67 Remove yet another instance of the SET/CLR/ISSET macro triplet, now
that they are in <sys/types.h>.
2006-03-06 15:01:45 +00:00
cube
ceafd0acdb Regen (SysV IPC). 2006-03-06 14:41:28 +00:00
cube
754cf030b7 Implement the SysV IPC family of syscalls. 2006-03-06 14:40:55 +00:00
cube
ec9bafb3f3 Introduce msgrcv1 and msgsnd1 which take special care of the msg_type
parameter that gets copied in or out, making sys_msg{rcv,snd} friendly to
COMPAT_NETBSD32.
2006-03-06 14:24:13 +00:00
tron
d143d2f4b2 Correct use of "#ifdef" and "#endif" broken in last commit. 2006-03-06 10:08:58 +00:00
he
f54e404523 Another instance of syscall_fancy which is only defined when KTRACE
or SYSTRACE is defined, so enclose its use in the same conditional.
2006-03-06 08:38:54 +00:00
cube
56b94b8db7 delay() is gone, so don't declare it. That way other parts of code that
use a variable named delay (say, netinet6/in6.c) won't shadow something
that doesn't exist anyway.
2006-03-06 08:30:44 +00:00
martin
60e2115aff Add support for Moxa CP104 serial card, from Olivier Cherrier 2006-03-06 08:26:20 +00:00
martin
013227eddd Regen (MOXA devices added) 2006-03-06 08:24:13 +00:00
martin
eb0fe4f28c Add MOXA devices, from Olivier Cherrier 2006-03-06 08:23:00 +00:00
he
fbe2f1783f Remove another instance of the SET/CLR/ISSET macro triplet, now found
in <sys/types.h>.
2006-03-06 08:13:58 +00:00
he
53c5776a46 syscall_fancy is only defined if either KTRACE or SYSTRACE is set,
so enclose its use in the same set of conditionals.
2006-03-06 08:05:06 +00:00
he
5fa2f4d231 Delete the local definitions of CLR, SET and ISSET, since they are
now in <sys/types.h>.
2006-03-06 07:54:12 +00:00
christos
c3eb071ee0 We always need syscall_fancy now. 2006-03-06 05:40:28 +00:00
christos
33db6ebb5e always define proc, not just when ktrace and systrace are defined. 2006-03-06 02:17:53 +00:00
christos
421a9c133c add the 3 opencrypto sysctls. 2006-03-06 00:51:48 +00:00
christos
5403b0bea4 sprinkle DPRINTF()... 2006-03-06 00:50:44 +00:00
christos
03d1230d6c Add the 3 missing sysctl we are supposed to export. 2006-03-06 00:49:42 +00:00
aymeric
d5d0c11532 Make the -s flag of fc work correctly. Ensure that only one command is specified
and ensure that we break out of the loop after executing it.
With the previous code, because the re-executed command was added to the
history, it would think that it still had to execute it, leading to an infinite
loop.

The last thing which differs from ksh is that we get the "fc -s " command into
the history, but this is actually rather a feature in my humble opinion.

To test:
$ echo hello
$ fc -s ec
<infinite loop or correct behaviour>
2006-03-06 00:09:22 +00:00