Subversion Repositories Kolibri OS

Rev

Rev 6 | Rev 41 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 ha 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                            ;;
3
;; KERNEL32.INC                                               ;;
4
;;                                                            ;;
5
;; Included 32 bit kernel files for MenuetOS                  ;;
6
;;                                                            ;;
7
;; This file is kept separate as it will be easier to         ;;
8
;; maintain and compile with an automated SETUP program       ;;
9
;; in the future.                                             ;;
10
;;                                                            ;;
11
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
12
 
13
; structure definition helper
14
macro struct name, [arg]
15
 {
16
  common
17
   name@struct fix name
18
   struc name arg {
19
 }
20
 
21
macro struct_helper name
22
 {
23
   virtual at 0
24
   name name
25
   sizeof.#name = $ - name
26
   name equ sizeof.#name
27
   end virtual
28
 }
29
 
30
ends fix } struct_helper name@struct
31
 
32
 
33
; Core functions
34
include "core/sync.inc"
35
include "core/sys32.inc"    ; process management
36
include "core/sched.inc"    ; process scheduling
37
include "core/syscall.inc"  ; system call
38
include "core/mem.inc"      ; high-level memory management
39
include "core/newproce.inc" ;new process management
40
include "core/physmem.inc"  ; access to physical memory for applications
41
include "core/sync.inc"     ; macros for synhronization objects
42
 
43
; GUI stuff
44
include "gui/window.inc"
45
include "gui/event.inc"
46
include "gui/font.inc"
47
include "gui/button.inc"
48
 
49
; shutdown
50
 
51
include "boot/shutdown.inc" ; shutdown or restart
52
 
53
; file system
54
 
55
include "fs/fs.inc"       ; syscall
56
include "fs/fat32.inc"    ; read / write for fat32 filesystem
57
include "fs/fat12.inc"    ; read / write for fat12 filesystem
58
include "blkdev/rd.inc"       ; ramdisk read /write
59
 
60
; sound
61
 
62
include "sound/sb16.inc"     ; playback for Sound Blaster 16
63
include "sound/playnote.inc" ; player Note for Speaker PC
64
 
65
; display
66
 
67
include "video/vesa12.inc"   ; Vesa 1.2 functions
68
include "video/vesa20.inc"   ; Vesa 2.0 functions
69
include "video/vga.inc"      ; VGA 16 color functions
70
 
71
; Network Interface & TCPIP Stack
72
 
73
include "network/stack.inc"
74
 
75
; Mouse pointer
76
 
77
include "gui/mouse.inc"
78
 
79
; Window skinning
80
 
81
include "gui/skincode.inc"
82
 
83
; Pci functions
84
 
85
include "bus/pci/pci32.inc"
86
 
87
; Floppy drive controller
88
 
89
include "blkdev/fdc.inc"
90
include "blkdev/flp_drv.inc"
91
 
92
; CD drive controller
93
 
94
include "blkdev/cdrom.inc"
95
 
96
; Character devices
97
 
98
include "hid/keyboard.inc"
33 mario79 99
include "hid/mousedrv.inc"
1 ha 100
 
101
; setting date,time,clock and alarm-clock
102
 
103
include "hid/set_dtc.inc"
104
 
105
;% -include