Michael Brown
adf6c8e2a6
Add our own trivial version of stdarg.h. This makes our build
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.
17 роки тому
Michael Brown
1ae549b892
Add our own trivial version of stdarg.h. This makes our build
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.
17 роки тому
Michael Brown
ff7d0af585
Provide a buffer in base memory for code to fill with generated DHCP data.
17 роки тому
Michael Brown
22ed1fbaf1
Add ability to read serial number from SMBIOS
17 роки тому
Michael Brown
7d9267561b
Don't call PXENV_STOP_UNDI in the kpxeprefix. This slighy breaks the
clean separation between loading and starting, but does mean that more
PXE stacks survive the process.
17 роки тому
Michael Brown
2cf1e33df1
Split bootsector execution code out into bootsector.c.
Added basic El Torito ISO image boot capability
17 роки тому
Michael Brown
f59281d8f6
Yet more synonyms that people tend to use.
17 роки тому
Michael Brown
ebb00e032c
Misread the definition of the type_of_loader field; it should include a
version.
17 роки тому
Michael Brown
5d57cd47a2
Declaring the CPU architecture in the middle of an assembly file is
somewhat redundant, and also causes gas to complain when we include
the profiling code (which uses an i586 instruction).
17 роки тому
Michael Brown
bd95927386
Accelerate memcpy() by around 32% on large, dword-aligned copies.
17 роки тому
Michael Brown
a5f6408d8e
We can now load an initrd as well as a kernel
17 роки тому
Michael Brown
b9f99858ab
Make the getmemsize() prototype available in memsizes.h, for code that
doesn't want to go to the hassle of processing a full memory map.
17 роки тому
Michael Brown
10c9b03cdb
Actually, the initrd image should be architecture-independent.
17 роки тому
Michael Brown
f92e04dea4
Add dummy "initrd" image format, just so that images can be marked as
initrds.
17 роки тому
Michael Brown
8a490146bf
Copy command line at execution time rather than load time.
Parse command line for "vga=" and "mem=" parameters
17 роки тому
Michael Brown
3ccd7335f0
Split bzimage_load into separate functions
17 роки тому
Michael Brown
784e10635a
Can almost start a kernel now. It dies with "No setup signature found"
17 роки тому
Michael Brown
b07161f397
Placeholder bzImage support
17 роки тому
Michael Brown
7bc03d37a2
Select a PXE network device before starting PXE NBP.
Move pxe_boot() code to pxe_image.c
17 роки тому
Michael Brown
0b0e34e667
Provide {get,set}_fbms() in basemem.h.
set_fbms() will also update the E820 hidden region.
17 роки тому
Michael Brown
bd863e4112
Add header for pxe_boot()
17 роки тому
Michael Brown
1d313234b3
Rename copy_user() to memcpy_user(). Add memmove_user() and
userptr_add().
17 роки тому
Michael Brown
687c1e3227
Nothing (not even hidemem.c) uses this file!
17 роки тому
Michael Brown
ddbc60b5ae
Whoever put together the grub multiboot.h header is insane.
17 роки тому
Michael Brown
200d92c76d
Avoid namespace clashes
17 роки тому
Michael Brown
bcc98c78b8
Added fields present in the documentation but not in the header file.
17 роки тому
Michael Brown
9196e9069c
Add PHYS_CODE, for use as in __asm__ ( PHYS_CODE ( ... ) ), comparable
to the REAL_CODE interface.
17 роки тому
Michael Brown
143e3b84a4
Downloaded from current grub CVS.
17 роки тому
Michael Brown
ceca6b185c
Added user_to_phys() and memset_user().
17 роки тому
Michael Brown
c980cdd0aa
Move memmap.h out of arch/i386; it no longer contains anything
architecture-dependent and is needed by the ELF code.
17 роки тому
Michael Brown
c6a4055fae
Add phys_to_user() and copy_user().
17 роки тому
Michael Brown
fdc97499bf
Add device description fields to struct device.
17 роки тому
Michael Brown
6b09dd8244
undipci_probe() has to calculate busdevfn anyway, so we may as well pass
it directly to undi_load_pci().
17 роки тому
Michael Brown
937289cdc8
Provide storage for an undi_device structure representing the preloaded
UNDI stack.
17 роки тому
Michael Brown
cea2221737
Use fixed-width fields in struct undi_device, so that pxeprefix.S will be
able to populate the structure.
17 роки тому
Michael Brown
239965ff3b
Added missing includes
17 роки тому
Michael Brown
6115356859
Added missing declarations
17 роки тому
Michael Brown
aff96c13d2
Added missing include
17 роки тому
Michael Brown
afc01a1a7f
Split UNDI load/unload out into undiload.c.
17 роки тому
Michael Brown
6fc75f659b
Separated out UNDI ROM location code into undirom.c, and use struct
undi_rom rather than struct pxe_driver. (This is part of the naming
consistency fixes).
17 роки тому
Michael Brown
675fe200e5
Use "struct undi_device" instead of "struct pxe_device", and use the
function prefix "undinet_" and the variable name "undinic" in undinet.c,
so that we can reserve the variable name "undi" for a struct undi_device.
The idea is that we preserve the Etherboot 5.4 convention that the "UNDI"
code refers to our using an underlying UNDI stack, while the "PXE" code
refers to our providing a PXE API.
17 роки тому
Michael Brown
477a70697a
Added PnP BIOS scanning code, separated out from the UNDI driver
17 роки тому
Michael Brown
9780fef360
Partial implementation of UNDI loader caller.
17 роки тому
Michael Brown
70acce06e4
This file is no longer used
17 роки тому
Michael Brown
b12cd68726
Ripped out everything except the ability to send EOI to the PIC.
17 роки тому
Michael Brown
0566ab2a2f
Added geometry-guessing code based on the partition table
18 роки тому
Michael Brown
5a54225aef
Added support for INT 13,15; NTLDR calls it (though it may not
actually do anything with the result, since it carried on using us
even when we returned failure).
18 роки тому
Michael Brown
6abfaa153b
Towards making KEEP_IT_REAL work again.
Fix bug that caused over-allocation of .text16 and .data16 memory areas
by a factor of 16.
18 роки тому
Michael Brown
6fd1bd0510
Added missing check-in
18 роки тому
Michael Brown
fdf62528ca
It's astonishing how long really fundamental bugs can survive without
being noticed...
18 роки тому