Michael Brown
9aa61ad5a2
Add per-file error identifiers
пре 17 година
Michael Brown
75912b3b77
Remove some obsolete sections of librm.h and libkir.h.
Add some of the missing parts to libkir.h.
пре 17 година
Michael Brown
0d9d2ccbae
Completed definition of struct int13_cdrom_specification, and moved to
int13.h.
пре 17 година
Michael Brown
6d2e4e719c
Move uninitialised .data16 variables to .bss16; saves around 2000
bytes of useless zeroes in the final image.
пре 17 година
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 година
Michael Brown
adf192f566
Shrink cpu.c and render it useful for our purposes.
пре 17 година
Michael Brown
f660e8ef58
Add strlen_user() (will be needed for PXE API extensions)
пре 17 година
Michael Brown
5e3f2247e0
Kill off lots of warnings in via-velocity.c by correcting these definitions.
пре 17 година
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 година
Michael Brown
8130443f9f
Separate out pxe_start_nbp() from pxe_image.c into pxe_call.c
Implement PXENV_RESTART_TFTP.
пре 17 година
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 година