mirror of
				https://gitlab.com/bztsrc/bootboot.git
				synced 2023-02-13 20:54:32 -05:00 
			
		
		
		
	More address checks
This commit is contained in:
		
							parent
							
								
									d8f3aa0084
								
							
						
					
					
						commit
						98fbe4c589
					
				
					 16 changed files with 114 additions and 65 deletions
				
			
		| 
						 | 
				
			
			@ -32,8 +32,10 @@
 | 
			
		|||
ENTRY(go.kernel.go.kernel..init0)
 | 
			
		||||
 | 
			
		||||
/* you can't access these labels from Go, so make sure the constants match */
 | 
			
		||||
mmio  = 0xfffffffff8000000;                    /* these are configurable for level 2 loaders */
 | 
			
		||||
fb    = 0xfffffffffc000000;
 | 
			
		||||
mmio        = 0xfffffffff8000000;              /* these are configurable for level 2 loaders */
 | 
			
		||||
fb          = 0xfffffffffc000000;
 | 
			
		||||
bootboot    = 0xffffffffffe00000;
 | 
			
		||||
environment = 0xffffffffffe01000;
 | 
			
		||||
/* initstack = 1024; */
 | 
			
		||||
PHDRS
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			@ -41,9 +43,7 @@ PHDRS
 | 
			
		|||
}
 | 
			
		||||
SECTIONS
 | 
			
		||||
{
 | 
			
		||||
    . = 0xffffffffffe00000;
 | 
			
		||||
    bootboot    = .; . += 4096;
 | 
			
		||||
    environment = .; . += 4096;
 | 
			
		||||
    . = 0xffffffffffe02000;
 | 
			
		||||
    .text : {
 | 
			
		||||
        KEEP(*(.text.boot)) *(.text .text.*)   /* code */
 | 
			
		||||
        *(.rodata .rodata.*)                   /* data */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue