summaryrefslogtreecommitdiffstats
path: root/src/arch
Commit message (Collapse)AuthorAgeFilesLines
...
* Use {get,set}_fbms() so that allocated base memory is correctly hidden.Michael Brown2007-01-141-12/+7Star
|
* Provide {get,set}_fbms() in basemem.h.Michael Brown2007-01-143-212/+70Star
| | | | set_fbms() will also update the E820 hidden region.
* Some operating systems get a nasty shock if a region of the E820 map seemsMichael Brown2007-01-141-18/+77
| | | | | to start on a non-page boundary. Make life safer by rounding out our edited regions.
* Add some trace messages for important eventsMichael Brown2007-01-131-0/+6
|
* I prefer IMAGE_XXX to XXX_IMAGE.Michael Brown2007-01-131-0/+83
| | | | | Add IMAGE_PXE to use the new image format framework. "kernel pxelinux.0" now works.
* Add header for pxe_boot()Michael Brown2007-01-132-0/+12
|
* Pick up the return status code from the correct place now that weMichael Brown2007-01-131-2/+1Star
| | | | don't overwrite the parameter block until *after* the debug code.
* When an UNDI API call fails, print everything there is to know about it.Michael Brown2007-01-131-3/+20
|
* Always send EOI. We can't feasibly share interrupts (since we have noMichael Brown2007-01-131-4/+12
| | | | | | clue what the "previous" interrupt handler will do, which could range from "just an iret" to "disable the interrupt"), and that means that we have to take responsibility for ACKing all interrupts. Joy.
* Damn Broadcom and their damned incorrect assumptions about x86 memoryMichael Brown2007-01-131-3/+24
| | | | allocation.
* Place multiboot tables in base memory; at least some OSes won't see itMichael Brown2007-01-121-34/+64
| | | | if we don't.
* Ensure multiboot modules are in ascending order of memory startMichael Brown2007-01-121-15/+40
| | | | address, to work around OS bugs.
* Fix the memory map.Michael Brown2007-01-121-6/+11
|
* Force probing of multiboot before ELF.Michael Brown2007-01-121-2/+2
|
* Place command-line inline, to save on memory allocation hassles.Michael Brown2007-01-121-7/+4Star
|
* Fix the only bug (which was to use DBGC() in place of DBG()!) and add 4kBMichael Brown2007-01-121-2/+9
| | | | alignment.
* First version of an external memory allocator (not tested)Michael Brown2007-01-121-0/+159
|
* Rename copy_user() to memcpy_user(). Add memmove_user() andMichael Brown2007-01-122-3/+31
| | | | userptr_add().
* Allow external code to update hidden memory regions.Michael Brown2007-01-121-25/+2Star
|
* Nothing (not even hidemem.c) uses this file!Michael Brown2007-01-121-21/+0Star
|
* Long since obsoleted by arch/i386/scripts/i386.ldsMichael Brown2007-01-121-90/+0Star
|
* Obsoleted by arch/i386/interface/pxe/pxe_call.cMichael Brown2007-01-121-391/+0Star
|
* We *do* have a __data16_array after all!Michael Brown2007-01-121-6/+1Star
|
* We may be required to page-align modules, so let's make sure we catchMichael Brown2007-01-121-1/+7
| | | | it if we don't.
* Provide registration mechanism for loaded images, so that we can e.g.Michael Brown2007-01-121-38/+92
| | | | | | | | refer to them by name from the command line, or build them into a multiboot module list. Use setting image->type to disambiguate between "not my image" and "bad image"; this avoids relying on specific values of the error code.
* Populate multiboot information structure before calling OS.Michael Brown2007-01-111-17/+39
|
* 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
|
* Capable of starting a multiboot kernel (albeit without the multibootMichael Brown2007-01-111-2/+15
| | | | information table yet).
* Add PHYS_CODE, for use as in __asm__ ( PHYS_CODE ( ... ) ), comparableMichael Brown2007-01-111-0/+6
| | | | to the REAL_CODE interface.
* Capable of loading a multiboot image into memoryMichael Brown2007-01-111-0/+235
|
* Downloaded from current grub CVS.Michael Brown2007-01-111-0/+119
|
* Move include/image.h to include/gpxe/image.hMichael Brown2007-01-111-4/+3Star
|
* Removed the Etherboot-specific ELF-image code and replaced it with aMichael Brown2007-01-111-136/+0Star
| | | | generic ELF loader, to be used by the multiboot code.
* Remove osloader.c and replace with a prep_segment() that uses userptr_tMichael Brown2007-01-111-1/+0Star
| | | | and get_memmap() in image/segment.c
* Added user_to_phys() and memset_user().Michael Brown2007-01-111-20/+45
|
* Move memmap.h out of arch/i386; it no longer contains anythingMichael Brown2007-01-113-36/+2Star
| | | | architecture-dependent and is needed by the ELF code.
* Add phys_to_user() and copy_user().Michael Brown2007-01-111-2/+29
|
* Update buffer-handling code to enable expandable buffers.Michael Brown2007-01-111-69/+0Star
|
* Add device description fields to struct device.Michael Brown2007-01-107-21/+60
|
* Give UNDI device a more meaningful name.Michael Brown2007-01-101-1/+1
|
* Add "name" field to struct device to allow human-readable hardware deviceMichael Brown2007-01-103-1/+7
| | | | | | | | | | | names. Add "dev" pointer in struct net_device to tie network interfaces back to a hardware device. Force natural alignment of data types in __table() macros. This seems to prevent gcc from taking the unilateral decision to occasionally increase their alignment (which screws up the table packing).
* Add RX quotas to the net device poll() method. This avoids the problemMichael Brown2007-01-091-16/+35
| | | | | | of alloc_pkb() exhaustion when e.g. an iSCSI-booted DOS session is left idle for a long time at the C:\ prompt and builds up a huge packet backlog.
* Rename pkb_available() to pkb_tailroom() for consistency with Linux'sMichael Brown2007-01-091-2/+2
| | | | skb_tailroom(). Add pkb_headroom().
* Added net device TX queue; this will be needed to support the PXE UNDI APIMichael Brown2007-01-091-4/+8
| | | | | | (which will need us to wait for TX completions). Added debug autocolourisation to netdevice.c
* Added ability to break ISR processing over several calls to poll().Michael Brown2007-01-091-17/+34
| | | | This will allow us to implement RX quotas.
* Send EOI after enabling interrupt, in case the device had asserted IRQMichael Brown2007-01-091-0/+1
| | | | to the PIC while it was disabled.
* Allow boot sector to completely destroy real-mode stack, but stillMichael Brown2007-01-091-10/+15
| | | | manage to return control.
* Leave protected-mode return address on PM stack when issuing aMichael Brown2007-01-091-11/+10Star
| | | | | | real_call(), rather than moving it to the RM stack and back again. This allows the real-mode function to completely destroy the stack contents, provided that it manages to return to real_call().