purge x86 stuff from defs.h
This commit is contained in:
		
							parent
							
								
									5d5e4e065f
								
							
						
					
					
						commit
						b19adf79f9
					
				
					 1 changed files with 0 additions and 30 deletions
				
			
		| 
						 | 
					@ -4,12 +4,10 @@ struct file;
 | 
				
			||||||
struct inode;
 | 
					struct inode;
 | 
				
			||||||
struct pipe;
 | 
					struct pipe;
 | 
				
			||||||
struct proc;
 | 
					struct proc;
 | 
				
			||||||
struct rtcdate;
 | 
					 | 
				
			||||||
struct spinlock;
 | 
					struct spinlock;
 | 
				
			||||||
struct sleeplock;
 | 
					struct sleeplock;
 | 
				
			||||||
struct stat;
 | 
					struct stat;
 | 
				
			||||||
struct superblock;
 | 
					struct superblock;
 | 
				
			||||||
struct sysframe;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
// bio.c
 | 
					// bio.c
 | 
				
			||||||
void            binit(void);
 | 
					void            binit(void);
 | 
				
			||||||
| 
						 | 
					@ -59,42 +57,17 @@ void            ramdiskinit(void);
 | 
				
			||||||
void            ramdiskintr(void);
 | 
					void            ramdiskintr(void);
 | 
				
			||||||
void            ramdiskrw(struct buf*);
 | 
					void            ramdiskrw(struct buf*);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// ioapic.c
 | 
					 | 
				
			||||||
void            ioapicenable(int irq, int cpu);
 | 
					 | 
				
			||||||
extern uchar    ioapicid;
 | 
					 | 
				
			||||||
void            ioapicinit(void);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// kalloc.c
 | 
					// kalloc.c
 | 
				
			||||||
void*           kalloc(void);
 | 
					void*           kalloc(void);
 | 
				
			||||||
void            kfree(void *);
 | 
					void            kfree(void *);
 | 
				
			||||||
void            kinit();
 | 
					void            kinit();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// kbd.c
 | 
					 | 
				
			||||||
void            kbdintr(void);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// lapic.c
 | 
					 | 
				
			||||||
void            cmostime(struct rtcdate *r);
 | 
					 | 
				
			||||||
int             lapicid(void);
 | 
					 | 
				
			||||||
extern volatile uint*    lapic;
 | 
					 | 
				
			||||||
void            lapiceoi(void);
 | 
					 | 
				
			||||||
void            lapicinit(void);
 | 
					 | 
				
			||||||
void            lapicstartap(uchar, uint);
 | 
					 | 
				
			||||||
void            microdelay(int);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// log.c
 | 
					// log.c
 | 
				
			||||||
void            initlog(int dev);
 | 
					void            initlog(int dev);
 | 
				
			||||||
void            log_write(struct buf*);
 | 
					void            log_write(struct buf*);
 | 
				
			||||||
void            begin_op();
 | 
					void            begin_op();
 | 
				
			||||||
void            end_op();
 | 
					void            end_op();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// mp.c
 | 
					 | 
				
			||||||
extern int      ismp;
 | 
					 | 
				
			||||||
void            mpinit(void);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// picirq.c
 | 
					 | 
				
			||||||
void            picenable(int);
 | 
					 | 
				
			||||||
void            picinit(void);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// pipe.c
 | 
					// pipe.c
 | 
				
			||||||
int             pipealloc(struct file**, struct file**);
 | 
					int             pipealloc(struct file**, struct file**);
 | 
				
			||||||
void            pipeclose(struct pipe*, int);
 | 
					void            pipeclose(struct pipe*, int);
 | 
				
			||||||
| 
						 | 
					@ -161,9 +134,6 @@ int             fetchstr(uint64, char*, int);
 | 
				
			||||||
int             fetchaddr(uint64, uint64*);
 | 
					int             fetchaddr(uint64, uint64*);
 | 
				
			||||||
void            syscall();
 | 
					void            syscall();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// timer.c
 | 
					 | 
				
			||||||
void            timerinit(void);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// trap.c
 | 
					// trap.c
 | 
				
			||||||
extern uint     ticks;
 | 
					extern uint     ticks;
 | 
				
			||||||
void            trapinit(void);
 | 
					void            trapinit(void);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue