Subject: 
  | 
            Re: Modifying the BrickOS source code
  | 
             
            Newsgroups: 
  | 
            lugnet.robotics.rcx.legos
  | 
             
            Date: 
  | 
            Tue, 15 Jul 2003 04:23:15 GMT
  | 
             
            Viewed: 
  | 
            4368 times
  | 
              
     |      | 
             |       |  
      Thanks to all with the help, I finally got my new News setup info (my original 
login wasnt working so I had to re-sign up  but it took about 2 weeks to hear 
from lugnet, so Charlie posted some stuff for me). 
 
I am looking at mm.c for my project and I see the variable mm_start and see that 
it is defined in the mm.h file but I am not 100% sure of what it defines. 
 
Is it: 
a) the end location of the memory -- RAM (i.e. Limit + Base registers in an OS 
like Windows or Umix) 
b) or is it the where the user portion of RAM starts? (like the Base register in 
a normal OS) 
 
I am not sure and everytime I look more I think it is the other one, and not the 
one I currently think it is 
 
Thanks a lot and hope I do not annoy you by asking these question that may seem 
easy but I cannot seem to understand this variable, even after looking over the 
BrickOS site. 
 
Mike 
 |  
       |  
           
   
        Message has 1 Reply:        |    | Re: Modifying the BrickOS source code
  |  
  |  Mike, IIRC, mm_start is the beginning of the heap. When the system or a user program requests memory (new in C++ or malloc/calloc in C) the memory is taken from this block (from mm_start to the end of memory) What might be confusing is how the (...)   (22 years ago, 15-Jul-03, to lugnet.robotics.rcx.legos)   
   |         
        Message is in Reply To:
            |    | Modifying the BrickOS source code
  |  
  |  Hey, My friend and I are tring to modify the BrickOS memmory management for a computer Science senior project. I am trying to help him out with it. We are wondering if anyone can give us some information on how we can edit the source code and then (...)   (22 years ago, 1-Jul-03, to lugnet.robotics.rcx.legos)   
   |         
      12 Messages in This Thread:     
    
        
       
             
 
      - Entire Thread on One Page:
      
        
- Nested: 
        All | Brief | Compact | Dots
        
 Linear: 
        All | Brief | Compact
          This Message and its Replies on One Page:
      
        - Nested: 
        All | Brief | Compact | Dots
        
 Linear: 
        All | Brief | Compact
           
         | 
        
  | 
      
 
   | 
           |