uebayasi
486f0b2e24
Fix DEBUG build.
2011-07-28 03:15:20 +00:00
uebayasi
15302a25c3
machine/bus.h -> sys/bus.h
2011-07-28 02:07:42 +00:00
uebayasi
5bad846c95
Bump SYMTAB_SPACE.
2011-07-28 02:02:23 +00:00
christos
d47f958456
Rename key to keymacro to avoid conflicts with term.h. The renaming of term
...
to terminal was again to avoid conflicts with term.h. term.h is a moving
namespace violation.
2011-07-28 01:56:26 +00:00
macallan
2f4b6c0966
more PCI_MAGIC_IO_RANGE fixes
2011-07-28 01:44:50 +00:00
macallan
b602207310
userland needs to see PCI_MAGIC_IO_RANGE
2011-07-28 01:30:22 +00:00
macallan
4b81ad3a98
hiding PCI_MAGIC_IO_RANGE from userland is counter-productive
2011-07-28 01:24:31 +00:00
christos
8cf227343c
- check and don't cast malloc return
...
- more wide function use
2011-07-28 01:08:58 +00:00
christos
98c7cbebbc
term -> terminal
...
XXX: need to rename key_ too.
2011-07-28 01:05:20 +00:00
christos
78cb86e064
regen
2011-07-28 01:05:00 +00:00
christos
fd46b57ee4
avoid shadowed variable
2011-07-28 01:04:41 +00:00
christos
5fc21e9736
use vis.h from .
2011-07-28 00:54:26 +00:00
christos
b210596944
eliminate alloca for portability
...
portable getpw{nam,uid}
2011-07-28 00:50:23 +00:00
christos
82edb784c6
term -> terminal
...
eliminate MAXPATHLEN
2011-07-28 00:49:18 +00:00
christos
0c0f23399c
- fix memory allocation botch in wide strings
...
- check mbstowcs return code
2011-07-28 00:48:21 +00:00
christos
e63c844a17
term -> terminal
2011-07-28 00:45:50 +00:00
christos
885062da0b
more portability defines
2011-07-28 00:45:30 +00:00
christos
c2c011fc82
term -> terminal
2011-07-28 00:45:14 +00:00
christos
adb2121e55
term -> terminal
...
fix wide function confusion
2011-07-28 00:44:35 +00:00
christos
f375da6e14
include config.h for all c files.
2011-07-28 00:43:53 +00:00
christos
b723d6a65c
include vis.h from dot.
2011-07-28 00:43:33 +00:00
christos
df2309ca73
fix confusion with wide functions.
2011-07-28 00:43:12 +00:00
matt
6ed2595d7e
Change a cast to appease gcc4.5
2011-07-27 23:11:23 +00:00
matt
1df400bdea
Make this use offsetof and __typeof__ to appease gcc4.5
2011-07-27 23:10:40 +00:00
macallan
6ba00a6f80
move clearing PSL_IP in ofwmsr back where it was - if we do it too early my
...
PowerBook 3400c hangs on startup.
2011-07-27 22:04:23 +00:00
nakayama
81762e2b5f
Don't attach same ivec's event coutner more than once. They are
...
difficult to distinguish since they are handled by intr_list_handler.
2011-07-27 21:50:16 +00:00
nakayama
ffaed6f279
ivec is assigned to hardware, so count its event counter up in
...
interrupt_vector, not in softint, and do some optimization.
2011-07-27 20:07:49 +00:00
njoly
16b9d696ed
Make atoi() use strtoll from libkern.
2011-07-27 15:08:42 +00:00
uebayasi
2de1fdfe8b
These don't need uvm/uvm_extern.h.
2011-07-27 14:35:33 +00:00
tsutsui
e571eaa8db
KNF, use uintNN_t, tab/space cosmetics etc.
2011-07-27 14:17:54 +00:00
uebayasi
bf4e691e73
Include uvm/uvm_extern.h only once.
2011-07-27 13:45:49 +00:00
uebayasi
fb294fbda7
Forward-declare struct vmspace to reduce dependencies on uvm/uvm_extern.h.
2011-07-27 13:20:07 +00:00
christos
5bf2e3dbda
fix narrow compilation
2011-07-27 13:18:20 +00:00
tsutsui
406ab3f078
- split device_t/softc and use device_t and cfdata_t etc.
...
- use aprint_normal(9)
- include "ioconf.h" for struct cfdriver decls
No crash on LUNA.
2011-07-27 11:54:40 +00:00
plunky
87e2475b47
cleanup some DIAGNOSTIC and KASSERT code
...
- remove #ifdef DIAGNOSTIC, so that we won't act
differently
- handle the cases where a Bluetooth adapter
sends invalid packet data (I've not seen this,
but it is not impossible)
- use KASSERT for actual impossible situations
(to catch bad future development)
2011-07-27 10:25:09 +00:00
jruoho
16327d2721
As per PR bin/45180, do not traverse too deep.
2011-07-27 05:04:11 +00:00
matt
376bdd7ba0
Workaround around make bug by using an intermediate file/rule.
2011-07-27 03:18:52 +00:00
christos
32d7653d74
- don't leave cursor dangling on memory failure or after clearing the list
...
- compute the string length to be strvis'ed after the string is encoded
2011-07-27 02:23:29 +00:00
christos
c76d71fc1a
fix buffer growing code.
2011-07-27 02:18:30 +00:00
christos
0da54e076e
add history testing code.
2011-07-27 02:18:00 +00:00
dyoung
75ccda5a51
Don't set the iobase and iosize members of pcmciabus_attach_args because
...
they're not used in any meaningful way.
2011-07-26 22:52:47 +00:00
dyoung
417e8f23f4
Don't copy iobase and iosize members from pcmciabus_attach_args to the
...
pcmcia_softc because they're not used in any meaningful way.
2011-07-26 22:24:36 +00:00
dyoung
ad398c30df
Don't set the iobase and iosize members of pcmciabus_attach_args because
...
they're not used in any meaningful way.
2011-07-26 22:21:02 +00:00
christos
3021376b9c
don't stop reading after empty lines from: Nirbhay Choubey
2011-07-26 21:03:17 +00:00
dyoung
c9e24dda06
Replace anonymous constants, 0x10, 0x14, ..., with PCI_BAR(0),
...
PCI_BAR(1), .... There was no change in the generated assembly. I used
this semantic patch:
@ mapsit @
identifier bar;
expression pact;
@@
(
pci_mapreg_map
|
Cardbus_mapreg_map
)(pact, bar, ...)
@ depends on mapsit @
identifier mapsit.bar;
@@
(
- #define bar 0x10
+ #define bar PCI_BAR(0)
|
- #define bar 0x14
+ #define bar PCI_BAR(1)
|
- #define bar 0x18
+ #define bar PCI_BAR(2)
|
- #define bar 0x1C
+ #define bar PCI_BAR(3)
|
- #define bar 0x20
+ #define bar PCI_BAR(4)
)
2011-07-26 20:51:23 +00:00
joerg
37ef12d394
Add optimised version of scalbnl for x86.
2011-07-26 17:03:23 +00:00
dyoung
bbc5c60aea
Build sh3/sh3/sh3_bus_space.c only for mmeye.
2011-07-26 16:24:43 +00:00
joerg
afda0f82d1
Add scalbnl to libm.
2011-07-26 16:10:15 +00:00
njoly
6fc42c7792
Make atoi func static, and constify
2011-07-26 14:59:03 +00:00
yamt
cd31d483de
sigpost: don't interfere coredump. PR/45032
2011-07-26 13:33:43 +00:00