summaryrefslogtreecommitdiffstats
path: root/sys/boot
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert rev 1.7 which moved us away from POSIX character classes.obrien2001-11-031-15/+18
| | | | The community feels our base AWK must handle them.
* o Add new header <sys/stdint.h>.mike2001-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | | o Make <stdint.h> a symbolic link to <sys/stdint.h>. o Move most of <sys/inttypes.h> into <sys/stdint.h>, as per C99. o Remove <sys/inttypes.h>. o Adjust includes in sys/types.h and boot/efi/include/ia64/efibind.h to reflect new location of integer types in <sys/stdint.h>. o Remove previously symbolicly linked <inttypes.h>, instead create a new file. o Add MD headers <machine/_inttypes.h> from NetBSD. o Include <sys/stdint.h> in <inttypes.h>, as required by C99; and include <machine/_inttypes.h> in <inttypes.h>, to fill in the remaining requirements for <inttypes.h>. o Add additional integer types in <machine/ansi.h> and <machine/limits.h> which are included via <sys/stdint.h>. Partially obtain from: NetBSD Tested on: alpha, i386 Discussed on: freebsd-standards@bostonradio.org Reviewed by: bde, fenner, obrien, wollman
* Fixed sioreg.h path.nyan2001-11-021-1/+1
|
* Substitute "[:space:]" with the character constants it expands to.obrien2001-11-011-18/+15
| | | | | | This was a silent 'failure' when using Bell-Labs awk. Submitted by: David Wolfskill <david@catwhisker.org>
* Bell-Labs AWK does not support POSIX "bracket expressions" (POSIXese forobrien2001-11-011-4/+4
| | | | | | | "character classes", basically). So change them to their character representation. Submitted by: David Wolfskill <david@catwhisker.org>
* Fix the ILLEGAL fdisk table that is there for supporting "dangerouslypeter2001-11-012-2/+2
| | | | | | | | | | | | | dedicated" mode. This was specifying that there are 256 (illegal!) heads on the disk. If bioses store that in a byte, and it gets truncated to 0, then that almost certainly causes the infamous divide-by-zero nightmare. This is also most likely the reason why the Thinkpad T20/A20 series were locking up when FreeBSD was installed. This is also the most likely reason why a boot1 being present causes an IA64 box to lock up at boot. (removing the "part4" stuff from boot1.s fixes the IA64 boxes and would most likely have fixed the T20/A20 and some TP600E series thinkpads)
* Add code to copy the enironment and loader metadata into kernel space.jake2001-10-302-2/+320
|
* Add definitions for network support, doesn't work yet.jake2001-10-301-27/+40
| | | | | | Pass the right arguments to the kernel. Replace magic numbers with symbolic constants. Pass the real openfirmware entry point to OF_init.
* Use ENTRY() for defining functions in asm.jake2001-10-302-156/+32
| | | | | | | Remove asm functions to call the openfirmware and kernel entry points; we can just call them directly. Don't use the stack pointer for an intermediate result in setx. Put the stack in the bss.
* Make the openfirmware entry point function pointer non-static so that itjake2001-10-302-1/+3
| | | | can be passed to the kernel.
* Set RB_MULTIPLE (multiple console support) if the kernel is bootedmarcel2001-10-292-0/+6
| | | | with the -D flag.
* Just use ${MACHINE}, it's already special-casing pc98.ru2001-10-251-5/+0
|
* Call ExitBootServices and disable interrupts before we start hackingdfr2001-10-252-22/+24
| | | | the VM registers. This ought to make things slightly more reliable here.
* Add the two sections used for PLT entries to the text and sdata sectionsdfr2001-10-252-0/+4
| | | | | respectively. This makes IPLTLSB relocations work properly (these are generated for weak symbols, particularly for _longjmp).
* Try to get the self-relocator to work with IPLTLSB relocations. Doesn'tdfr2001-10-244-12/+80
| | | | work right though - I can't figure out why.
* Set RB_MULTIPLE (multiple console support) if the kernel is bootedjlemon2001-10-233-0/+9
| | | | with the -D flag.
* Allow the RBX_DUAL flag to appear in bootinfo.jlemon2001-10-232-2/+2
|
* Use a array to convert from a attribute for AT to one for PC98.nyan2001-10-171-42/+38
| | | | (merged from sys/pc98/pc98/scvtbpc98.c)
* Merged from sys/boot/i386/libi386/vidconsole.c revisions 1.16, 1.17 and 1.18.nyan2001-10-171-164/+144
|
* fix style(9)nyan2001-10-171-175/+212
|
* Merged from sys/boot/i386/loader/Makefile revision 1.54.nyan2001-10-171-0/+7
|
* Add a prototype for OF_alloc_phys.robert2001-10-151-0/+1
|
* Fix some warnings.robert2001-10-151-4/+4
|
* Add the FreeBSD/sparc64 boot loader source files.robert2001-10-153-0/+658
|
* Make the ofw_reg structure and ofw_alloc_heap 64-bit save.robert2001-10-152-4/+4
|
* Add a Makefile for the sparc64 boot loader.robert2001-10-151-0/+76
|
* Do not include openfirm.h; it is now included by libofw.h.robert2001-10-151-1/+0
|
* - Use the cell_t type definition for Open Firmware arguments inrobert2001-10-151-247/+359
| | | | | | combination with requisite casts as this avoids fatal side effects on 64-bit architectures. - Add the OF_alloc_phys function.
* - Fill dummy functions with code to read from disk using Openrobert2001-10-152-6/+597
| | | | | | | | | Firmware. - Add a temporary disklabel header to boot off a NetBSD/sparc64 partition. This file can be deleted when we have got a FCode bootblock. The disklabel header was obtained from NetBSD.
* - Include openfirm.h for phandle_t.robert2001-10-151-7/+10
| | | | | - Add some necessary members to the ofwdisk structure. - Add a prototype for ofw_parseofwdev.
* Add a function for parsing an Open Firmware boot path into therobert2001-10-151-3/+29
| | | | ofw_devdesc structure.
* - Add an ifdef guard.robert2001-10-151-3/+6
| | | | | | - Use unsigned types for the (32-bit) Open Firmware device handles to avoid sign extension on 64-bit architectures. - Add a standard type definition for Open Firmware arguments.
* Fix typo in comment.dfr2001-10-111-1/+1
|
* s/alpha/${MACHINE_ARCH}/gmarcel2001-10-082-2/+2
|
* Whitespace fixes.benno2001-10-072-5/+4
|
* Add new files needed by previous commit.benno2001-10-072-0/+221
|
* Mega-patch for OpenFirmware loader support.benno2001-10-0713-55/+135
| | | | | | | | | | | | | - Flesh out ofw_readin routine. - Add OpenFirmware load and exec routines. - Make sure memory allocation for the kernel is done correctly. - Change the way the heap is allocated so as to make it easier to deallocate when we hand over. - Add a command to print memory maps similar to the one for ia64. With this patch, I can now load and hand over to a kernel on my iMac. There are some problems with OpenFirmware routines failing after the hand over that still need to be addressed.
* Whitespace fixes.jhb2001-10-041-3/+3
|
* Fix the ANSI color escape sequence \E[m.yokota2001-10-021-153/+118
| | | | | - Corretly map the ansi color number to a PC BIOS color. - Handle multiple arguments to the escape sequence.
* Fix the local macro: isvisible().yokota2001-10-021-1/+1
| | | | - The space char (0x20) IS a visible char :-)
* grammar fix: to -> toosilby2001-10-011-1/+1
|
* Fix the function CD(): "Clear to the end of the screen".yokota2001-10-011-4/+15
| | | | | | | | | | | | | | | | - When the video BIOS is called to clear the region (x, y)-(79, 24) (by scrolling), the slashed region in Fig.1 is cleared. CD() is supposed to clear the region shown in Fig.2. x x +-------+ +-------+ | | | | y| ////| y| ////| | ////| |///////| | ////| |///////| +-------+ +-------+ Fig.1 Fig.2 - Don't move the cursor during this operation.
* This is white-space only change. No functional difference.yokota2001-10-011-140/+167
| | | | | | | | | - Be consistent about placing spaces around keywords and operators; don't mix statements like "if(A==B)" and "if (X == Y)", "return(0)" and "return (-1)", "P=10" and "Q = 0", etc. - Consitently indent lines. It's not good to indent by 8 columns in one part of the file, and by 4 columns in the other part.
* Make this 'make obj' safepeter2001-09-262-2/+10
|
* Calculate the valid flag for ITRs and DTRs correctly. Also fix a coupledfr2001-09-252-16/+6
| | | | of minor problems and remove some debugging code.
* Add commands to dump the itrs and dtrs.dfr2001-09-242-0/+296
|
* Return the mapkey which EFI gave us when we read the memory map - we needdfr2001-09-243-3/+8
| | | | it to call ExitBootServices.
* Tidy up a little - don't try to print anything or enable interrupts afterdfr2001-09-242-102/+48
| | | | | we start changing translation registers. Also, call ExitBootServices before we jump into the kernel.
* Pick up pal.s from the kernel sources.dfr2001-09-241-1/+3
|
* Add commands to dump the configuration tables and the SAL System Table.dfr2001-09-232-8/+232
|
OpenPOWER on IntegriCloud