summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/include
Commit message (Collapse)AuthorAgeFilesLines
* [Settings] Expose SMBIOS via settings APIMichael Brown2008-03-283-17/+17
| | | | In particular, expose the system UUID as a setting ("smbios/uuid").
* [libc] Use __builtin_va_list et al in stdarg.hMichael Brown2008-03-241-22/+0Star
| | | | | The home-grown versions don't work properly for static variadic functions, when gcc can choose to use a non-standard calling convention.
* fix the rdtsc namimgAlexey Zaytsev2008-03-021-1/+1
|
* CleanupsAlexey Zaytsev2008-03-021-0/+3
| | | | | | | | Replace a printf with a DBG in timer_rtdsc.c Replace a printf in timer.c with assert Return proper error codes from timer drivers Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
* Modify gPXE core and drivers to work with the new timer subsystemAlexey Zaytsev2008-03-021-12/+0Star
| | | | Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
* Introduce the new timer subsystem.Alexey Zaytsev2008-03-021-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | Timer subsystem initialization code in core/timer.c Split the BIOS and RTDSC timer drivers from i386_timer.c Split arch/i386/firmware/pcbios/bios.c into the RTSDC timer driver and arch/i386/core/nap.c Split the headers properly: include/unistd.h - delay functions to be used by the gPXE core and drivers. include/gpxe/timer.h - the fimer subsystem interface to be used by the timer drivers and currticks() to be used by the code gPXE subsystems. include/latch.h - removed include/timer.h - scheduled for removal. Some driver are using currticks, which is only for core subsystems. Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
* Add DBGLVL_IO to trace all memory-mapped I/O.Michael Brown2008-02-211-7/+40
|
* Add UUID to DHCP request as option 97 (if available).Michael Brown2007-11-212-0/+11
|
* Added definition of a UUID and uuid_ntoa() (for debugging), andMichael Brown2007-11-211-0/+2
| | | | implemented smbios_get_uuid().
* Update SMBIOS internal API to be easier to use, and not to requireMichael Brown2007-11-211-1/+38
| | | | potentially exorbitant amounts of stack space.
* Allow space for the kernel's real-mode .bss. Previously we weren'tMichael Brown2007-11-041-0/+2
| | | | | allowing any space for this, which makes it surprising that bzImage loading ever worked.
* Add missing attribute(packed) to two structures.Michael Brown2007-10-291-2/+2
|
* rm_ss, rm_sp, and pm_esp don't need to be accessed from anywhereMichael Brown2007-09-251-3/+0Star
| | | | outside of librm.S.
* Add const attribute to byte-swapping functionsMichael Brown2007-09-211-3/+3
|
* Separate out arch-independent parts of stdint.hMichael Brown2007-08-171-21/+3Star
|
* Add per-file error identifiersMichael Brown2007-07-241-0/+31
|
* Remove some obsolete sections of librm.h and libkir.h.Michael Brown2007-07-242-39/+25Star
| | | | Add some of the missing parts to libkir.h.
* Completed definition of struct int13_cdrom_specification, and moved toMichael Brown2007-07-191-0/+28
| | | | int13.h.
* Move uninitialised .data16 variables to .bss16; saves around 2000Michael Brown2007-07-161-1/+1
| | | | bytes of useless zeroes in the final image.
* Add __bss16() macro, and allow use of .bss16 section by removingMichael Brown2007-07-161-0/+8
| | | | | | 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).
* Shrink cpu.c and render it useful for our purposes.Michael Brown2007-07-141-203/+46Star
|
* Add strlen_user() (will be needed for PXE API extensions)Michael Brown2007-07-061-0/+12
|
* Kill off lots of warnings in via-velocity.c by correcting these definitions.Michael Brown2007-07-051-6/+7
|
* Use a common base-memory packet buffer for DHCP construction (as usedMichael Brown2007-07-022-13/+13
| | | | by PXE and NBI) and UNDI packets (as used by undinet and UNDI).
* Separate out pxe_start_nbp() from pxe_image.c into pxe_call.cMichael Brown2007-06-302-32/+10Star
| | | | Implement PXENV_RESTART_TFTP.
* 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.
* Provide a buffer in base memory for code to fill with generated DHCP data.Michael Brown2007-03-221-0/+13
|
* Add ability to read serial number from SMBIOSMichael Brown2007-02-011-0/+11
|
* Don't call PXENV_STOP_UNDI in the kpxeprefix. This slighy breaks theMichael Brown2007-01-291-11/+22
| | | | | 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-292-0/+14
| | | | Added basic El Torito ISO image boot capability
* Yet more synonyms that people tend to use.Michael Brown2007-01-261-11/+17
|
* Misread the definition of the type_of_loader field; it should include aMichael Brown2007-01-191-1/+7
| | | | version.
* 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-181-0/+7
|
* We can now load an initrd as well as a kernelMichael Brown2007-01-141-0/+2
|
* Make the getmemsize() prototype available in memsizes.h, for code thatMichael Brown2007-01-141-30/+11Star
| | | | 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-141-14/+0Star
|
* Add dummy "initrd" image format, just so that images can be marked asMichael Brown2007-01-141-0/+14
| | | | initrds.
* Copy command line at execution time rather than load time.Michael Brown2007-01-141-0/+12
| | | | Parse command line for "vga=" and "mem=" parameters
* Split bzimage_load into separate functionsMichael Brown2007-01-141-6/+19
|
* Can almost start a kernel now. It dies with "No setup signature found"Michael Brown2007-01-141-2/+23
|
* Placeholder bzImage supportMichael Brown2007-01-141-0/+73
|
* Select a PXE network device before starting PXE NBP.Michael Brown2007-01-141-1/+14
| | | | Move pxe_boot() code to pxe_image.c
* Provide {get,set}_fbms() in basemem.h.Michael Brown2007-01-141-33/+33
| | | | set_fbms() will also update the E820 hidden region.
* Add header for pxe_boot()Michael Brown2007-01-131-0/+11
|
* Rename copy_user() to memcpy_user(). Add memmove_user() andMichael Brown2007-01-121-2/+30
| | | | userptr_add().
* Nothing (not even hidemem.c) uses this file!Michael Brown2007-01-121-21/+0Star
|
* Whoever put together the grub multiboot.h header is insane.Michael Brown2007-01-111-135/+146
|
* Avoid namespace clashesMichael Brown2007-01-111-10/+10
|
* Added fields present in the documentation but not in the header file.Michael Brown2007-01-111-0/+17
|