Commit Graph

204170 Commits

Author SHA1 Message Date
christos
e307dc8de5 fix cast warnings 2011-08-17 09:30:13 +00:00
manu
91009c117a Missing bit in previous commit: do_sys_utimens prototype in the right
place.
2011-08-17 09:29:59 +00:00
christos
e83f416f0e fix strict aliasing issues. 2011-08-17 09:24:23 +00:00
christos
5ae8764ee2 remove gcc hacks. 2011-08-17 09:20:14 +00:00
christos
7634ea3059 fix gcc array out of bounds confusion. 2011-08-17 09:19:38 +00:00
mrg
8188255310 switch sparc to GCC 4.5.3. 2011-08-17 09:18:37 +00:00
christos
3392b60945 fix aliasing issues and remove gcc hacks. 2011-08-17 09:03:47 +00:00
martin
e9d191bffa add missing prototype 2011-08-17 08:31:27 +00:00
wiz
17d9c004a3 Remove trailing whitespace. Bump date for previous.
New sentence, new live. End sentence with dot.
2011-08-17 08:29:20 +00:00
christos
c8909e959a fix type-punned warnings using memcpy 2011-08-17 08:22:50 +00:00
christos
b3d08e40dc Instead of printing the raw suspect value instead of the name (!?!?), print the
name and the suspect value vis encoded.
2011-08-17 08:06:38 +00:00
manu
86bd0b1953 regen 2011-08-17 07:26:16 +00:00
manu
c15f33c0db Add futimens(2) and part utimensat(2)
(missing bit from previous commit)
2011-08-17 07:25:30 +00:00
manu
5b61306f9b Add futimens(2) and part of utimnsat(2) 2011-08-17 07:22:33 +00:00
matt
47d9241c1a emulate the special3 opcode LX (lwx, ldx, lhx, lbux) instructions. 2011-08-17 06:59:28 +00:00
christos
5434bb1cbb Remove gcc-4.5 hacks. I must have fixed them in a different pass. 2011-08-17 05:32:09 +00:00
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