jakllsch
9779175e56
Sprinkle static.
2011-09-08 16:34:09 +00:00
jakllsch
1578aa6f33
Another copy/paste problem with a function name in a error printf.
2011-09-08 15:36:42 +00:00
jakllsch
d8c7d8f2e8
Correct copy/paste of function name in error printf.
2011-09-08 15:34:07 +00:00
jakllsch
e09b9d681e
Cosmetic changes.
2011-09-08 15:27:50 +00:00
jakllsch
4df4fc4c6f
Make whitespace more consistent.
2011-09-08 15:26:26 +00:00
reinoud
dde6f9699b
Use the machdep.h and now use the md_check_syscall_opcode()
2011-09-08 15:13:27 +00:00
reinoud
40f72d3d5d
Add a machdep protoype header file to coder all prototypes in machdep.c
2011-09-08 15:11:42 +00:00
reinoud
3065b9b15c
Implement md_check_syscall_opcode() to check if the instruction at the pointer
...
`ptr' is indeed a syscall entry.
2011-09-08 15:10:59 +00:00
reinoud
d000ba6756
Create syscall() prototype and let illegal instruction handler switch to that
...
switchframe
2011-09-08 14:49:42 +00:00
reinoud
f556f0c122
Link syscall to userland so on exit is automatically goes to userland.
2011-09-08 14:47:17 +00:00
reinoud
d17fad1925
Cleanup syscall context creation
2011-09-08 12:37:28 +00:00
jmcneill
3dae8a590d
get rid of clock softintr and move setitimer call to cpu_initclocks
2011-09-08 12:10:13 +00:00
reinoud
85962a671d
White space
2011-09-08 12:08:13 +00:00
reinoud
dbc71f3ad4
Create a ucontext for the system call to work in; its cloned from the new
...
pcb's call `userland' ucontext.
2011-09-08 12:01:22 +00:00
christos
6438f483a9
revert previous; don't change the logic.
2011-09-08 12:00:26 +00:00
reinoud
0917001943
Remove struct trapframe
2011-09-08 11:56:48 +00:00
jmcneill
928460d59c
pass debug compiler parameters to modules built with host sdk
2011-09-08 11:53:18 +00:00
jmcneill
e2b91b31a3
add heavyweight sigprocmask stuff, commented out unless INTR_USE_SIGPROCMASK
...
is defined
2011-09-08 11:13:03 +00:00
jmcneill
dee122e414
use HZ to calculate interval for setitimer
2011-09-08 11:11:18 +00:00
blymn
14cd7a9b79
- Add a delay just after the function is passed to the slave, this
...
gives the slave time to process the command and produce output before
the director drains output from the slave. This is particularly
important when the slave is set up for timed input because the ioctl
used by curses to set the tty parameters waits for pending output to
drain.
- make a debug statement conditional on verbose again
- make a warning about output from the slave conditional on verbose
- fix setting the minimum input delay, it should be milliseconds not
nanoseconds.
- Handle nanosleep returning early due to a signal, restart the sleep
with the remaining time.
2011-09-08 10:56:49 +00:00
jmcneill
ef8b8537b9
regen
2011-09-08 10:49:56 +00:00
jmcneill
dac37bf7e9
make sure USPACE is large enough to hold our struct pcb
2011-09-08 10:49:41 +00:00
christos
90932ffc48
don't forget to 0 init the rest of the array since now we removed the memset
2011-09-08 01:19:52 +00:00
christos
47ecf56863
a little more KNF, plus add \e (from the previous commit)
2011-09-08 01:18:44 +00:00
christos
0ffd30a090
It is pointless to assign to the CLASS.set member and never use it again.
...
Perhaps the author meant to check if it is already set and not allocated it
again to avoid memory leaks? Anyway make everything const back and delete
the unused code. Yes, this leaks the same way as before but it is
insignificant. If we want to save memory we could use bytes or even bits
instead of ints, and not allocate/initialize the same thing multiple times.
2011-09-08 01:18:05 +00:00
joerg
91a068001c
Add comment to explain the const issue to avoid future trouble.
2011-09-07 22:59:19 +00:00
christos
a222eb155b
catch up with vmem_alloc signature change.
2011-09-07 21:32:07 +00:00
jmcneill
37071899b9
Enable non-PCM passthru for digital converters, and treat the "AC3 supported"
...
flag to mean that the codec supports AC3 decoding for analog converters.
2011-09-07 20:34:58 +00:00
riz
894f750d42
Fix up amd64 set lists for MKDEBUGLIB=yes build. There are still
...
issues for other arches.
2011-09-07 20:26:13 +00:00
jakllsch
3d6f16cbff
options PMS_DISABLE_POWERHOOK has been obsolete for a while now,
...
remove what little still remains of it.
2011-09-07 19:05:13 +00:00
riz
958c749ae4
Remove newly-introduced const qualifier from static CLASS classes[],
...
as CLASS->set gets changed in genclass(). Fixes a segfault doing:
tr '[:lower:]' '[:upper:]'
on (at least) amd64.
2011-09-07 18:21:41 +00:00
christos
efc6f08d08
mention new openssh.
2011-09-07 17:55:12 +00:00
christos
80241483b8
bump libssh
2011-09-07 17:54:10 +00:00
christos
6f47b6603c
merge openssh-5.9
2011-09-07 17:49:19 +00:00
reinoud
1ee505923e
Add skeleton for possible system call implementation
2011-09-07 14:03:49 +00:00
macallan
96649c9b0b
report power button events to sysmon
2011-09-07 13:37:49 +00:00
jmcneill
f086ef60d1
build fix for previous
2011-09-07 13:07:21 +00:00
jmcneill
56f57fcd97
Read/modify/write the digital converter control 1 register when setting up
...
digital playback instead of clobbering existing state.
2011-09-07 12:33:06 +00:00
reinoud
9b3721aa1b
Better not copy this trapframe
2011-09-07 10:19:40 +00:00
reinoud
d1ce9520ff
Move all i386 specific stuff in a #ifdef __i386__
2011-09-07 10:10:10 +00:00
reinoud
96273c3159
Print the byte codes that failed
...
State actions to implement.
2011-09-07 10:00:19 +00:00
reinoud
f8307eddb0
Fix the illegal instruction return address. It was using the value of the
...
cpu's %cr2 register but thats not valid:
CR2 Contains a value called Page Fault Linear Address (PFLA). When a page
fault occurs, the address the program attempted to access is stored in the CR2
register.
And this is thus NOT the illegal instruction address!
2011-09-07 09:24:55 +00:00
jruoho
046448eac0
Remove duplicate word.
2011-09-07 08:54:41 +00:00
cegger
bb4604ebfe
hpacel_reg_info() wants a device_t and not an ACPI_HANDLE.
...
Fixes NULL pointer dereference in hpacel_reg_info().
2011-09-07 08:43:20 +00:00
mbalmer
5ff9b946b6
Newline is \n, not /n.
2011-09-07 07:43:05 +00:00
macallan
fccabba939
support ioctl(POWER_EVENT_RECVDICT) - now powerd turns my gdium's backlight
...
off when the lid is closed
2011-09-07 02:35:00 +00:00
jmcneill
89245df9b8
hdafg_stream_connect: if connecting a non-PCM stream, make sure only
...
converters that support non-PCM formats are configured to decode it
2011-09-07 00:16:40 +00:00
jmcneill
8877e89cfb
auconv_exact_match: don't check precision, validbits, or channels for AC3
2011-09-07 00:11:58 +00:00
jmcneill
a123dfbe30
recognize AUDIO_ENCODING_AC3
2011-09-06 22:41:53 +00:00
jym
a0e5aa6d82
/etc/defaults/rc.conf can be modified at build time by getting additional
...
arch-specific hooks appended to its end (currently: i386 and amd64).
Handle this case in postinstall(8) by checking whether we are in
$SOURCEMODE or not, and generate the correct rc.conf file on the fly in
case we have to. Otherwise, postinstall(8) may install the default one
obtained from a source directory that does not have the MD hooks
appended to it.
Problem reported by wiz@. Thanks!
2011-09-06 21:39:30 +00:00