Subversion Repositories Kolibri OS

Rev

Rev 928 | Rev 1066 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;;                                                              ;;
  3. ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
  4. ;; Distributed under terms of the GNU General Public License    ;;
  5. ;;                                                              ;;
  6. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  7.  
  8. $Revision: 996 $
  9.  
  10.  
  11. dpl0    equ  10010000b      ; data read       dpl0
  12. drw0    equ  10010010b      ; data read/write dpl0
  13. drw1    equ  10110010b      ; data read/write dpl1
  14. drw3    equ  11110010b      ; data read/write dpl3
  15.  
  16. cpl0    equ  10011010b      ; code read dpl0
  17. cpl1    equ  10111010b      ; code read dpl1
  18. cpl3    equ  11111010b      ; code read dpl3
  19.  
  20. D32     equ  01000000b      ; 32bit segment
  21. G32     equ  10000000b      ; page gran
  22.  
  23.  
  24. ;;;;;;;;;;;;cpu_caps flags;;;;;;;;;;;;;;;;
  25.  
  26. CPU_386        equ     3
  27. CPU_486        equ     4
  28. CPU_PENTIUM    equ     5
  29. CPU_P6         equ     6
  30. CPU_PENTIUM4   equ  0x0F
  31.  
  32. CAPS_FPU       equ    00 ;on-chip x87 floating point unit
  33. CAPS_VME       equ    01 ;virtual-mode enhancements
  34. CAPS_DE        equ    02 ;debugging extensions
  35. CAPS_PSE       equ    03 ;page-size extensions
  36. CAPS_TSC       equ    04 ;time stamp counter
  37. CAPS_MSR       equ    05 ;model-specific registers
  38. CAPS_PAE       equ    06 ;physical-address extensions
  39. CAPS_MCE       equ    07 ;machine check exception
  40. CAPS_CX8       equ    08 ;CMPXCHG8B instruction
  41. CAPS_APIC      equ    09 ;on-chip advanced programmable
  42.                          ; interrupt controller
  43. ;                     10 ;unused
  44. CAPS_SEP       equ    11 ;SYSENTER and SYSEXIT instructions
  45. CAPS_MTRR      equ    12 ;memory-type range registers
  46. CAPS_PGE       equ    13 ;page global extension
  47. CAPS_MCA       equ    14 ;machine check architecture
  48. CAPS_CMOV      equ    15 ;conditional move instructions
  49. CAPS_PAT       equ    16 ;page attribute table
  50.  
  51. CAPS_PSE36     equ    17 ;page-size extensions
  52. CAPS_PSN       equ    18 ;processor serial number
  53. CAPS_CLFLUSH   equ    19 ;CLFUSH instruction
  54.  
  55. CAPS_DS        equ    21 ;debug store
  56. CAPS_ACPI      equ    22 ;thermal monitor and software
  57.                          ;controlled clock supported
  58. CAPS_MMX       equ    23 ;MMX instructions
  59. CAPS_FXSR      equ    24 ;FXSAVE and FXRSTOR instructions
  60. CAPS_SSE       equ    25 ;SSE instructions
  61. CAPS_SSE2      equ    26 ;SSE2 instructions
  62. CAPS_SS        equ    27 ;self-snoop
  63. CAPS_HTT       equ    28 ;hyper-threading technology
  64. CAPS_TM        equ    29 ;thermal monitor supported
  65. CAPS_IA64      equ    30 ;IA64 capabilities
  66. CAPS_PBE       equ    31 ;pending break enable
  67.  
  68. ;ecx
  69. CAPS_SSE3      equ    32 ;SSE3 instructions
  70. ;                     33
  71. ;                     34
  72. CAPS_MONITOR   equ    35 ;MONITOR/MWAIT instructions
  73. CAPS_DS_CPL    equ    36 ;
  74. CAPS_VMX       equ    37 ;virtual mode extensions
  75. ;                     38 ;
  76. CAPS_EST       equ    39 ;enhansed speed step
  77. CAPS_TM2       equ    40 ;thermal monitor2 supported
  78. ;                     41
  79. CAPS_CID       equ    42 ;
  80. ;                     43
  81. ;                     44
  82. CAPS_CX16      equ    45 ;CMPXCHG16B instruction
  83. CAPS_xTPR      equ    46 ;
  84. ;
  85. ;reserved
  86. ;
  87. ;ext edx /ecx
  88. CAPS_SYSCAL    equ    64 ;
  89. CAPS_XD        equ    65 ;execution disable
  90. CAPS_FFXSR     equ    66 ;
  91. CAPS_RDTSCP    equ    67 ;
  92. CAPS_X64       equ    68 ;
  93. CAPS_3DNOW     equ    69 ;
  94. CAPS_3DNOWEXT  equ    70 ;
  95. CAPS_LAHF      equ    71 ;
  96. CAPS_CMP_LEG   equ    72 ;
  97. CAPS_SVM       equ    73 ;secure virual machine
  98. CAPS_ALTMOVCR8 equ    74 ;
  99.  
  100. ; CPU MSR names
  101. MSR_SYSENTER_CS         equ     0x174
  102. MSR_SYSENTER_ESP        equ     0x175
  103. MSR_SYSENTER_EIP        equ     0x176
  104. MSR_AMD_EFER            equ     0xC0000080      ; Extended Feature Enable Register
  105. MSR_AMD_STAR            equ     0xC0000081      ; SYSCALL/SYSRET Target Address Register
  106.  
  107. CR0_PE         equ    0x00000001   ;protected mode
  108. CR0_MP         equ    0x00000002   ;monitor fpu
  109. CR0_EM         equ    0x00000004   ;fpu emulation
  110. CR0_TS         equ    0x00000008   ;task switch
  111. CR0_ET         equ    0x00000010   ;extension type hardcoded to 1
  112. CR0_NE         equ    0x00000020   ;numeric error
  113. CR0_WP         equ    0x00010000   ;write protect
  114. CR0_AM         equ    0x00040000   ;alignment check
  115. CR0_NW         equ    0x20000000   ;not write-through
  116. CR0_CD         equ    0x40000000   ;cache disable
  117. CR0_PG         equ    0x80000000   ;paging
  118.  
  119.  
  120. CR4_VME        equ    0x0001
  121. CR4_PVI        equ    0x0002
  122. CR4_TSD        equ    0x0004
  123. CR4_DE         equ    0x0008
  124. CR4_PSE        equ    0x0010
  125. CR4_PAE        equ    0x0020
  126. CR4_MCE        equ    0x0040
  127. CR4_PGE        equ    0x0080
  128. CR4_PCE        equ    0x0100
  129. CR4_OSFXSR     equ    0x0200
  130. CR4_OSXMMEXPT  equ    0x0400
  131.  
  132. SSE_IE         equ    0x0001
  133. SSE_DE         equ    0x0002
  134. SSE_ZE         equ    0x0004
  135. SSE_OE         equ    0x0008
  136. SSE_UE         equ    0x0010
  137. SSE_PE         equ    0x0020
  138. SSE_DAZ        equ    0x0040
  139. SSE_IM         equ    0x0080
  140. SSE_DM         equ    0x0100
  141. SSE_ZM         equ    0x0200
  142. SSE_OM         equ    0x0400
  143. SSE_UM         equ    0x0800
  144. SSE_PM         equ    0x1000
  145. SSE_FZ         equ    0x8000
  146.  
  147. SSE_INIT equ (SSE_IM+SSE_DM+SSE_ZM+SSE_OM+SSE_UM+SSE_PM)
  148.  
  149.  
  150. struc TSS
  151. {
  152.   ._back       rw 2
  153.   ._esp0       rd 1
  154.   ._ss0        rw 2
  155.   ._esp1       rd 1
  156.   ._ss1        rw 2
  157.   ._esp2       rd 1
  158.   ._ss2        rw 2
  159.   ._cr3        rd 1
  160.   ._eip        rd 1
  161.   ._eflags     rd 1
  162.   ._eax        rd 1
  163.   ._ecx        rd 1
  164.   ._edx        rd 1
  165.   ._ebx        rd 1
  166.   ._esp        rd 1
  167.   ._ebp        rd 1
  168.   ._esi        rd 1
  169.   ._edi        rd 1
  170.   ._es         rw 2
  171.   ._cs         rw 2
  172.   ._ss         rw 2
  173.   ._ds         rw 2
  174.   ._fs         rw 2
  175.   ._gs         rw 2
  176.   ._ldt        rw 2
  177.   ._trap       rw 1
  178.   ._io         rw 1
  179.                rb 24
  180.   ._io_map_0   rb 4096
  181.   ._io_map_1   rb 4096
  182. }
  183.  
  184. virtual at 0
  185.   TSS  TSS
  186. end virtual
  187.  
  188. TSS_SIZE  equ (128+8192)
  189.  
  190. HEAP_BASE           equ 0x80000000
  191.  
  192. HEAP_MIN_SIZE       equ 0x01000000
  193.  
  194. page_tabs           equ 0xDDC00000
  195. app_page_tabs       equ 0xDDC00000
  196.  
  197. heap_tabs           equ (page_tabs+ (HEAP_BASE shr 10))
  198. kernel_tabs         equ (page_tabs+ (OS_BASE shr 10))
  199. master_tab          equ (page_tabs+ (page_tabs shr 10))
  200.  
  201. LFB_BASE            equ 0xDE000000
  202. SHADOWFB            equ 0   ;0xDE800000
  203.  
  204. TEXT_BASE           equ 0xDFC00000
  205.  
  206. _16BIT_BASE         equ 0x00010000
  207. LOAD_BASE           equ 0x00100000
  208. OS_BASE             equ 0xE0000000
  209. IMAGE_BASE          equ (OS_BASE+LOAD_BASE)
  210.  
  211. BOOT_VAR            equ OS_BASE
  212.  
  213. SB16Buffer          equ (OS_BASE+0x10000)
  214.  
  215. TASK_COUNT          equ (CURRENT_TASK+0x04)
  216. TASK_BASE           equ (CURRENT_TASK+0x10)
  217. TASK_DATA           equ (CURRENT_TASK+0x20)
  218. TASK_EVENT          equ (CURRENT_TASK+0x20)
  219.  
  220. FDD_BUFF            equ (OS_BASE+0x000D000)
  221.  
  222. VGABasePtr          equ (OS_BASE+0x00A0000)
  223.  
  224. IRQ_SAVE            equ (OS_BASE+0x0190000)
  225.  
  226. stack_data_start    equ (OS_BASE+0x01A0000)
  227. eth_data_start      equ (OS_BASE+0x01A0000)
  228. stack_data          equ (OS_BASE+0x01A4000)
  229. stack_data_end      equ (OS_BASE+0x01Bffff)
  230. resendQ             equ (OS_BASE+0x01C0000)
  231.  
  232. virtual at              (OS_BASE+0x01C8F80)
  233.   tss  TSS
  234. end virtual
  235.  
  236. LAST_PAGE           equ 0x01CB000
  237.  
  238. twdw                equ (CURRENT_TASK-window_data)
  239.  
  240. RING0_STACK_SIZE    equ (0x2000 - 512)    ;512 áàéò äëÿ êîíòåêñòà FPU
  241.  
  242. REG_SS              equ (RING0_STACK_SIZE-4)
  243. REG_APP_ESP         equ (RING0_STACK_SIZE-8)
  244. REG_EFLAGS          equ (RING0_STACK_SIZE-12)
  245. REG_CS              equ (RING0_STACK_SIZE-16)
  246. REG_EIP             equ (RING0_STACK_SIZE-20)
  247. REG_EAX             equ (RING0_STACK_SIZE-24)
  248. REG_ECX             equ (RING0_STACK_SIZE-28)
  249. REG_EDX             equ (RING0_STACK_SIZE-32)
  250. REG_EBX             equ (RING0_STACK_SIZE-36)
  251. REG_ESP             equ (RING0_STACK_SIZE-40)  ;RING0_STACK_SIZE-20
  252. REG_EBP             equ (RING0_STACK_SIZE-44)
  253. REG_ESI             equ (RING0_STACK_SIZE-48)
  254. REG_EDI             equ (RING0_STACK_SIZE-52)
  255. REG_RET             equ (RING0_STACK_SIZE-56)  ;irq0.return
  256.  
  257. REG_USTACK          equ (RING0_STACK_SIZE-56)
  258. REG_CSTACK          equ (RING0_STACK_SIZE-60)
  259. REG_RAW             equ (RING0_STACK_SIZE-64)
  260. REG_RESTART         equ (RING0_STACK_SIZE-68)
  261. REG_ENTRY           equ (RING0_STACK_SIZE-72)
  262.  
  263. PG_UNMAP            equ 0x000
  264. PG_MAP              equ 0x001
  265. PG_WRITE            equ 0x002
  266. PG_SW               equ 0x003
  267. PG_USER             equ 0x005
  268. PG_UW               equ 0x007
  269. PG_NOCACHE          equ 0x018
  270. PG_LARGE            equ 0x080
  271. PG_GLOBAL           equ 0x100
  272.  
  273. PG_SHARED           equ 0x200
  274.  
  275. ;;;;;;;;;;;boot time variables
  276.  
  277. ;BOOT_BPP            equ 0x9000    ;byte   bits per pixel
  278. BOOT_SCANLINE       equ 0x9001    ;word   scanline length
  279. BOOT_VESA_MODE      equ 0x9008    ;word   vesa video mode
  280. ;;BOOT_X_RES          equ 0x900A    ;word   X res
  281. ;;BOOT_Y_RES          equ 0x900C    ;word   Y res
  282. BOOT_BANK_SW        equ 0x9014    ;dword  Vesa 1.2 pm bank switch
  283. BOOT_LFB            equ 0x9018    ;dword  Vesa 2.0 LFB address
  284. BOOT_MTRR           equ 0x901C    ;byte   0 or 1 : enable MTRR graphics acceleration
  285. BOOT_LOG            equ 0x901D    ;byte   not used anymore (0 or 1 : enable system log display)
  286. BOOT_DIRECT_LFB     equ 0x901E    ;byte   0 or 1 : enable direct lfb write, paging disabled
  287. BOOT_PCI_DATA       equ 0x9020    ;8bytes pci data
  288. BOOT_VRR            equ 0x9030    ;byte   VRR start enabled 1, 2-no
  289. BOOT_IDE_BASE_ADDR  equ 0x9031   ;word   IDEContrRegsBaseAddr
  290. BOOT_MEM_AMOUNT     equ 0x9034    ;dword  memory amount
  291.  
  292. TMP_FILE_NAME       equ     0
  293. TMP_CMD_LINE        equ  1024
  294. TMP_ICON_OFFS       equ  1280
  295.  
  296.  
  297. EVENT_REDRAW       equ 0x00000001
  298. EVENT_KEY          equ 0x00000002
  299. EVENT_BUTTON       equ 0x00000004
  300. EVENT_BACKGROUND   equ 0x00000010
  301. EVENT_MOUSE        equ 0x00000020
  302. EVENT_IPC          equ 0x00000040
  303. EVENT_NETWORK      equ 0x00000080
  304. EVENT_DEBUG        equ 0x00000100
  305. EVENT_EXTENDED     equ 0x00000200
  306.  
  307. EV_INTR            equ 1
  308.  
  309. struc THR_DATA
  310. {
  311.                   rb (8192-512)
  312.   .pl0_stack:
  313.   .fpu_state      rb 512
  314.   .tls_page       rb 4096
  315.   .pdbr           rb 4096
  316. }
  317.  
  318. THR_DATA_SIZE     equ 4096*4
  319.  
  320. virtual at (OS_BASE-THR_DATA_SIZE)
  321.   thr_data  THR_DATA
  322. end virtual
  323.  
  324. struc SYS_VARS
  325. { .bpp            dd ?
  326.   .scanline       dd ?
  327.   .vesa_mode      dd ?
  328.   .x_res          dd ?
  329.   .y_res          dd ?
  330. }
  331.  
  332. struc APPOBJ           ;common object header
  333. {
  334.    .magic       dd ?   ;
  335.    .destroy     dd ?   ;internal destructor
  336.    .fd          dd ?   ;next object in list
  337.    .bk          dd ?   ;prev object in list
  338.    .pid         dd ?   ;owner id
  339. };
  340.  
  341. virtual at 0
  342.   APPOBJ APPOBJ
  343. end virtual
  344.  
  345. APP_OBJ_OFFSET  equ 48
  346. APP_EV_OFFSET   equ 40
  347.  
  348. struc CURSOR
  349. {;common object header
  350.    .magic       dd ?   ;'CURS'
  351.    .destroy     dd ?   ;internal destructor
  352.    .fd          dd ?   ;next object in list
  353.    .bk          dd ?   ;prev object in list
  354.    .pid         dd ?   ;owner id
  355.  
  356.  ;cursor data
  357.    .base        dd ?   ;allocated memory
  358.    .hot_x       dd ?   ;hotspot coords
  359.    .hot_y       dd ?
  360. }
  361. virtual at 0
  362.   CURSOR CURSOR
  363. end virtual
  364.  
  365. CURSOR_SIZE     equ 32
  366.  
  367. struc EVENT
  368. {
  369.    .magic       dd ?   ;'EVNT'
  370.    .destroy     dd ?   ;internal destructor
  371.    .fd          dd ?   ;next object in list
  372.    .bk          dd ?   ;prev object in list
  373.    .pid         dd ?   ;owner id
  374.  
  375.    .id          dd ?   ;event uid
  376.    .state       dd ?   ;internal flags
  377.    .code        dd ?
  378.                 rd 5
  379. }
  380. EVENT_SIZE  equ 52
  381.  
  382. virtual at 0
  383.   EVENT EVENT
  384. end virtual
  385.  
  386.  
  387. struc HEAP_DATA
  388. {
  389.    .mutex         rd 1
  390.    .refcount      rd 1
  391.    .heap_base     rd 1
  392.    .heap_top      rd 1
  393.    .app_mem       rd 1
  394. }
  395.  
  396. HEAP_DATA_SIZE  equ 20
  397. virtual at 0
  398.   HEAP_DATA HEAP_DATA
  399. end virtual
  400.  
  401. struc BOOT_DATA
  402. { .bpp            dd ?
  403.   .scanline       dd ?
  404.   .vesa_mode      dd ?
  405.   .x_res          dd ?
  406.   .y_res          dd ?
  407.   .mouse_port     dd ?
  408.   .bank_switch    dd ?
  409.   .lfb            dd ?
  410.   .vesa_mem       dd ?
  411.   .log            dd ?
  412.   .direct_lfb     dd ?
  413.   .pci_data       dd ?
  414. ;                  dd ?
  415.   .vrr            dd ?
  416.   .ide_base       dd ?
  417.   .mem_amount     dd ?
  418.   .pages_count    dd ?
  419.   .pagemap_size   dd ?
  420.   .kernel_max     dd ?
  421.   .kernel_pages   dd ?
  422.   .kernel_tables  dd ?
  423.  
  424.   .cpu_vendor     dd ?
  425.                   dd ?
  426.                   dd ?
  427.   .cpu_sign       dd ?
  428.   .cpu_info       dd ?
  429.   .cpu_caps       dd ?
  430.                   dd ?
  431.                   dd ?
  432. }
  433.  
  434. virtual at 0
  435.   BOOT_DATA BOOT_DATA
  436. end virtual
  437.  
  438. struc MEM_STATE
  439. {  .mutex             rd 1
  440.    .smallmap          rd 1
  441.    .treemap           rd 1
  442.    .topsize           rd 1
  443.    .top               rd 1
  444.    .smallbins         rd 4*32
  445.    .treebins          rd 32
  446. }
  447.  
  448. struc PG_DATA
  449. { .mem_amount        dd ?
  450.   .vesa_mem          dd ?
  451.   .pages_faults      dd ?
  452.   .pagemap_size      dd ?
  453.   .kernel_pages      dd ?
  454.   .kernel_tables     dd ?
  455.   .sys_page_dir      dd ?
  456.   .pg_mutex          dd ?
  457. }
  458.  
  459. struc SRV
  460. { .srv_name          rb 16           ;ASCIIZ string
  461.   .magic             dd ?     ;+0x10 ;'SRV '
  462.   .size              dd ?     ;+0x14 ;size of structure SRV
  463.   .fd                dd ?     ;+0x18 ;next SRV descriptor
  464.   .bk                dd ?     ;+0x1C ;prev SRV descriptor
  465.   .base              dd ?     ;+0x20 ;service base address
  466.   .entry             dd ?     ;+0x24 ;service START function
  467.   .srv_proc          dd ?     ;+0x28 ;main service handler
  468. }
  469.  
  470. SRV_FD_OFFSET  equ 0x18
  471. SRV_SIZE       equ 44
  472.  
  473. DRV_ENTRY    equ  1
  474. DRV_EXIT     equ -1
  475.  
  476. struc COFF_HEADER
  477. {  .machine          dw ?
  478.    .nSections        dw ?
  479.    .DataTime         dd ?
  480.    .pSymTable        dd ?
  481.    .nSymbols         dd ?
  482.    .optHeader        dw ?
  483.    .flags            dw ?
  484. };
  485.  
  486.  
  487. struc COFF_SECTION
  488. {  .Name             rb 8
  489.    .VirtualSize      dd ?
  490.    .VirtualAddress   dd ?
  491.    .SizeOfRawData    dd ?
  492.    .PtrRawData       dd ?
  493.    .PtrReloc         dd ?
  494.    .PtrLinenumbers   dd ?
  495.    .NumReloc         dw ?
  496.    .NumLinenum       dw ?
  497.    .Characteristics  dd ?
  498. }
  499. COFF_SECTION_SIZE equ 40
  500.  
  501. struc COFF_RELOC
  502. {  .VirtualAddress   dd ?
  503.    .SymIndex         dd ?
  504.    .Type             dw ?
  505. }
  506.  
  507. struc COFF_SYM
  508. {  .Name             rb 8
  509.    .Value            dd ?
  510.    .SectionNumber    dw ?
  511.    .Type             dw ?
  512.    .StorageClass     db ?
  513.    .NumAuxSymbols    db ?
  514. }
  515. CSYM_SIZE equ 18
  516.  
  517. struc IOCTL
  518. {  .handle           dd ?
  519.    .io_code          dd ?
  520.    .input            dd ?
  521.    .inp_size         dd ?
  522.    .output           dd ?
  523.    .out_size         dd ?
  524. }
  525.  
  526. virtual at 0
  527.   IOCTL IOCTL
  528. end virtual
  529.  
  530. ;virtual at 0
  531. ;  LIB LIB
  532. ;end virtual
  533.  
  534. virtual at 0
  535.   SRV SRV
  536. end virtual
  537.  
  538. virtual at 0
  539.   CFH COFF_HEADER
  540. end virtual
  541.  
  542. virtual at 0
  543.   CFS COFF_SECTION
  544. end virtual
  545.  
  546. virtual at 0
  547.   CRELOC COFF_RELOC
  548. end virtual
  549.  
  550. virtual at 0
  551.   CSYM COFF_SYM
  552. end virtual
  553.  
  554. struc THR
  555. {
  556.   .edi            rd 1     ;   0x00
  557.   .esi            rd 1     ;   0x04
  558.   .ebp            rd 1     ;   0x08
  559.                   rd 1     ;   0x0C    ;esp
  560.   .ebx            rd 1     ;   0x10
  561.   .edx            rd 1     ;   0x14
  562.   .ecx            rd 1     ;   0x18
  563.   .eax            rd 1     ;   0x1C
  564.   .retaddr        rd 1     ;   0x20    ;èëè êîä îøèáêè
  565.   .eip            rd 1     ;   0x24
  566.   .cs             rd 1     ;   0x28
  567.   .eflags         rd 1     ;   0x2C
  568.   .esp            rd 1     ;   0x30
  569.   .ss             rd 1     ;   0x34
  570.  
  571.   .pl0_stack:
  572.  
  573.   .tid            rd 1     ;       ; number of this process (for fast access)
  574.   .slot           rd 1     ;       ; number of this process (for fast access)
  575.   .pdir           rd 1     ;       ;
  576.   .thr_flags      rd 1     ;       ; process is runnable only if zero
  577.   .ticks_left     rd 1     ;       ; number of scheduling ticks left
  578.   .quantum_size   rd 1     ;       ; quantum size in ticks
  579.   .user_time      rd 1     ;       ; user time in ticks
  580.   .sys_time       rd 1     ;       ; sys time in ticks
  581. }
  582.  
  583. virtual at 0
  584.   THR  THR
  585. end virtual
  586.  
  587.  
  588.