Michael Brown
							
						 | 
						
							
								2ebc56f334
								
							
						 | 
						
							Moved in functions from old core/pci.c that we want to keep.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								95f755ad7f
								
							
						 | 
						
							Renamed pci.c to pci_legacy.c in preparation for new bus managment
							
							
							infrastructure. 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								63a0e0e2df
								
							
						 | 
						
							Removed references to no-longer-existent CFLAGS options.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								5d96e5dad9
								
							
						 | 
						
							Changed guard name to avoid clash with INCLUDE_xxx namespace used by
							
							
							drivers. 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								378c1b500c
								
							
						 | 
						
							Cleaner separation of functionality between post_reloc and
							
							
							initialise_via_librm. 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								b9237160ad
								
							
						 | 
						
							Almost all information in this file is now obsolete.  Writing a new driver
							
							
							should, with the new build system, just be a case of writing the .c file
and dropping it in place in drivers/net.  :) 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								34a0b5f16f
								
							
						 | 
						
							initialise() doesn't take regs
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								87508aa0b2
								
							
						 | 
						
							arch_initialise() is now sufficiently generic that we may as well just
							
							
							call it initialise() and place it in main.c.  :) 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								997b51c1e6
								
							
						 | 
						
							Use librm_arch_initialise for librm, arch_initialise for others.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								560027899e
								
							
						 | 
						
							Heading towards a sane set of control functions
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								39cb1b4f9e
								
							
						 | 
						
							All the icky stuff is now taken care of by librm_arch_initialise
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								d189b84536
								
							
						 | 
						
							Fix up init ordering.
							
							
							
Make init function table name fixed; it's a static variable anyway. 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								3714946709
								
							
						 | 
						
							arch_rm_main no longer exists.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								1937b39079
								
							
						 | 
						
							Drag in relocate unless NORELOCATE is defined, since it's now called
							
							
							only via the initialisation function table. 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								f06e8c9707
								
							
						 | 
						
							Added post-relocation function table.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								9abceef561
								
							
						 | 
						
							Removed obsolete initialisation calls.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								070f6c0b6b
								
							
						 | 
						
							Fixed debug messages
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								43417e6c1b
								
							
						 | 
						
							setup16() now calls initialise(); we don't have to do it.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								04682f9838
								
							
						 | 
						
							Setup now calls initialise() directly, rather than expecting the
							
							
							prefix to do it. 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								44e62317be
								
							
						 | 
						
							Add librm_base.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								dfb9c44994
								
							
						 | 
						
							hooks.o is now a single object, rather than having separate hooks.o and
							
							
							hooks_rm.o 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								04a99841e6
								
							
						 | 
						
							Make prot_call() able to transparently return via the newly installed copy
							
							
							of librm. 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								44eee81d11
								
							
						 | 
						
							Don't build relocate() under KEEP_IT_REAL
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								2fa14f2f1d
								
							
						 | 
						
							lgdt needs data32 prefix, otherwise it loads only 24 bits.  (sgdt
							
							
							always saves 32 bits). 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								6a4ac358f3
								
							
						 | 
						
							Add INIT_FNs to make sure that librm gets reallocated when needed.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								e29e6456b0
								
							
						 | 
						
							Don't zero freed base memory; one block will contain librm.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								1f6dfd7047
								
							
						 | 
						
							Allow ourselves to be freed by basemem.c without being damaged.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								97ced37c71
								
							
						 | 
						
							Need to provide sizeof(struct free_base_memory_header) to assembly code.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								90cf689810
								
							
						 | 
						
							Note basemem API change.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								ef05051f23
								
							
						 | 
						
							Add INIT_LIBRM before INIT_CONSOLE.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								48feb91a40
								
							
						 | 
						
							Rewritten in a much saner way, now that we don't have to worry about
							
							
							continually reallocating the real-mode stack. 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								0574136c6d
								
							
						 | 
						
							Split out from etherboot.h
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								8570814148
								
							
						 | 
						
							Removed basemem.c prototypes
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								fd95189c4d
								
							
						 | 
						
							basememsize() updates the BIOS FBMS counter at 40:13.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								a800e9657d
								
							
						 | 
						
							PM function called by prot_call() should be allowed to modifying
							
							
							registers returned to RM code. 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								29f43896aa
								
							
						 | 
						
							Add relocate.h
							
							
							
Note that we can't make real-mode calls immediately after relocate_to(). 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								9cc90cbb07
								
							
						 | 
						
							First version
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								c8c7d93757
								
							
						 | 
						
							Relocation code is arch-specific.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								64d3886c1d
								
							
						 | 
						
							relocate() is called by arch_initialise().
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								8039086ec8
								
							
						 | 
						
							Added a lot of explanatory comments.
							
							
							Preserves alignment requested via _max_align parameter to linker. 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								19176718be
								
							
						 | 
						
							callbacks.h no longer exists
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								792f34d228
								
							
						 | 
						
							#ifdef 0 out the UNDI loader routine, since it refers to the obsolete
							
							
							 callback mechanism. 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								73dbe41007
								
							
						 | 
						
							Old callbacks mechanism is obsolete.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								fedd00dd46
								
							
						 | 
						
							Removed references to old callback mechanism
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								9c32083d56
								
							
						 | 
						
							callbacks.h no longer exists.
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								a3faaf405a
								
							
						 | 
						
							Callback mechanism now obsolete
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								a4920c16bd
								
							
						 | 
						
							Moved relocate.c to arch-specific dir, since it involves arch-specific
							
							
							logic (e.g. avoiding memory regions with A20=0). 
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								0ff80b477d
								
							
						 | 
						
							Merged mcb30-realmode-redesign back to HEAD
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								de5d935135
								
							
						 | 
						
							Merged this file into HEAD
							
							
						 | 
						hace 20 años | 
					
				
					
						
							
								   Michael Brown
							
						 | 
						
							
								afff2b50f1
								
							
						 | 
						
							Obsolete; not referenced by anything.
							
							
						 | 
						hace 20 años |