summaryrefslogtreecommitdiffstats
path: root/src/arch
Commit message (Collapse)AuthorAgeFilesLines
...
* Separate out pxe_start_nbp() from pxe_image.c into pxe_call.cMichael Brown2007-06-304-54/+36Star
| | | | Implement PXENV_RESTART_TFTP.
* Fix stack on return from PXE NBP so that we can return properly.Michael Brown2007-06-291-1/+2
|
* Use internal real-mode stack from non-returnable prefixesMichael Brown2007-06-283-0/+21
|
* Revert "Move stack to below 0x7c00; leaving it at the default location"Michael Brown2007-06-281-5/+3Star
| | | | This reverts commit 03ca71c38da9cc6df01ecd9ef16e97a0edb6a4e9.
* Move stack to below 0x7c00; leaving it at the default locationMichael Brown2007-06-281-3/+5
| | | | (0x7ef4) tends to really screw up anything that loads at 0x7c00...
* Kill off hotplug.h and just make net devices normal reference-countedMichael Brown2007-06-271-2/+2
| | | | | | structures. DHCP still broken and #if 0'd out.
* Add our own trivial version of stdarg.h. This makes our buildMichael Brown2007-06-091-0/+22
| | | | | | | entirely self-hosted (which avoids problems when building the same tree on multiple systems - e.g. when you have /home NFS-mounted). Also saves around 50 bytes in total - not sure why.
* pkbuff->iobuf changeoverMichael Brown2007-05-191-27/+27
| | | | | | | | Achieved via Perl using: perl -pi -e 's/pk_buff/io_buffer/g; s/Packet buffer/I\/O buffer/ig; ' \ -e 's/pkbuff\.h/iobuf.h/g; s/pkb_/iob_/g; s/_pkb/_iob/g; ' \ -e 's/pkb/iobuf/g; s/PKB/IOB/g;'
* Add 32-bit support.Michael Brown2007-03-221-13/+70
| | | | Generate DHCP data block for images.
* Provide a buffer in base memory for code to fill with generated DHCP data.Michael Brown2007-03-222-0/+42
|
* TypoMichael Brown2007-03-201-1/+1
|
* Support 32-bit (linear) NBI images. We don't yet provide a bootp dataMichael Brown2007-03-141-33/+44
| | | | block, so first32.c dies immediately.
* Added .nbi as a format.Michael Brown2007-03-112-0/+69
|
* Make _load_size accurately reflect the number of bytes in the actualMichael Brown2007-03-111-2/+0Star
| | | | image file.
* Updated ISAPnP, EISA, MCA and ISA buses to current device model.Michael Brown2007-03-102-40/+5Star
| | | | | | | ISA 3c509 is currently non-functional, although the EISA (3c509-eisa) and MCA (3c529) variants should build OK. None of this code is yet tested.
* Add ability to read serial number from SMBIOSMichael Brown2007-02-012-0/+269
|
* More assertionsMichael Brown2007-02-011-0/+1
|
* Also print out stack pointer (with optional stack dump)Michael Brown2007-02-011-2/+5
|
* Assert that division result is correctMichael Brown2007-02-011-0/+3
|
* Added __umoddi3Michael Brown2007-01-311-0/+13
|
* Don't call PXENV_STOP_UNDI in the kpxeprefix. This slighy breaks theMichael Brown2007-01-293-25/+46
| | | | | clean separation between loading and starting, but does mean that more PXE stacks survive the process.
* Split bootsector execution code out into bootsector.c.Michael Brown2007-01-295-69/+517
| | | | Added basic El Torito ISO image boot capability
* Handle (64-bit) / (32-bit) = (64-bit), i.e. one step beyond thatMichael Brown2007-01-281-0/+319
| | | | provided by the divl instruction.
* Yet more synonyms that people tend to use.Michael Brown2007-01-261-11/+17
|
* Use base "0" in strtoul for consistency with "mem="Michael Brown2007-01-241-1/+1
|
* "vga=" is specified in decimal, not hex.Michael Brown2007-01-231-1/+1
|
* Misread the definition of the type_of_loader field; it should include aMichael Brown2007-01-192-2/+8
| | | | version.
* Use stdio.h instead of vsprintf.hMichael Brown2007-01-192-2/+2
|
* Declaring the CPU architecture in the middle of an assembly file isMichael Brown2007-01-181-1/+0Star
| | | | | somewhat redundant, and also causes gas to complain when we include the profiling code (which uses an i586 instruction).
* Accelerate memcpy() by around 32% on large, dword-aligned copies.Michael Brown2007-01-182-0/+70
|
* Rename e{malloc,realloc,free} to u{malloc,realloc,free}, to more obviouslyMichael Brown2007-01-161-8/+8
| | | | | reflect the fact that they allocate and deallocate user memory (i.e. things reached through a userptr_t).
* We can now load an initrd as well as a kernelMichael Brown2007-01-142-5/+95
|
* Make the getmemsize() prototype available in memsizes.h, for code thatMichael Brown2007-01-143-44/+17Star
| | | | doesn't want to go to the hassle of processing a full memory map.
* Actually, the initrd image should be architecture-independent.Michael Brown2007-01-142-51/+0Star
|
* Add dummy "initrd" image format, just so that images can be marked asMichael Brown2007-01-142-0/+51
| | | | initrds.
* Copy command line at execution time rather than load time.Michael Brown2007-01-142-35/+144
| | | | Parse command line for "vga=" and "mem=" parameters
* Split bzimage_load into separate functionsMichael Brown2007-01-142-87/+202
|
* Can start a Linux kernel directly (albeit with no initrd support)Michael Brown2007-01-141-8/+29
|
* Remove some references to no-longer-existent source files.Michael Brown2007-01-141-6/+5Star
| | | | | Add a path for isolinux.bin that is correct on my system; hopefully it will work on others too.
* .lilo and derived targets (e.g. .iso) now load properly.Michael Brown2007-01-141-23/+29
|
* Obsoleted by arch/i386/image/multiboot.cMichael Brown2007-01-141-208/+0Star
|
* Can almost start a kernel now. It dies with "No setup signature found"Michael Brown2007-01-142-7/+138
|
* Placeholder bzImage supportMichael Brown2007-01-142-0/+154
|
* Replace image->entry with image->priv.Michael Brown2007-01-142-4/+9
|
* Mostly updated. Won't work yet.Michael Brown2007-01-141-199/+172Star
|
* Obsolete for some timeMichael Brown2007-01-141-130/+0Star
|
* Select a PXE network device before starting PXE NBP.Michael Brown2007-01-144-59/+64
| | | | Move pxe_boot() code to pxe_image.c
* Use debug autocolourisation.Michael Brown2007-01-141-18/+34
| | | | Shut down before jumping to the multiboot image.
* Call hide_etherboot() from startup(), rather than requiring the prefix toMichael Brown2007-01-142-20/+38
| | | | do it.
* Use _text, rather than assuming _text==0.Michael Brown2007-01-141-1/+4
|