Michael Brown
9aa61ad5a2
Add per-file error identifiers
17 years ago
Michael Brown
75912b3b77
Remove some obsolete sections of librm.h and libkir.h.
Add some of the missing parts to libkir.h.
17 years ago
Michael Brown
0d9d2ccbae
Completed definition of struct int13_cdrom_specification, and moved to
int13.h.
17 years ago
Michael Brown
6d2e4e719c
Move uninitialised .data16 variables to .bss16; saves around 2000
bytes of useless zeroes in the final image.
17 years ago
Michael Brown
833d6cc8ec
Add __bss16() macro, and allow use of .bss16 section by removing
link-time check for section overlaps. (In order to avoid wasting
space in the executable image, .bss16 will overlap with the following
section, which is .text).
17 years ago
Michael Brown
adf192f566
Shrink cpu.c and render it useful for our purposes.
17 years ago
Michael Brown
f660e8ef58
Add strlen_user() (will be needed for PXE API extensions)
17 years ago
Michael Brown
5e3f2247e0
Kill off lots of warnings in via-velocity.c by correcting these definitions.
17 years ago
Michael Brown
e42eba4af4
Use a common base-memory packet buffer for DHCP construction (as used
by PXE and NBI) and UNDI packets (as used by undinet and UNDI).
17 years ago
Michael Brown
8130443f9f
Separate out pxe_start_nbp() from pxe_image.c into pxe_call.c
Implement PXENV_RESTART_TFTP.
17 years ago
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 years ago
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 years ago
Michael Brown
ff7d0af585
Provide a buffer in base memory for code to fill with generated DHCP data.
17 years ago
Michael Brown
22ed1fbaf1
Add ability to read serial number from SMBIOS
17 years ago
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 years ago
Michael Brown
2cf1e33df1
Split bootsector execution code out into bootsector.c.
Added basic El Torito ISO image boot capability
17 years ago
Michael Brown
f59281d8f6
Yet more synonyms that people tend to use.
17 years ago
Michael Brown
ebb00e032c
Misread the definition of the type_of_loader field; it should include a
version.
17 years ago
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 years ago
Michael Brown
bd95927386
Accelerate memcpy() by around 32% on large, dword-aligned copies.
17 years ago
Michael Brown
a5f6408d8e
We can now load an initrd as well as a kernel
17 years ago
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 years ago
Michael Brown
10c9b03cdb
Actually, the initrd image should be architecture-independent.
17 years ago
Michael Brown
f92e04dea4
Add dummy "initrd" image format, just so that images can be marked as
initrds.
17 years ago
Michael Brown
8a490146bf
Copy command line at execution time rather than load time.
Parse command line for "vga=" and "mem=" parameters
17 years ago
Michael Brown
3ccd7335f0
Split bzimage_load into separate functions
17 years ago
Michael Brown
784e10635a
Can almost start a kernel now. It dies with "No setup signature found"
17 years ago
Michael Brown
b07161f397
Placeholder bzImage support
17 years ago
Michael Brown
7bc03d37a2
Select a PXE network device before starting PXE NBP.
Move pxe_boot() code to pxe_image.c
17 years ago
Michael Brown
0b0e34e667
Provide {get,set}_fbms() in basemem.h.
set_fbms() will also update the E820 hidden region.
17 years ago
Michael Brown
bd863e4112
Add header for pxe_boot()
17 years ago
Michael Brown
1d313234b3
Rename copy_user() to memcpy_user(). Add memmove_user() and
userptr_add().
17 years ago
Michael Brown
687c1e3227
Nothing (not even hidemem.c) uses this file!
17 years ago
Michael Brown
ddbc60b5ae
Whoever put together the grub multiboot.h header is insane.
17 years ago
Michael Brown
200d92c76d
Avoid namespace clashes
17 years ago
Michael Brown
bcc98c78b8
Added fields present in the documentation but not in the header file.
17 years ago
Michael Brown
9196e9069c
Add PHYS_CODE, for use as in __asm__ ( PHYS_CODE ( ... ) ), comparable
to the REAL_CODE interface.
17 years ago
Michael Brown
143e3b84a4
Downloaded from current grub CVS.
17 years ago
Michael Brown
ceca6b185c
Added user_to_phys() and memset_user().
17 years ago
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 years ago
Michael Brown
c6a4055fae
Add phys_to_user() and copy_user().
17 years ago
Michael Brown
fdc97499bf
Add device description fields to struct device.
17 years ago
Michael Brown
6b09dd8244
undipci_probe() has to calculate busdevfn anyway, so we may as well pass
it directly to undi_load_pci().
17 years ago
Michael Brown
937289cdc8
Provide storage for an undi_device structure representing the preloaded
UNDI stack.
17 years ago
Michael Brown
cea2221737
Use fixed-width fields in struct undi_device, so that pxeprefix.S will be
able to populate the structure.
17 years ago
Michael Brown
239965ff3b
Added missing includes
17 years ago
Michael Brown
6115356859
Added missing declarations
17 years ago
Michael Brown
aff96c13d2
Added missing include
17 years ago
Michael Brown
afc01a1a7f
Split UNDI load/unload out into undiload.c.
17 years ago
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 years ago