christos
5573cb4a88
remove gcc-4.5 hacks; gcc-4.5 does not like fileno() to be unchecked, and
...
produces an unhelpful out of bounds array warning, so check it.
2011-08-17 05:30:01 +00:00
dyoung
70183e515a
Redefine PCI_MSI_* and PCI_PCIE_* constants in terms of bits(3).
...
Use named constants and more conventional variable names in
pci_msi_establish() and pci_msi_disestablish(). Fix a couple of bugs:
pci_msi_establish() returned a pointer to the struct intrhand instead of
to the struct msi_hdl as it was intended to, and pci_msi_disestablish()
did not free(9) the msi_hdl.
2011-08-17 00:59:47 +00:00
jakllsch
fdc9473539
Ajdust bootcode file name from mbr_gpt to gptmbr.bin.
2011-08-17 00:45:55 +00:00
jakllsch
2ae6ec590d
Add ./usr/mdec/gptmbr.bin obsoleting mbr_gpt and mbr_gpt_com0.
2011-08-17 00:33:52 +00:00
jakllsch
d8f59264ae
Add gptmbr from syslinux 4.04, with some local modifications to fit our mbr
...
build system and to be self contanined.
Also, unlink the old mbr_gpt from the build.
2011-08-17 00:25:05 +00:00
jakllsch
52082ed8b6
Remove home grown GPT MBR handoff support in favor of T13 EDD-4 annex A,
...
which does the same thing in a more interoperable way.
2011-08-17 00:07:38 +00:00
jakllsch
f43df25dd7
Switch 'gpt biosboot' to support T13 EDD-4 annex A GPT hybrid MBR instead
...
of a home-grown MBR/VBR hand off protocol.
'biosboot' now will set the legacy BIOS boot flag instead of patching a
GUID into the MBR.
2011-08-17 00:04:41 +00:00
dyoung
2147a7ca64
To fix i386/ALL kernel, #include <dev/dtv/dtvif.h> for struct
...
dtv_payload.
2011-08-16 23:35:55 +00:00
dyoung
a32744d895
Protect against bugs by using __strict_weak_alias() for
...
bus_space_is_equal() and bus_space_handle_is_equal().
2011-08-16 23:32:15 +00:00
dyoung
84360ec112
Add __strict_weak_alias(), the type-safe alternative to __weak_alias().
2011-08-16 23:30:24 +00:00
yamt
64916d590e
vn_close: add an assertion
2011-08-16 22:33:38 +00:00
dholland
667d044909
Use __dead instead of __attribute__((__noreturn__)).
2011-08-16 19:53:03 +00:00
wiz
3de59c619c
Improve a comment. For Snader_LB.
2011-08-16 18:28:41 +00:00
christos
21a5b878f0
gcc-4.5 is picky about potential negative indexes. appease it.
2011-08-16 16:45:20 +00:00
christos
23bcf1ad25
remove gcc-4.5 hacks
2011-08-16 16:37:07 +00:00
christos
e2f91adb83
gcc-4.5 fixes
2011-08-16 16:36:38 +00:00
christos
3d802cf59d
re-enable -Wconversion
2011-08-16 16:25:15 +00:00
mbalmer
0813ba11d0
Fix some typos.
2011-08-16 14:29:16 +00:00
joerg
a509349c8f
Revert.
2011-08-16 14:08:35 +00:00
jakllsch
1dd5ef2454
#define is followed by tab, not space.
...
(Not my idea of sanity, but it's convention.)
2011-08-16 14:04:26 +00:00
jakllsch
2d53454cfe
Add partition entry attributes listed in UEFI 2.3.1 spec.
2011-08-16 14:03:16 +00:00
wiz
e6edecb609
Fix typo in comment, from Snader_LB.
2011-08-16 13:58:21 +00:00
joerg
09b543b065
Do proper input validation without penalizing performance.
2011-08-16 13:55:01 +00:00
reinoud
b1e03acdd3
Fix missing comma in errx() in normally not compiled code.
2011-08-16 13:15:04 +00:00
macallan
3bdd0f0323
use appropriate WID and FBC for high resolution mode
...
Tested with a 1680x1050 TFT on an ffb2+
2011-08-16 12:59:01 +00:00
christos
0d33c75c01
use memcpy to avoid type punning.
2011-08-16 12:49:13 +00:00
christos
0f2de03a73
remove gcc-4.5 hack and check fileno instead.
2011-08-16 12:39:29 +00:00
christos
d27516e895
document non-literal format string.
2011-08-16 12:05:52 +00:00
christos
aab2693089
document non-literal format strings
2011-08-16 12:03:31 +00:00
christos
855e98819b
- document non-literal format string
...
- use err/errx
- prototypes
2011-08-16 12:00:46 +00:00
christos
abf73dc18d
document non-literal format string
2011-08-16 11:49:17 +00:00
christos
c3a5028162
document non-literal string formats
2011-08-16 11:28:18 +00:00
christos
459966a9ab
avoid non-literal format string
2011-08-16 11:26:16 +00:00
christos
5129f378a4
eliminate/document non-literal format strings
2011-08-16 11:19:41 +00:00
christos
18f6b4214c
eliminate non-literal format strings
2011-08-16 11:14:04 +00:00
christos
aba0d26e70
avoid non-literal format strings.
2011-08-16 11:10:54 +00:00
christos
695bc7fff6
kill homebrew error functions
2011-08-16 11:06:34 +00:00
christos
4036596c74
document non-literal format strings
2011-08-16 10:45:37 +00:00
christos
6d3347a9d8
Avoid non-literal format strings
2011-08-16 10:39:31 +00:00
christos
5353040f23
document non-literal format strings
2011-08-16 10:35:03 +00:00
christos
d6942b2fe4
avoid/document non-literal format strings
2011-08-16 10:34:22 +00:00
christos
7ba3e6ca4b
document non-literal format string
2011-08-16 10:33:17 +00:00
christos
69c818efb5
document non-literal format strings
2011-08-16 10:14:40 +00:00
christos
0a61f86410
undo junk committed.
2011-08-16 09:43:03 +00:00
christos
6c83058fe2
kill non-literal format strings or document them.
2011-08-16 09:42:21 +00:00
christos
72db7ca912
- document non-literal format strings
...
- avoid strict aliasing violations, but adding an intermediate function.
2011-08-16 09:26:22 +00:00
christos
d5189d25a6
avoid non-literal format strings
2011-08-16 08:33:46 +00:00
christos
a04731e090
avoid non-literal strings.
2011-08-16 08:29:15 +00:00
christos
73de74d401
document non-literal format string (unsafe)
2011-08-16 08:18:19 +00:00
christos
a0ca34f556
document non-literal format
2011-08-16 08:04:17 +00:00