summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add an efi chunk type. We need to be able to create an EFI partitionMarcel Moolenaar2002-11-101-0/+1
| | | | | | | | on ia64, because that's where we need to put the loader and the kernel. Notes: svn path=/head/; revision=106742
* General cleanup:Marcel Moolenaar2002-11-101-96/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | o Remove all code guarded by !defined(__ia64__). This file is specifically written for ia64, o Handle the case when read_block() or write_block() fails. We don't want sysinstall(8) to signal a thumbs-up on error, o Set the starting (cyl,hd,sect) triple to 0xFFFFFF when either bios_hd or bios_sect is zero or the LBA us not representable with the triple. In that case automaticly initialize the ending triple with 0xFFFFFF as well, o Reindent Write_Int32() as it was different than the rest of the file, o Remove some unused variables that appeared to be used but were effectively useless. o Plug a memory leak: The second timne we read the MBR, we write out a modified block, but didn't free the memory after writing. o Replace d1->sector_size with 512 when we read/write the MBR. We ignore the sector size in cases we shouldn't but adhered to it in cases it would be wrong if the sector_size wasn't 512. This file should eventually be rewritten to write out a GPT. For now, a MBR will do... Notes: svn path=/head/; revision=106741
* Remove inclusion of <sys/uuid.h>. We now include <sys/uuid.h> inMarcel Moolenaar2002-11-107-7/+0
| | | | | | | | | <sys/gpt.h>. This avoids having to include both <sys/uuid.h> and <uuid.h>, which is considered by your friendly committer to be aestheticly displeasing (= ballyhoo barf barf :-) Notes: svn path=/head/; revision=106740
* o Include <sys/uuid.h>. This avoids that applications such asMarcel Moolenaar2002-11-101-1/+3
| | | | | | | | | | | | gpt(8) have to include both <sys/uuid.h> and <uuid.h> only because they include <sys/gpt.h> before <uuid.h>. o Drop the triple bang in the unicode comment in favor of adding '-16' to make it explicit that the unicode characters are 16-bit. The fact that we use short as the type of the array does give it away; but only to the careful reader. Notes: svn path=/head/; revision=106739
* Change the device path representation in libofw to use the full firmwareJake Burkholder2002-11-1011-647/+93
| | | | | | | | | | | | path, instead of an internal i386 specific one. Don't try to interpret a disklabel in ofw_disk.c, open the partition's device node directly and let the firmware do it. This fixes booting from a partition other than 'a' on sparc64, which is needed to support more installation methods. No objection: ppc Notes: svn path=/head/; revision=106738
* a better solution to building FAST_IPSEC w/o INET6Sam Leffler2002-11-102-8/+0
| | | | | | | Submitted by: Jeffrey Hsu <hsu@FreeBSD.org> Notes: svn path=/head/; revision=106736
* Add support for the Latin American and Caribbean IP address RegionalMike Barcroft2002-11-102-6/+16
| | | | | | | | | | | | Registry (LACNIC) with the -l option and support for recursive IP address searches. PR: 44448 Submitted by: David Wolfskill <david@catwhisker.org> MFC after: 1 week Notes: svn path=/head/; revision=106735
* Lay claim to mpt for requesting pre-commit review.Matt Jacob2002-11-101-0/+1
| | | | Notes: svn path=/head/; revision=106734
* Use atomic_set_8 on the us_freelist maps as they are not otherwiseMatt Jacob2002-11-101-2/+2
| | | | | | | | | protected. Furthermore, in some RISC architectures with no normal byte operations, the surrounding 3 bytes are also affected by the read-modify-write that has to occur. Notes: svn path=/head/; revision=106733
* Add ports/lang/perl5 as a dependency of sgmlformat and openjade.Thomas Moestl2002-11-101-1/+2
| | | | | | | | | Use openjade on all non-i386 platforms (not just alpha). Reviewed by: -doc Notes: svn path=/head/; revision=106730
* Add cross references to mbrtowc(3) and wcrtomb(3).Tim J. Robbins2002-11-101-1/+3
| | | | Notes: svn path=/head/; revision=106728
* Add test cases for btowc() and wctob() in multibyte locales.Tim J. Robbins2002-11-101-1/+14
| | | | Notes: svn path=/head/; revision=106727
* Test for the zero-length buffer bug corrected in mbrtowc.c revision 1.3.Tim J. Robbins2002-11-101-0/+7
| | | | Notes: svn path=/head/; revision=106726
* Don't check whether the first byte of the buffer is a null byte whenTim J. Robbins2002-11-101-7/+1
| | | | | | | the buffer has zero length (n == 0). Notes: svn path=/head/; revision=106725
* Document devd_enable.Warner Losh2002-11-101-0/+5
| | | | | | | Submitted by: dougb Notes: svn path=/head/; revision=106724
* Add devd_enableWarner Losh2002-11-101-0/+1
| | | | | | | Submitted by: dougb Notes: svn path=/head/; revision=106723
* Make bootable ISO images by either 1) extacting the EFI partitionMarcel Moolenaar2002-11-101-31/+63
| | | | | | | | | | we created for the boot floppy, or 2) construct an EFI partition by copying bits from /boot. The first approach creates a bootable CD image that loads a memory disk and starts sysinstall, the second approach creates a generic bootable CD. Notes: svn path=/head/; revision=106722
* Restore Peter's version of static __sF. There's too much pain for itWarner Losh2002-11-101-1/+4
| | | | | | | | | | | | | | | to be static for 5.0. I may remove this for 5.1 or 5.2. No more binaries or libarires will be generated with __sF starting as of yesterday. Originally the plan had been to eliminate this for 5.0, but we didn't get the __std{in,out,err}p changes merged into -stable until yesterday (rather than in September 2001 like it should have been). Given that didn't happen on time, we can't do the other part of the scheme now. # Please do not change this without talking to me first. Notes: svn path=/head/; revision=106721
* When prot is VM_PROT_NONE, call pmap_page_protect() directly rather thanAlan Cox2002-11-107-22/+22
| | | | | | | | | | | | indirectly through vm_page_protect(). The one remaining page flag that is updated by vm_page_protect() is already being updated by our various pmap implementations. Note: A later commit will similarly change the VM_PROT_READ case and eliminate vm_page_protect(). Notes: svn path=/head/; revision=106720
* Replace {disable,enable}_intr() with critical_{enter,exit}().Matthew N. Dodd2002-11-102-6/+6
| | | | Notes: svn path=/head/; revision=106719
* MFbed to track changes in the english version:Udo Erdelhoff2002-11-103-14/+30
| | | | | | | | | installation/common/layout.sgml: 1.5 -> 1.6 installation/common/upgrade.sgml: 1.7 -> 1.9 relnotes/common/new.sgml: 1.449 -> 1.450 Notes: svn path=/head/; revision=106718
* o Build truss on all architectures.Marcel Moolenaar2002-11-101-5/+7
| | | | | | | | o xlint is still excluded from the ia64 build, but now in a way that doesn't corrupt ordering for other platforms. Notes: svn path=/head/; revision=106717
* Port to ia64. It builds, but usability is very limited.Marcel Moolenaar2002-11-103-0/+349
| | | | Notes: svn path=/head/; revision=106716
* Build the doc subdir on ia64. We have groff working for a while.Marcel Moolenaar2002-11-101-1/+1
| | | | Notes: svn path=/head/; revision=106714
* Various cleanups of truss:David Malone2002-11-096-97/+121
| | | | | | | | | | | | | | 1) Missing include. 2) Constness. 3) ANSIfication. 4) Avoid some shadowing. 5) Add/clarify some error messages. 6) Some int functions were using return without a value. 7) Mark some parameters as unused. 8) Cast a value we know is non-negative to a size_t before comparing. Notes: svn path=/head/; revision=106713
* Check if name is NULL before we strcmp the syscall name. This wasDavid Malone2002-11-091-1/+1
| | | | | | | | sometimes triggered if you began trussing a process while it was in a syscall, as the name is filled in when the syscall is made. Notes: svn path=/head/; revision=106712
* Filling this file at last (now check when I first committed it and see howDaniel C. Sobral2002-11-091-0/+72
| | | | | | | | | long certain people take to return books...). Still more to go. Notes: svn path=/head/; revision=106711
* MFbed: early-adopter/article.sgml 1.4 -> 1.5Udo Erdelhoff2002-11-0913-382/+437
| | | | | | | | | | | | | | | | hardware/Makefile 1.4 -> 1.5 hardware/common/dev.sgml 1.112 -> 1.114 hardware/ia64/article.sgml 1.1 -> 1.2 installation/Makefile 1.4 -> 1.5 installation/common/install.sgml 1.14 -> 1.15 installation/common/trouble.sgml 1.6 -> 1.8 relnotes/Makefile 1.4 -> 1.5 relnotes/common/new.sgml 1.448 -> 1.448 and add all the new ia64 files. Notes: svn path=/head/; revision=106709
* Fix an error case in vm_map_wire(): unwiring of an entry during cleanupAlan Cox2002-11-091-2/+2
| | | | | | | | | after a user wire error fails when the entry is already system wired. Reported by: tegge Notes: svn path=/head/; revision=106708
* Add a new loader tunable, hw.hasbrokenint12, to indicate that BIOSMitsuru IWASAKI2002-11-092-92/+156
| | | | | | | | | | | | | has broken int 12H. If hw.hasbrokenint12="1" in loader environment, kernel never use BIOS INT 12 call to determine base memory size. Otherwise, kernel use INT 12 in old behaviour. This should fix kernel panic problem caused by 1.544 changes. MFC after: 1 day Notes: svn path=/head/; revision=106707
* #include <err.h> to make yes warns clean again.David Malone2002-11-091-0/+1
| | | | Notes: svn path=/head/; revision=106706
* Fix an unparenthasized macro argument. md5s differ but this is likelyAlfred Perlstein2002-11-091-1/+1
| | | | | | | to order of operations that are actually fixed by the proper parenthasizing. Notes: svn path=/head/; revision=106705
* The "bin" distribution is called "base" on 5.X.Bruce A. Mah2002-11-091-4/+6
| | | | | | | | While I'm here, note that details of a distribution may vary from what's shown here. Notes: svn path=/head/; revision=106704
* The "bin" distribution is called "base" on 5.0.Bruce A. Mah2002-11-091-2/+2
| | | | | | | While I'm here, fix a spacing nit. Notes: svn path=/head/; revision=106703
* Add a warning against trying to do a binary upgrade from 4.X to 5.X.Bruce A. Mah2002-11-091-0/+13
| | | | Notes: svn path=/head/; revision=106702
* Change a forgotten wd to adUdo Erdelhoff2002-11-091-1/+1
| | | | Notes: svn path=/head/; revision=106701
* By popular demand, make the debug log to syslog.Gordon Tetlow2002-11-091-1/+3
| | | | | | | Remove an extraneous return too. Notes: svn path=/head/; revision=106700
* Remove redundant lines.Matt Jacob2002-11-091-6/+8
| | | | | | | | | | Add to floppy3 if_tun && if_gif (ppp && something related to IPv6) Add in mpt && ahc now that they are modules. Unknown as to whether they work yet or not. Notes: svn path=/head/; revision=106699
* Remove lines that are redundant.Matt Jacob2002-11-091-14/+0
| | | | Notes: svn path=/head/; revision=106698
* Print real / avail memory in megabytes rather than kilobytes.Dag-Erling Smørgrav2002-11-098-30/+32
| | | | Notes: svn path=/head/; revision=106697
* Fix instances of macros with improperly parenthasized arguments.Alfred Perlstein2002-11-0918-93/+95
| | | | | | | Verified by: md5 Notes: svn path=/head/; revision=106696
* common/dev.sgml : MFen 1.114Sebastien Gioria2002-11-092-3/+47
| | | | | | | ia64/article.sgml : MFen 1.2 Notes: svn path=/head/; revision=106695
* Describe the `n' and `ps' arguments to mbrlen().Tim J. Robbins2002-11-091-2/+17
| | | | Notes: svn path=/head/; revision=106694
* Typo: pointer to -> pointed toTim J. Robbins2002-11-091-1/+1
| | | | Notes: svn path=/head/; revision=106693
* In vm_page_remove(), avoid calling vm_page_splay() if the object's memqAlan Cox2002-11-091-10/+13
| | | | | | | is empty. Notes: svn path=/head/; revision=106691
* Add devd to the mix. It should run basically last at this point.Warner Losh2002-11-092-1/+18
| | | | | | | # I've tested this, but only lightly, so please email me with problems. Notes: svn path=/head/; revision=106688
* Use wide character ctype functions directly instead of relying onTim J. Robbins2002-11-091-2/+2
| | | | | | | 4.4BSD extensions to the single-byte ctype functions. Notes: svn path=/head/; revision=106687
* Add regression tests for mblen(), mbtowc(), wctomb(), mbstowcs() andTim J. Robbins2002-11-096-1/+580
| | | | | | | wcstombs(). These tests have already found two libc bugs. Notes: svn path=/head/; revision=106686
* Add a missing return statement for the pwcs == NULL case (XSI extension).Tim J. Robbins2002-11-091-0/+1
| | | | Notes: svn path=/head/; revision=106685
* MFC noted: pathchk(1).Bruce A. Mah2002-11-092-4/+4
| | | | | | | Un-MFC noted: bzip2 packages. Notes: svn path=/head/; revision=106682