Subversion Repositories Kolibri OS

Rev

Rev 3393 | Rev 3481 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3393 Rev 3395
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 3393 $
8
$Revision: 3395 $
9
 
9
 
10
 
10
 
Line 577... Line 577...
577
        class           dd ?
577
        class           dd ?
578
        devfn           db ?
578
        devfn           db ?
579
        bus             db ?
579
        bus             db ?
580
ends
580
ends
Line -... Line 581...
-
 
581
 
-
 
582
; The following macro assume that we are on uniprocessor machine.
-
 
583
; Serious work is needed for multiprocessor machines.
-
 
584
macro spin_lock_irqsave spinlock
-
 
585
{
-
 
586
        pushf
-
 
587
        cli
-
 
588
}
-
 
589
macro spin_unlock_irqrestore spinlock
-
 
590
{
-
 
591
        popf
-
 
592
}
-
 
593
macro spin_lock_irq spinlock
-
 
594
{
-
 
595
        cli
-
 
596
}
-
 
597
macro spin_unlock_irq spinlock
-
 
598
{
-
 
599
        sti
-
 
600
}
581
 
601
 
582
struct  MEM_STATE
602
struct  MEM_STATE
583
        mutex           MUTEX
603
        mutex           MUTEX
584
        smallmap        dd ?
604
        smallmap        dd ?
585
        treemap         dd ?
605
        treemap         dd ?