Changeset abbc16e in mainline
- Timestamp:
- 2006-06-16T11:17:54Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 62939f7
- Parents:
- b6529ae
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/smp/apic.c
rb6529ae rabbc16e 174 174 * 175 175 * @param n Interrupt vector. 176 * @param stack Interrupted stack.176 * @param istate Interrupted state. 177 177 */ 178 178 void apic_spurious(int n, istate_t *istate) … … 444 444 * 445 445 * @param n Interrupt vector number. 446 * @param stack Interrupted stack.446 * @param istate Interrupted state. 447 447 */ 448 448 void l_apic_timer_interrupt(int n, istate_t *istate) … … 483 483 * 484 484 * @param address IO APIC register address. 485 * @param Content to be written to the addressed IO APIC register.485 * @param x Content to be written to the addressed IO APIC register. 486 486 */ 487 487 void io_apic_write(__u8 address, __u32 x) -
arch/ia64/include/asm.h
rb6529ae rabbc16e 83 83 /** Write IVA (Interruption Vector Address) register. 84 84 * 85 * @param New location of interruption vector table.85 * @param v New location of interruption vector table. 86 86 */ 87 87 static inline void iva_write(__u64 v) … … 106 106 /** Write ITC (Interval Timer Counter) register. 107 107 * 108 * @param New counter value.108 * @param v New counter value. 109 109 */ 110 110 static inline void itc_write(__u64 v) … … 128 128 /** Write ITM (Interval Timer Match) register. 129 129 * 130 * @param New match value.130 * @param v New match value. 131 131 */ 132 132 static inline void itm_write(__u64 v) … … 163 163 /** Write ITV (Interval Timer Vector) register. 164 164 * 165 * @param New vector and mask bit.165 * @param v New vector and mask bit. 166 166 */ 167 167 static inline void itv_write(__u64 v) … … 172 172 /** Write EOI (End Of Interrupt) register. 173 173 * 174 * @param This value is ignored.174 * @param v This value is ignored. 175 175 */ 176 176 static inline void eoi_write(__u64 v) … … 194 194 /** Write TPR (Task Priority Register). 195 195 * 196 * @param New value of TPR.196 * @param v New value of TPR. 197 197 */ 198 198 static inline void tpr_write(__u64 v) -
arch/ia64/include/faddr.h
rb6529ae rabbc16e 43 43 * referenced by fptr pointer. 44 44 * 45 * @param f ptrFunction pointer.45 * @param f Function pointer. 46 46 * 47 47 */ -
arch/ia64/src/mm/page.c
rb6529ae rabbc16e 211 211 /** Set up one VHPT entry. 212 212 * 213 * @param tVHPT entry to be set up.213 * @param v VHPT entry to be set up. 214 214 * @param page Virtual address of the page mapped by the entry. 215 215 * @param asid Address space identifier of the address space to which page belongs. -
arch/ia64/src/mm/tlb.c
rb6529ae rabbc16e 298 298 * @param asid Address space identifier. 299 299 * @param entry The rest of TLB entry as required by TLB insertion format. 300 * @param dt cIf true, insert into data translation register, use instruction translation register otherwise.300 * @param dtr If true, insert into data translation register, use instruction translation register otherwise. 301 301 * @param tr Translation register. 302 302 */ -
arch/ppc32/src/mm/page.c
rb6529ae rabbc16e 68 68 */ 69 69 static pte_t *find_mapping_and_check(as_t *as, bool lock, __address badvaddr, int access, 70 istate_t *istate, int *pf cr)70 istate_t *istate, int *pfrc) 71 71 { 72 72 /* … … 100 100 case AS_PF_DEFER: 101 101 page_table_lock(as, lock); 102 *pf cr= rc;102 *pfrc = rc; 103 103 return NULL; 104 104 case AS_PF_FAULT: 105 105 page_table_lock(as, lock); 106 106 printf("Page fault.\n"); 107 *pf cr= rc;107 *pfrc = rc; 108 108 return NULL; 109 109 default: … … 191 191 /** Process Instruction/Data Storage Interrupt 192 192 * 193 * @param data True if Data Storage Interrupt.193 * @param n Interrupt vector number. 194 194 * @param istate Interrupted register context. 195 195 * … … 199 199 __address badvaddr; 200 200 pte_t *pte; 201 int pf cr;201 int pfrc; 202 202 as_t *as; 203 203 bool lock; … … 221 221 page_table_lock(as, lock); 222 222 223 pte = find_mapping_and_check(as, lock, badvaddr, PF_ACCESS_READ /* FIXME */, istate, &pf cr);223 pte = find_mapping_and_check(as, lock, badvaddr, PF_ACCESS_READ /* FIXME */, istate, &pfrc); 224 224 if (!pte) { 225 switch (pf cr) {225 switch (pfrc) { 226 226 case AS_PF_FAULT: 227 227 goto fail; … … 235 235 return; 236 236 default: 237 panic("Unexpected pfrc (%d)\n", pf cr);237 panic("Unexpected pfrc (%d)\n", pfrc); 238 238 } 239 239 } -
arch/ppc64/src/mm/page.c
rb6529ae rabbc16e 67 67 */ 68 68 static pte_t *find_mapping_and_check(as_t *as, bool lock, __address badvaddr, int access, 69 istate_t *istate, int *pf cr)69 istate_t *istate, int *pfrc) 70 70 { 71 71 /* … … 99 99 case AS_PF_DEFER: 100 100 page_table_lock(as, lock); 101 *pf cr= rc;101 *pfrc = rc; 102 102 return NULL; 103 103 case AS_PF_FAULT: 104 104 page_table_lock(as, lock); 105 105 printf("Page fault.\n"); 106 *pf cr= rc;106 *pfrc = rc; 107 107 return NULL; 108 108 default: … … 198 198 __address badvaddr; 199 199 pte_t *pte; 200 int pf cr;200 int pfrc; 201 201 as_t *as; 202 202 bool lock; … … 220 220 page_table_lock(as, lock); 221 221 222 pte = find_mapping_and_check(as, lock, badvaddr, PF_ACCESS_READ /* FIXME */, istate, &pf cr);222 pte = find_mapping_and_check(as, lock, badvaddr, PF_ACCESS_READ /* FIXME */, istate, &pfrc); 223 223 if (!pte) { 224 switch (pf cr) {224 switch (pfrc) { 225 225 case AS_PF_FAULT: 226 226 goto fail; … … 234 234 return; 235 235 default: 236 panic("Unexpected pfrc (%d)\n", pf cr);236 panic("Unexpected pfrc (%d)\n", pfrc); 237 237 } 238 238 } -
arch/sparc64/include/asm.h
rb6529ae rabbc16e 56 56 /** Write Processor State register. 57 57 * 58 * @param New value of PSTATE register.58 * @param v New value of PSTATE register. 59 59 */ 60 60 static inline void pstate_write(__u64 v) … … 78 78 /** Write TICK_compare Register. 79 79 * 80 * @param New value of TICK_comapre register.80 * @param v New value of TICK_comapre register. 81 81 */ 82 82 static inline void tick_compare_write(__u64 v) … … 100 100 /** Write TICK Register. 101 101 * 102 * @param New value of TICK register.102 * @param v New value of TICK register. 103 103 */ 104 104 static inline void tick_write(__u64 v) … … 122 122 /** Write SOFTINT Register. 123 123 * 124 * @param New value of SOFTINT register.124 * @param v New value of SOFTINT register. 125 125 */ 126 126 static inline void softint_write(__u64 v) … … 133 133 * Bits set in CLEAR_SOFTINT register will be cleared in SOFTINT register. 134 134 * 135 * @param New value of CLEAR_SOFTINT register.135 * @param v New value of CLEAR_SOFTINT register. 136 136 */ 137 137 static inline void clear_softint_write(__u64 v) … … 271 271 /** Write Trap Base Address register. 272 272 * 273 * @param New value of TBA.273 * @param v New value of TBA. 274 274 */ 275 275 static inline void tba_write(__u64 v) -
genarch/src/i8042/i8042.c
rb6529ae rabbc16e 319 319 * 320 320 * @param n Interrupt vector. 321 * @param stack Interrupted stack.321 * @param istate Interrupted state. 322 322 */ 323 323 void i8042_interrupt(int n, istate_t *istate) -
generic/src/adt/btree.c
rb6529ae rabbc16e 215 215 /** Remove B-tree node. 216 216 * 217 * @param B-tree.217 * @param t B-tree. 218 218 * @param key Key to be removed from the B-tree along with its associated value. 219 219 * @param leaf_node If not NULL, pointer to the leaf node where the key is found. … … 235 235 /** Recursively remove B-tree node. 236 236 * 237 * @param B-tree.237 * @param t B-tree. 238 238 * @param key Key to be removed from the B-tree along with its associated value. 239 239 * @param node Node where the key being removed resides. … … 903 903 /** Rotate in a key from the right sibling or from the index node, if this operation can be done. 904 904 * 905 * @param rnode Node into which to add key from its right sibling or from the index node.905 * @param lnode Node into which to add key from its right sibling or from the index node. 906 906 * 907 907 * @return True if the rotation was performed, false otherwise. -
generic/src/adt/hash_table.c
rb6529ae rabbc16e 78 78 * 79 79 * @param h Hash table. 80 * @param hey Array of all keys necessary to compute hash index.80 * @param key Array of all keys necessary to compute hash index. 81 81 * @param item Item to be inserted into the hash table. 82 82 */ -
generic/src/console/console.c
rb6529ae rabbc16e 118 118 * @param chardev Character device. 119 119 * @param buf Buffer where to store string terminated by '\0'. 120 * @param len Size of the buffer.120 * @param buflen Size of the buffer. 121 121 * 122 122 * @return Number of characters read. -
generic/src/console/kconsole.c
rb6529ae rabbc16e 404 404 /** Kernel console managing thread. 405 405 * 406 * @param arg Not used.406 * @param prompt Kernel console prompt (e.g kconsole/panic). 407 407 */ 408 408 void kconsole(void *prompt) -
generic/src/ddi/ddi.c
rb6529ae rabbc16e 169 169 /** Wrapper for SYS_ENABLE_IOSPACE syscall. 170 170 * 171 * @param User space address of DDI argument structure.171 * @param uspace_io_arg User space address of DDI argument structure. 172 172 * 173 173 * @return 0 on success, otherwise it returns error code found in errno.h -
generic/src/ipc/ipc.c
rb6529ae rabbc16e 210 210 /** Send a asynchronous request using phone to answerbox 211 211 * 212 * @param phone Phone connected to answerbox 213 * @param request Request to be sent212 * @param phone Phone connected to answerbox. 213 * @param call Structure representing the call. 214 214 */ 215 215 int ipc_call(phone_t *phone, call_t *call) -
generic/src/lib/func.c
rb6529ae rabbc16e 136 136 * 137 137 * @param src Source string. 138 * @param d st Destination buffer.138 * @param dest Destination buffer. 139 139 * @param len Size of destination buffer. 140 140 */ -
generic/src/mm/buddy.c
rb6529ae rabbc16e 287 287 * 288 288 * @param b Pointer to buddy system 289 * @param e sElement size289 * @param elem_size Element size 290 290 */ 291 291 void buddy_system_structure_print(buddy_system_t *b, size_t elem_size) { -
generic/src/mm/frame.c
rb6529ae rabbc16e 996 996 * If it drops to zero, move the frame structure to free list. 997 997 * 998 * @param frame Frame numberto be freed.998 * @param pfn Frame number of the frame to be freed. 999 999 */ 1000 1000 void frame_free(pfn_t pfn) … … 1022 1022 * increment frame reference count. 1023 1023 * 1024 * @param frame Frame noto be freed.1024 * @param pfn Frame number of the frame to be freed. 1025 1025 */ 1026 1026 void frame_reference_add(pfn_t pfn) … … 1113 1113 } 1114 1114 1115 /** Prints zone details 1116 * 1117 * @param base Zone base address OR zone number1115 /** Prints zone details. 1116 * 1117 * @param num Zone base address or zone number. 1118 1118 */ 1119 1119 void zone_print_one(int num) { -
generic/src/proc/scheduler.c
rb6529ae rabbc16e 254 254 * When the function decides to relink rq's, it reconnects 255 255 * respective pointers so that in result threads with 'pri' 256 * greater or equal @start are moved to a higher-priority queue.256 * greater or equal start are moved to a higher-priority queue. 257 257 * 258 258 * @param start Threshold priority. -
generic/src/syscall/copy.c
rb6529ae rabbc16e 95 95 * 96 96 * @param uspace_dst Destination userspace address. 97 * @param uspace_src Source kernel address.97 * @param src Source kernel address. 98 98 * @param size Size of the data to be copied. 99 99 *
Note:
See TracChangeset
for help on using the changeset viewer.